SadeghK commited on
Commit
4624af8
·
verified ·
1 Parent(s): 722eba4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +26 -3
README.md CHANGED
@@ -1,3 +1,26 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - fa
5
+ ---
6
+
7
+ ## Persian Phoneme-Level BERT (training)
8
+ GPU RTX A6000 (1x) is used for training, dataset of 1.3 milion sentences, chunked, normalized from wikipedia dataset for Farsi.
9
+ ```bash
10
+ ds = load_dataset("wikimedia/wikipedia", "20231101.fa", split="train", streaming=True)
11
+ ```
12
+
13
+ Training run for 305K steps with the following result (around the following values)
14
+ ```bash
15
+ Step [305000/2000000], Loss: 1.38343, Vocab Loss: 0.34593, Token Loss: 1.25434
16
+ ```
17
+
18
+ dataset and model is stored in HF: `SadeghK/Persian-PL-BERT`
19
+
20
+
21
+ For dataset preparation from wikipedia, refer to `wikipedia-dataset-styletts2-preparation`
22
+ ```bash
23
+ wikipedia entry -> [normalize] -> [chunk] -> [hamnevise] -> [Zirneshane]
24
+ ```
25
+
26
+ For further details of preprocessing, training refer to `preprocess_fa.ipynb` and `train_fa.ipynb` of [SadeghKrmi/PL-BERT](https://github.com/SadeghKrmi/PL-BERT.git)