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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

optimum
/
m2m100_418M

Transformers
ONNX
m2m_100
text2text-generation
Model card Files Files and versions
xet
Community
1

Instructions to use optimum/m2m100_418M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use optimum/m2m100_418M with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("optimum/m2m100_418M")
    model = AutoModelForSeq2SeqLM.from_pretrained("optimum/m2m100_418M")
  • Notebooks
  • Google Colab
  • Kaggle
m2m100_418M
4.76 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 5 commits
Jingya's picture
Jingya HF Staff
update the readme
2d3dd17 over 2 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • README.md
    4.77 kB
    update the readme over 2 years ago
  • added_tokens.json
    2.01 kB
    update the checkpoint with optimum 1.14 over 2 years ago
  • config.json
    903 Bytes
    update the checkpoint with optimum 1.14 over 2 years ago
  • decoder_model.onnx
    1.86 GB
    xet
    update the checkpoint with optimum 1.14 over 2 years ago
  • decoder_with_past_model.onnx
    1.76 GB
    xet
    update the checkpoint with optimum 1.14 over 2 years ago
  • encoder_model.onnx
    1.13 GB
    xet
    update the checkpoint with optimum 1.14 over 2 years ago
  • generation_config.json
    228 Bytes
    update the checkpoint with optimum 1.14 over 2 years ago
  • sentencepiece.bpe.model
    2.42 MB
    xet
    Upload ONNX models over 3 years ago
  • special_tokens_map.json
    2.13 kB
    update the checkpoint with optimum 1.14 over 2 years ago
  • tokenizer_config.json
    19.8 kB
    update the checkpoint with optimum 1.14 over 2 years ago
  • vocab.json
    3.71 MB
    Upload ONNX models over 3 years ago