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

kazandaev
/
m2m100_1.2B

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

Instructions to use kazandaev/m2m100_1.2B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use kazandaev/m2m100_1.2B 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="kazandaev/m2m100_1.2B")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("kazandaev/m2m100_1.2B")
    model = AutoModelForSeq2SeqLM.from_pretrained("kazandaev/m2m100_1.2B")
  • Notebooks
  • Google Colab
  • Kaggle
m2m100_1.2B
Ctrl+K
Ctrl+K
  • 2 contributors
History: 7 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
f2b9169 over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    1.75 kB
    Training complete over 2 years ago
  • config.json
    931 Bytes
    Training in progress, epoch 0 over 2 years ago
  • generation_config.json
    198 Bytes
    Training complete over 2 years ago
  • model.safetensors
    4.96 GB
    xet
    Adding `safetensors` variant of this model over 2 years ago
  • pytorch_model.bin
    4.96 GB
    xet
    Training in progress, epoch 0 over 2 years ago
  • sentencepiece.bpe.model
    2.42 MB
    xet
    Training in progress, epoch 0 over 2 years ago
  • special_tokens_map.json
    1.56 kB
    Training in progress, epoch 0 over 2 years ago
  • tokenizer_config.json
    19.6 kB
    Training in progress, epoch 0 over 2 years ago
  • training_args.bin

    Detected Pickle imports (8)

    • "accelerate.state.PartialState",
    • "torch.device",
    • "transformers.trainer_utils.SchedulerType",
    • "transformers.training_args_seq2seq.Seq2SeqTrainingArguments",
    • "transformers.training_args.OptimizerNames",
    • "transformers.trainer_utils.IntervalStrategy",
    • "accelerate.utils.dataclasses.DistributedType",
    • "transformers.trainer_utils.HubStrategy"

    How to fix it?

    4.28 kB
    xet
    Training in progress, epoch 0 over 2 years ago
  • vocab.json
    3.71 MB
    Training in progress, epoch 0 over 2 years ago