Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

VietAI
/
envit5-translation

Translation
Transformers
PyTorch
google-tensorflow TensorFlow
JAX
Vietnamese
English
t5
text2text-generation
text-generation-inference
Model card Files Files and versions
xet
Community
1

Instructions to use VietAI/envit5-translation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use VietAI/envit5-translation 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="VietAI/envit5-translation")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("VietAI/envit5-translation")
    model = AutoModelForSeq2SeqLM.from_pretrained("VietAI/envit5-translation")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
envit5-translation
Ctrl+K
Ctrl+K
  • 3 contributors
History: 17 commits
razent's picture
razent
Update README.md
840bc88 over 3 years ago
  • .gitattributes
    1.38 kB
    initial commit over 3 years ago
  • README.md
    3.68 kB
    Update README.md over 3 years ago
  • config.json
    721 Bytes
    Add model over 3 years ago
  • flax_model.msgpack
    1.1 GB
    xet
    Add flax model over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch.FloatStorage",
    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    1.1 GB
    xet
    Add model over 3 years ago
  • special_tokens_map.json
    1.11 kB
    Add model over 3 years ago
  • spiece.model
    1.1 MB
    xet
    Add model over 3 years ago
  • tf_model.h5
    1.1 GB
    xet
    Add model over 3 years ago
  • tokenizer.json
    3.49 MB
    Add model over 3 years ago
  • tokenizer_config.json
    1.19 kB
    Add model over 3 years ago