Update README.md
Browse files
README.md
CHANGED
|
@@ -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:
|
|
|
|
| 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:
|