Translation
Transformers
Safetensors
English
Azerbaijani
m2m_100
text2text-generation
azerbaijani
nllb
english-azerbaijani
Instructions to use LocalDoc/nllb-3.3b-en-az with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LocalDoc/nllb-3.3b-en-az 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="LocalDoc/nllb-3.3b-en-az")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("LocalDoc/nllb-3.3b-en-az") model = AutoModelForSeq2SeqLM.from_pretrained("LocalDoc/nllb-3.3b-en-az", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download sentencepiece.bpe.model from LocalDoc/nllb-3.3b-en-az: direct link, hf CLI and curl.
- Browser
- Download file 4.85 MB
-
https://huggingface.co/LocalDoc/nllb-3.3b-en-az/resolve/main/sentencepiece.bpe.model
- Command line
-
hf download hf://LocalDoc/nllb-3.3b-en-az/sentencepiece.bpe.model
-
curl -L -o sentencepiece.bpe.model https://huggingface.co/LocalDoc/nllb-3.3b-en-az/resolve/main/sentencepiece.bpe.model
4.85 MB
- Xet hash:
- ba1f4fc965f3a3349994f82c4c97c91eee1ed70dd91befd488ef98b314c57909
- Size of remote file:
- 4.85 MB
- SHA256:
- 14bb8dfb35c0ffdea7bc01e56cea38b9e3d5efcdcb9c251d6b40538e1aab555a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.