dongjunwei.djw
commited on
Commit
·
b1eda60
1
Parent(s):
9690463
first commit for the pre-trained pai-bert-tiny-zh model
Browse files- README.md +24 -0
- config.json +11 -0
- pytorch_model.bin +3 -0
- vocab.txt +0 -0
README.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language: zh
|
| 3 |
+
pipeline_tag: fill-mask
|
| 4 |
+
# widget:
|
| 5 |
+
# - text: "感冒需要吃[MASK]"
|
| 6 |
+
# - text: "人类的[MASK]温是37度"
|
| 7 |
+
tags:
|
| 8 |
+
- bert
|
| 9 |
license: apache-2.0
|
| 10 |
---
|
| 11 |
+
## Alibaba PAI BERT Tiny Chinese
|
| 12 |
+
|
| 13 |
+
This project provides Chinese pre-trained language models and various types of NLP tools. The models are pre-trained on the large-scale corpura hosted by the Alibaba PAI team. It is developed based on the EasyNLP framework: https://github.com/alibaba/EasyNLP by the Alibaba PAI team.
|
| 14 |
+
|
| 15 |
+
## Citation
|
| 16 |
+
|
| 17 |
+
If you find the resource is useful, please cite the following papers in your work.
|
| 18 |
+
|
| 19 |
+
- For the EasyNLP framework:
|
| 20 |
+
```
|
| 21 |
+
@article{easynlp,
|
| 22 |
+
title = {EasyNLP: A Comprehensive and Easy-to-use Toolkit for Natural Language Processing}, publisher = {arXiv},
|
| 23 |
+
author = {Wang, Chengyu and Qiu, Minghui and Zhang, Taolin and Liu, Tingting and Li, Lei and Wang, Jianing and Wang, Ming and Huang, Jun and Lin, Wei},
|
| 24 |
+
url = {https://arxiv.org/abs/2205.00258},
|
| 25 |
+
year = {2022}
|
| 26 |
+
}
|
| 27 |
+
```
|
config.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type":"bert",
|
| 3 |
+
"vocab_size": 21128,
|
| 4 |
+
"hidden_size": 128,
|
| 5 |
+
"intermediate_size": 512,
|
| 6 |
+
"num_hidden_layers": 2,
|
| 7 |
+
"max_position_embeddings": 512,
|
| 8 |
+
"num_attention_heads": 2,
|
| 9 |
+
"type_vocab_size": 2
|
| 10 |
+
}
|
| 11 |
+
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a9cc82c11a53d1cea3a016b7a37d124b39e1d775dfbcda505730be8cc7ca8dc9
|
| 3 |
+
size 12909590
|
vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|