Downloads · 30 days
1.7K
15% of all-time downloads
megalaa/english-coptic-translator
english-coptic-translator is a translation model from megalaa. Use it when you need text moved from one language to another. It is set up for transformers. The card lists the license as agpl-3.0.
By default, this models translates from English to Sahidic Coptic.
Downloads · 30 days
1.7K
15% of all-time downloads
All-time downloads
11.1K
Public
Parameters
77M
308 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors308 MB · 99%
From the Hugging Face model README
from transformers import pipeline
pipe = pipeline(model="megalaa/english-coptic-translator", trust_remote_code=True)
output = pipe("Jesus Christ")
print(output)
# {'translation': 'ⲓⲏⲥⲟⲩⲥ ⲡⲉⲭⲣⲓⲥⲧⲟⲥ.'}
By default, this models translates from English to Sahidic Coptic.
Use to_bohairic=True if you are translating from English to Bohairic Coptic.
Additionally, use output_confidence=True if you want to output the model confidence.
from transformers import pipeline
pipe = pipeline(model="megalaa/english-coptic-translator", trust_remote_code=True)
output = pipe("Jesus Christ", to_bohairic=True, output_confidence=True)
print(output)
# {'translation': 'ⲓⲏⲥⲟⲩⲥ ⲡⲓⲭⲣⲓⲥⲧⲟⲥ', 'confidence': 0.9277395772214944}