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

lgrobol
/
m2m100_418M_br_fr

Translation
Transformers
PyTorch
Safetensors
Breton
French
m2m_100
text2text-generation
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use lgrobol/m2m100_418M_br_fr 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="lgrobol/m2m100_418M_br_fr")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("lgrobol/m2m100_418M_br_fr")
    model = AutoModelForSeq2SeqLM.from_pretrained("lgrobol/m2m100_418M_br_fr", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
m2m100_418M_br_fr
3.89 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 19 commits
lgrobol's picture
lgrobol
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
f4b23bd verified over 1 year ago
  • .gitattributes
    1.43 kB
    initial commit almost 4 years ago
  • README.md
    6.15 kB
    Update README.md over 2 years ago
  • added_tokens.json
    23 Bytes
    try to fix loading over 3 years ago
  • config.json
    931 Bytes
    new version, now with more data over 3 years ago
  • dl_opus.yaml
    5.54 kB
    Upload dl_opus.yaml almost 4 years ago
  • extract_sents.py
    1.49 kB
    update to new dataset version almost 4 years ago
  • generation_config.json
    228 Bytes
    doc updates over 3 years ago
  • model.safetensors
    1.94 GB
    xet
    Adding `safetensors` variant of this model (#1) over 1 year ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    1.94 GB
    xet
    new version, now with more data over 3 years ago
  • sentencepiece.bpe.model
    2.42 MB
    xet
    initial almost 4 years ago
  • special_tokens_map.json
    1.59 kB
    new version, now with more data over 3 years ago
  • tokenizer_config.json
    1.89 kB
    initial almost 4 years ago
  • train_config.toml
    347 Bytes
    doc updates over 3 years ago
  • vocab.json
    3.71 MB
    initial almost 4 years ago