Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- README.md +1 -15
- requirements.txt +0 -1
README.md
CHANGED
|
@@ -4,24 +4,10 @@ emoji: 🌍
|
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: green
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version: 4.44.1
|
| 8 |
python_version: 3.10
|
| 9 |
app_file: app.py
|
| 10 |
pinned: true
|
| 11 |
-
license: mit
|
| 12 |
-
short_description: Professional Human-Aligned Twi-to-English Translator
|
| 13 |
---
|
| 14 |
|
| 15 |
# NLLB-Twi Translator
|
| 16 |
-
|
| 17 |
-
This Space hosts the Phase 2 Human-Aligned version of the Twi-English translation model.
|
| 18 |
-
|
| 19 |
-
## Research Methodology
|
| 20 |
-
This model was developed using a two-stage QLoRA fine-tuning process:
|
| 21 |
-
1. **Phase 1 (Synthetic)**: 192,000 parallel sentences.
|
| 22 |
-
2. **Phase 2 (Human)**: 4,331 human-verified parallel sentences.
|
| 23 |
-
|
| 24 |
-
Final BLEU Score: **41.99**
|
| 25 |
-
|
| 26 |
-
## How to use
|
| 27 |
-
Type Twi text into the input box and click "Translate". Use the on-screen buttons for Twi-specific characters (ɛ and ɔ).
|
|
|
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: green
|
| 6 |
sdk: gradio
|
|
|
|
| 7 |
python_version: 3.10
|
| 8 |
app_file: app.py
|
| 9 |
pinned: true
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
# NLLB-Twi Translator
|
| 13 |
+
Final Human-Aligned Research Model (41.99 BLEU).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
requirements.txt
CHANGED
|
@@ -2,7 +2,6 @@ torch
|
|
| 2 |
transformers
|
| 3 |
peft
|
| 4 |
gradio
|
| 5 |
-
bitsandbytes
|
| 6 |
scipy
|
| 7 |
safetensors
|
| 8 |
sentencepiece
|
|
|
|
| 2 |
transformers
|
| 3 |
peft
|
| 4 |
gradio
|
|
|
|
| 5 |
scipy
|
| 6 |
safetensors
|
| 7 |
sentencepiece
|