Downloads · 30 days
24
1% of all-time downloads
Normal1919/Marian-NMT-en-zh-lil-fine-tune
Marian-NMT-en-zh-lil-fine-tune is a translation model from Normal1919. Use it when you need text moved from one language to another. It is set up for transformers. The card lists the license as apache-2.0.
base model: MarianMTModel pretrainedckpt: Helsinki-NLP/opus-mt-en-zh This model was trained for rpy dl translate
Downloads · 30 days
24
1% of all-time downloads
All-time downloads
1.7K
Public
Parameters
77.5M
620 MB on disk
Likes
6
Public
Click a slice to open those files.
.bin310 MB · 50%
From the Hugging Face model README
>>> from transformers import AutoModelWithLMHead,AutoTokenizer,pipeline
>>> mode_name = 'Normal1919/Marian-NMT-en-zh-lil-fine-tune'
>>> model = AutoModelWithLMHead.from_pretrained(mode_name)
>>> tokenizer = AutoTokenizer.from_pretrained(mode_name)
>>> translation = pipeline("Marian-NMT-en-zh-lil-fine-tune", model=model, tokenizer=tokenizer)
>>> translation('I {i} should {/i} say that I feel a little relieved to find out that {i}this {/i} is why you’ve been hanging out with Kaori lately, though. She’s really pretty and I got jealous and...I’m sorry', max_length=400)
[{'我{i}应该{/i}说发现{i}这{/i}是你最近和Kaori出去的原因,我有点松了一口气。她很漂亮,我嫉妒,而且......我很抱歉。'}]