Update README.md
Browse files
README.md
CHANGED
|
@@ -15,12 +15,13 @@ language:
|
|
| 15 |
|
| 16 |
### Overview
|
| 17 |
|
| 18 |
-
This repository introduces the first comprehensive public collection of resources for the
|
| 19 |
The models were trained on a substantial Tigre corpus and are valuable for any downstream Natural Language Processing (NLP) task, especially those involving this low-resource language.
|
| 20 |
|
| 21 |
## What are FastText Embeddings?
|
| 22 |
|
| 23 |
-
FastText is an extension of the popular Word2Vec model, which represents words as dense, real-valued vectors in a multi-dimensional space.
|
|
|
|
| 24 |
|
| 25 |
1. Generate vectors for out-of-vocabulary (OOV) words (e.g., typos or unseen compounds) by summing the vectors of their character n-grams.
|
| 26 |
2. Capture morphological structure, which is crucial for morphologically rich languages like Tigre, where words have complex prefixes and suffixes.
|
|
@@ -29,6 +30,7 @@ FastText is an extension of the popular Word2Vec model, which represents words a
|
|
| 29 |
|
| 30 |
- tig.bin: The binary FastText model (full model), which allows for querying subword vectors and OOV words.
|
| 31 |
- tigre.vec: A plain text file containing only the full word vectors, compatible with tools like gensim and used for downstream tasks or visualizations.
|
|
|
|
| 32 |
---
|
| 33 |
|
| 34 |
## Model Training & Data Curation
|
|
@@ -104,7 +106,7 @@ import fasttext
|
|
| 104 |
|
| 105 |
# Download the bin file
|
| 106 |
bin_path = hf_hub_download(
|
| 107 |
-
repo_id="
|
| 108 |
filename="tig.bin",
|
| 109 |
repo_type="dataset"
|
| 110 |
)
|
|
@@ -124,11 +126,11 @@ Nearest neighbors for 'ሻም': [(0.55, 'ሻማት'), (0.53, 'ዴሪር'), (0.46
|
|
| 124 |
|
| 125 |
## Dataset Structure
|
| 126 |
|
| 127 |
-
tigre-data-fasttext
|
| 128 |
-
├── README.md
|
| 129 |
-
├── config.json
|
| 130 |
-
├── tig.bin
|
| 131 |
-
├── tigre.vec
|
| 132 |
|
| 133 |
---
|
| 134 |
|
|
|
|
| 15 |
|
| 16 |
### Overview
|
| 17 |
|
| 18 |
+
This repository introduces the first comprehensive public collection of resources for the Tigre language — an under-resourced South Semitic language within the Afro-Asiatic family. The release aggregates multiple modalities (text + speech) and provides baseline models for several core NLP tasks including language modeling, ASR, and machine translation.
|
| 19 |
The models were trained on a substantial Tigre corpus and are valuable for any downstream Natural Language Processing (NLP) task, especially those involving this low-resource language.
|
| 20 |
|
| 21 |
## What are FastText Embeddings?
|
| 22 |
|
| 23 |
+
FastText is an extension of the popular Word2Vec model, which represents words as dense, real-valued vectors in a multi-dimensional space.
|
| 24 |
+
The key advantage of FastText is that it represents each word as a bag of character n-grams (subwords). This subword information allows the model to:
|
| 25 |
|
| 26 |
1. Generate vectors for out-of-vocabulary (OOV) words (e.g., typos or unseen compounds) by summing the vectors of their character n-grams.
|
| 27 |
2. Capture morphological structure, which is crucial for morphologically rich languages like Tigre, where words have complex prefixes and suffixes.
|
|
|
|
| 30 |
|
| 31 |
- tig.bin: The binary FastText model (full model), which allows for querying subword vectors and OOV words.
|
| 32 |
- tigre.vec: A plain text file containing only the full word vectors, compatible with tools like gensim and used for downstream tasks or visualizations.
|
| 33 |
+
|
| 34 |
---
|
| 35 |
|
| 36 |
## Model Training & Data Curation
|
|
|
|
| 106 |
|
| 107 |
# Download the bin file
|
| 108 |
bin_path = hf_hub_download(
|
| 109 |
+
repo_id="BeitTigreAI/tigre-data-fasttext",
|
| 110 |
filename="tig.bin",
|
| 111 |
repo_type="dataset"
|
| 112 |
)
|
|
|
|
| 126 |
|
| 127 |
## Dataset Structure
|
| 128 |
|
| 129 |
+
tigre-data-fasttext/
|
| 130 |
+
├── README.md
|
| 131 |
+
├── config.json
|
| 132 |
+
├── tig.bin
|
| 133 |
+
├── tigre.vec
|
| 134 |
|
| 135 |
---
|
| 136 |
|