offiongbassey commited on
Commit
3958b6e
·
verified ·
1 Parent(s): 6a756d3

Initial Commit.

Browse files
Files changed (1) hide show
  1. README.md +64 -3
README.md CHANGED
@@ -1,3 +1,64 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ metrics:
4
+ - bleu
5
+ base_model:
6
+ - facebook/nllb-200-distilled-600M
7
+ pipeline_tag: translation
8
+ tags:
9
+ - Efik
10
+ - English
11
+ - Translation
12
+ - Africa
13
+ ---
14
+ # Efik ↔ English Translation Model
15
+
16
+ This model provides **machine translation between English (eng_Latn) and Efik (efik_Latn)**. It was fine-tuned on **18k+ parallel sentences** using the **NLLB architecture** and can be used for both direct translation and integration into multilingual NLP pipelines.
17
+
18
+ ### Uses
19
+
20
+ - Translate text between English and Efik
21
+ - Assist in educational or localization projects involving Efik
22
+ - Support research in low-resource language NLP
23
+
24
+ ### Limitations
25
+
26
+ - Performance may decrease for **long, complex, or domain-specific text**
27
+ - Model trained on general domain data, may need additional fine-tuning for specialized applications
28
+
29
+ ### How to Get Started
30
+
31
+ ```python
32
+ from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
33
+
34
+ tokenizer = AutoTokenizer.from_pretrained("offiongbassey/efik-mt")
35
+ model = AutoModelForSeq2SeqLM.from_pretrained("offiongbassey/efik-mt")
36
+
37
+ # English → Efik
38
+ text = "Jesus is God."
39
+ inputs = tokenizer(f"eng_Latn {text}", return_tensors="pt")
40
+ outputs = model.generate(**inputs, max_length=128)
41
+ print(tokenizer.decode(outputs[0], skip_special_tokens=True))
42
+
43
+ # Efik → English
44
+ text = "Ka ke tietie."
45
+ inputs = tokenizer(f"ibo_Latn {text}", return_tensors="pt")
46
+ outputs = model.generate(**inputs, max_length=128)
47
+ print(tokenizer.decode(outputs[0], skip_special_tokens=True))
48
+ ```
49
+
50
+ ### Training Details
51
+
52
+ - Architecture: NLLB
53
+ - Epochs trained: 3
54
+ - BLEU Scores:
55
+ - EN → EF: 27.69
56
+ - EF → EN: 30.95
57
+
58
+ ### Citation
59
+ @misc{offiongbassey2025efikmt,
60
+ title={Efik ↔ English Translation Model},
61
+ author={Offiong Bassey},
62
+ year={2025},
63
+ url={https://huggingface.co/offiongbassey/efik-mt}
64
+ }