Downloads · 30 days
19
17% of all-time downloads
TartarusXXX/en-ckb-marian-transformers
en-ckb-marian-transformers is a translation model from TartarusXXX. Use it when you need text moved from one language to another. It is set up for transformers.
This repository contains a Marian NMT model for English (en) - Sorani Kurdish (ckb) trained from the local en-ckb directory of the OPUS-MT training workspace.
Downloads · 30 days
19
17% of all-time downloads
All-time downloads
113
Public
Parameters
51.9M
208 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors208 MB · 100%
From the Hugging Face model README
This repository contains a Marian NMT model for English (en) -> Sorani Kurdish (ckb) trained from the local en-ckb directory of the OPUS-MT training workspace.
en -> ckbspm4k-spm4kbest-chrfInterdialectCorpus Tatoeba wikimedia tico-19 navinaananthan_kurdish_sorani_parallel_corpusopenlanguagedata_flores_plusopenlanguagedata_flores_plusconfig.json: Hugging Face Transformers model configgeneration_config.json: default generation settingsmodel.safetensors: converted Marian weightssource.spm: source SentencePiece modeltarget.spm: target SentencePiece modelvocab.json: shared Marian vocabularytokenizer_config.json: tokenizer metadataspecial_tokens_map.json: tokenizer special token mappingThis repository uses the standard Transformers Marian layout, so you can load it directly:
from transformers import MarianMTModel, MarianTokenizer
tokenizer = MarianTokenizer.from_pretrained("your-user/en-ckb-marian")
model = MarianMTModel.from_pretrained("your-user/en-ckb-marian")
inputs = tokenizer("Hello world", return_tensors="pt")
generated = model.generate(**inputs)
print(tokenizer.decode(generated[0], skip_special_tokens=True))
MarianMTModel format.