Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Duplicated from  facebook/nllb-200-distilled-600M

Narsil
/
nllb

Translation
Transformers
PyTorch
m2m_100
text2text-generation
nllb
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use Narsil/nllb 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="Narsil/nllb")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Narsil/nllb")
    model = AutoModelForSeq2SeqLM.from_pretrained("Narsil/nllb")
  • Notebooks
  • Google Colab
  • Kaggle
nllb
Ctrl+K
Ctrl+K
  • 2 contributors
History: 6 commits
Narsil's picture
Narsil
Update config.json
cfbb569 about 3 years ago
  • .gitattributes
    1.28 kB
    Duplicate from facebook/nllb-200-distilled-600M about 3 years ago
  • README.md
    7.84 kB
    Update README.md about 3 years ago
  • config.json
    846 Bytes
    Update config.json about 3 years ago
  • generation_config.json
    189 Bytes
    Duplicate from facebook/nllb-200-distilled-600M about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    2.46 GB
    xet
    Duplicate from facebook/nllb-200-distilled-600M about 3 years ago
  • sentencepiece.bpe.model
    4.85 MB
    xet
    Duplicate from facebook/nllb-200-distilled-600M about 3 years ago
  • special_tokens_map.json
    3.55 kB
    Duplicate from facebook/nllb-200-distilled-600M about 3 years ago
  • tokenizer.json
    17.3 MB
    xet
    Duplicate from facebook/nllb-200-distilled-600M about 3 years ago
  • tokenizer_config.json
    564 Bytes
    Duplicate from facebook/nllb-200-distilled-600M about 3 years ago