Translation
Transformers
Safetensors
French
marian
text2text-generation
cameroon
low-resource
french-pivot
Instructions to use flagship-ai/pinyin-francais with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use flagship-ai/pinyin-francais 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="flagship-ai/pinyin-francais")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("flagship-ai/pinyin-francais") model = AutoModelForSeq2SeqLM.from_pretrained("flagship-ai/pinyin-francais", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from flagship-ai/pinyin-francais: direct link, hf CLI and curl.
- Browser
- Download file 299 MB
-
https://huggingface.co/flagship-ai/pinyin-francais/resolve/main/model.safetensors
- Command line
-
hf download hf://flagship-ai/pinyin-francais/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/flagship-ai/pinyin-francais/resolve/main/model.safetensors
299 MB
- Xet hash:
- 397097b55a52a0f30d279577d835ecf8c380615014a21e9a85a55816f4636158
- Size of remote file:
- 299 MB
- SHA256:
- 28bf7ac87972e3c624cb958a72f4c8ee74570514c6ae3b466fa6d8733d4f5216
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.