Update README.md
Browse files
README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
---
|
2 |
language: zh
|
3 |
widget:
|
4 |
-
- text: "
|
5 |
|
6 |
---
|
7 |
|
@@ -48,8 +48,7 @@ python3 run_classifier.py --pretrained_model_path models/cluecorpussmall_roberta
|
|
48 |
--train_path datasets/glyph/chinanews/train.tsv \
|
49 |
--dev_path datasets/glyph/chinanews/dev.tsv \
|
50 |
--output_model_path models/chinanews_classifier_model.bin \
|
51 |
-
--learning_rate 3e-5 --
|
52 |
-
--embedding word_pos_seg --encoder transformer --mask fully_visible
|
53 |
```
|
54 |
|
55 |
Finally, we convert the pre-trained model into Huggingface's format:
|
|
|
1 |
---
|
2 |
language: zh
|
3 |
widget:
|
4 |
+
- text: "这本书真的很不错"
|
5 |
|
6 |
---
|
7 |
|
|
|
48 |
--train_path datasets/glyph/chinanews/train.tsv \
|
49 |
--dev_path datasets/glyph/chinanews/dev.tsv \
|
50 |
--output_model_path models/chinanews_classifier_model.bin \
|
51 |
+
--learning_rate 3e-5 --epochs_num 3 --batch_size 32 --seq_length 512
|
|
|
52 |
```
|
53 |
|
54 |
Finally, we convert the pre-trained model into Huggingface's format:
|