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

NDugar
/
m2m100_418M-fr

Translation
Transformers
PyTorch
Safetensors
m2m_100
text2text-generation
Generated from Trainer
Eval Results (legacy)
Model card Files Files and versions
xet
Community
3

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

  • Libraries
  • Transformers

    How to use NDugar/m2m100_418M-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="NDugar/m2m100_418M-fr")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("NDugar/m2m100_418M-fr")
    model = AutoModelForSeq2SeqLM.from_pretrained("NDugar/m2m100_418M-fr")
  • Notebooks
  • Google Colab
  • Kaggle
m2m100_418M-fr
Ctrl+K
Ctrl+K
  • 3 contributors
History: 5 commits
NDugar's picture
NDugar
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
1544cf6 over 2 years ago
  • .gitattributes
    1.23 kB
    Adding `safetensors` variant of this model (#1) over 2 years ago
  • .gitignore
    13 Bytes
    Training in progress, epoch 1 over 4 years ago
  • README.md
    1.65 kB
    Librarian Bot: Add base_model information to model (#2) over 2 years ago
  • config.json
    936 Bytes
    Training in progress, epoch 1 over 4 years ago
  • model.safetensors
    1.94 GB
    xet
    Adding `safetensors` variant of this model (#1) over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    1.94 GB
    xet
    Training in progress, epoch 1 over 4 years ago
  • sentencepiece.bpe.model
    2.42 MB
    xet
    Training in progress, epoch 1 over 4 years ago
  • special_tokens_map.json
    1.14 kB
    Training in progress, epoch 1 over 4 years ago
  • tokenizer_config.json
    1.45 kB
    Training in progress, epoch 1 over 4 years ago
  • training_args.bin

    Detected Pickle imports (5)

    • "transformers.trainer_utils.HubStrategy",
    • "transformers.trainer_utils.IntervalStrategy",
    • "torch.device",
    • "transformers.training_args_seq2seq.Seq2SeqTrainingArguments",
    • "transformers.trainer_utils.SchedulerType"

    How to fix it?

    2.93 kB
    xet
    Training in progress, epoch 1 over 4 years ago
  • vocab.json
    3.71 MB
    Training in progress, epoch 1 over 4 years ago