Instructions to use nmsofficial/NedoTranslator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nmsofficial/NedoTranslator 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="nmsofficial/NedoTranslator")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("nmsofficial/NedoTranslator") model = AutoModelForSeq2SeqLM.from_pretrained("nmsofficial/NedoTranslator", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
- tr
|
| 5 |
+
license: cc-by-4.0
|
| 6 |
+
library_name: transformers
|
| 7 |
+
pipeline_tag: translation
|
| 8 |
+
tags:
|
| 9 |
+
- translation
|
| 10 |
+
- marian
|
| 11 |
+
- english
|
| 12 |
+
- turkish
|
| 13 |
+
base_model: Helsinki-NLP/opus-mt-tc-big-en-tr
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# NedoTranslator
|
| 17 |
+
|
| 18 |
+
NedoTranslator is an English-to-Turkish machine translation model fine-tuned from
|
| 19 |
+
Helsinki-NLP/opus-mt-tc-big-en-tr at base revision
|
| 20 |
+
e539fc16a8a1a0ea5950eb339b595bfcce990e90.
|
| 21 |
+
|
| 22 |
+
## Model details
|
| 23 |
+
|
| 24 |
+
- Task: English to Turkish machine translation
|
| 25 |
+
- Architecture: MarianMT
|
| 26 |
+
- Parameters: 236,883,968
|
| 27 |
+
- Checkpoint dtype: float32
|
| 28 |
+
- Recommended decoding for benchmark parity: beam search with num_beams=4
|
| 29 |
+
- License: CC BY 4.0, following the base model license
|
| 30 |
+
|
| 31 |
+
## Usage
|
| 32 |
+
|
| 33 |
+
~~~python
|
| 34 |
+
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
|
| 35 |
+
|
| 36 |
+
model_id = "nmsofficial/NedoTranslator"
|
| 37 |
+
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
| 38 |
+
model = AutoModelForSeq2SeqLM.from_pretrained(model_id)
|
| 39 |
+
|
| 40 |
+
text = "Artificial intelligence is changing the way software is built."
|
| 41 |
+
inputs = tokenizer(text, return_tensors="pt", truncation=True, max_length=512)
|
| 42 |
+
outputs = model.generate(**inputs, num_beams=4, max_new_tokens=256)
|
| 43 |
+
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
| 44 |
+
~~~
|
| 45 |
+
|
| 46 |
+
## Provenance
|
| 47 |
+
|
| 48 |
+
This Hub release corresponds to the local NedoTranslator production v1 checkpoint
|
| 49 |
+
used in the September 2026 EN-to-TR benchmark runs. The uploaded bundle contains only
|
| 50 |
+
the standard Transformers inference assets and excludes cluster-specific paths,
|
| 51 |
+
training manifests, and local benchmark artifacts.
|
| 52 |
+
|
| 53 |
+
Model weights SHA-256:
|
| 54 |
+
0344f97adf437f4aaa5cd63da05d4fa5a59bbab483c25165d37fecf7e799a5f5
|
| 55 |
+
|
| 56 |
+
## Attribution
|
| 57 |
+
|
| 58 |
+
Base model: Helsinki-NLP, opus-mt-tc-big-en-tr.
|
| 59 |
+
Please retain attribution and follow the CC BY 4.0 license terms when redistributing
|
| 60 |
+
or adapting this model.
|