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

acul3
/
mt5-translate-en-id

Translation
Transformers
PyTorch
Indonesian
t5
text2text-generation
text-generation-inference
Model card Files Files and versions
xet
Community
1

Instructions to use acul3/mt5-translate-en-id with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use acul3/mt5-translate-en-id 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="acul3/mt5-translate-en-id")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("acul3/mt5-translate-en-id")
    model = AutoModelForSeq2SeqLM.from_pretrained("acul3/mt5-translate-en-id")
  • Notebooks
  • Google Colab
  • Kaggle
mt5-translate-en-id
Ctrl+K
Ctrl+K
  • 2 contributors
History: 6 commits
acul3's picture
acul3
Update README.md
2b56f07 over 5 years ago
  • .gitattributes
    345 Bytes
    initial commit over 5 years ago
  • README.md
    344 Bytes
    Update README.md over 5 years ago
  • config.json
    701 Bytes
    init model over 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    4.92 GB
    xet
    init model over 5 years ago
  • special_tokens_map.json
    65 Bytes
    init model over 5 years ago
  • spiece.model
    4.31 MB
    init model over 5 years ago
  • tokenizer_config.json
    376 Bytes
    init model over 5 years ago