Update README.md
Browse files
README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
language: Chinese
|
3 |
datasets: CLUECorpusSmall
|
4 |
widget:
|
5 |
-
- text: "
|
6 |
|
7 |
|
8 |
---
|
@@ -87,7 +87,7 @@ Finally, we convert the pre-trained model into Huggingface's format:
|
|
87 |
```
|
88 |
python3 scripts/convert_gpt2_from_uer_to_huggingface.py --input_model_path cluecorpussmall_gpt2_distil_seq1024_model.bin-250000 \
|
89 |
--output_model_path pytorch_model.bin \
|
90 |
-
--layers_num
|
91 |
```
|
92 |
|
93 |
### BibTeX entry and citation info
|
|
|
2 |
language: Chinese
|
3 |
datasets: CLUECorpusSmall
|
4 |
widget:
|
5 |
+
- text: "米饭是一种用稻米与水煮成的食物"
|
6 |
|
7 |
|
8 |
---
|
|
|
87 |
```
|
88 |
python3 scripts/convert_gpt2_from_uer_to_huggingface.py --input_model_path cluecorpussmall_gpt2_distil_seq1024_model.bin-250000 \
|
89 |
--output_model_path pytorch_model.bin \
|
90 |
+
--layers_num 6
|
91 |
```
|
92 |
|
93 |
### BibTeX entry and citation info
|