Translation
Transformers
ONNX
Safetensors
English
Turkish
dilmac
feature-extraction
machine-translation
english
turkish
en-tr
small-model
custom_code
Eval Results (legacy)
Instructions to use edededdy/dilmac-en-tr-28m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use edededdy/dilmac-en-tr-28m 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="edededdy/dilmac-en-tr-28m", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("edededdy/dilmac-en-tr-28m", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from edededdy/dilmac-en-tr-28m: direct link, hf CLI and curl.
- Browser
- Download file 243 Bytes
-
https://huggingface.co/edededdy/dilmac-en-tr-28m/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://edededdy/dilmac-en-tr-28m/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/edededdy/dilmac-en-tr-28m/resolve/main/tokenizer_config.json
243 Bytes
| { | |
| "backend": "tokenizers", | |
| "bos_token": "<s>", | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "</s>", | |
| "model_max_length": 512, | |
| "pad_token": "<pad>", | |
| "sep_token": "<sep>", | |
| "tokenizer_class": "TokenizersBackend" | |
| } | |