Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Dich-Thuat-AI-Nhom-05
/
en-vi-translator

Translation
Transformers
Safetensors
English
Vietnamese
marian
text2text-generation
en-vi
Model card Files Files and versions
xet
Community

Instructions to use Dich-Thuat-AI-Nhom-05/en-vi-translator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Dich-Thuat-AI-Nhom-05/en-vi-translator with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "translation" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # 'pip install "transformers<5.0.0'
    from transformers import pipeline
    
    pipe = pipeline("translation", model="Dich-Thuat-AI-Nhom-05/en-vi-translator")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Dich-Thuat-AI-Nhom-05/en-vi-translator")
    model = AutoModelForSeq2SeqLM.from_pretrained("Dich-Thuat-AI-Nhom-05/en-vi-translator", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
en-vi-translator
290 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
quynhanh2610's picture
quynhanh2610
Update README.md
0d00c81 verified 3 months ago
  • .gitattributes
    1.61 kB
    Upload tokenizer 4 months ago
  • README.md
    5.25 kB
    Update README.md 3 months ago
  • config.json
    1.3 kB
    Upload model 3 months ago
  • generation_config.json
    287 Bytes
    Upload model 3 months ago
  • model.safetensors
    287 MB
    xet
    Upload model 3 months ago
  • source.spm
    809 kB
    xet
    Upload tokenizer 4 months ago
  • target.spm
    756 kB
    xet
    Upload tokenizer 4 months ago
  • tokenizer_config.json
    850 Bytes
    Upload tokenizer 3 months ago
  • vocab.json
    1.3 MB
    Upload tokenizer 4 months ago