Instructions to use gyr66/machine_translation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gyr66/machine_translation 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="gyr66/machine_translation")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("gyr66/machine_translation") model = AutoModel.from_pretrained("gyr66/machine_translation", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from gyr66/machine_translation: direct link, hf CLI and curl.
- Browser
- Download file 17.1 MB
-
https://huggingface.co/gyr66/machine_translation/resolve/main/tokenizer.json
- Command line
-
hf download hf://gyr66/machine_translation/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/gyr66/machine_translation/resolve/main/tokenizer.json
17.1 MB
- Xet hash:
- 074f6565a65a971e7ae75fe517ac50f7515811ef6c2de187e62df0623d886119
- Size of remote file:
- 17.1 MB
- SHA256:
- e556923456c6876117e50842abb757766d4c79141243c71b48bdd6864ad89350
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.