Downloads · 30 days
873
7% of all-time downloads
megalaa/coptic-english-translator
coptic-english-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 Sahidic Coptic to English.
Downloads · 30 days
873
7% of all-time downloads
All-time downloads
13.3K
Public
Parameters
77.1M
308 MB on disk
Likes
0
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/coptic-english-translator", trust_remote_code=True)
output = pipe("ⲓⲏⲥⲟⲩⲥ ⲡⲉⲭⲣⲓⲥⲧⲟⲥ")
print(output)
# {'translation': 'Jesus Christ,'}
By default, this models translates from Sahidic Coptic to English.
Use from_bohairic=True if you are translating from Bohairic Coptic to English.
Additionally, use output_confidence=True if you want to output the model confidence.
from transformers import pipeline
pipe = pipeline(model="megalaa/coptic-english-translator", trust_remote_code=True)
output = pipe("ⲓⲏⲥ ⲡⲭⲥ", from_bohairic=True, output_confidence=True)
print(output)
# {'translation': 'Jesus Christ.', 'confidence': 0.7219238269534208}