hfl-rc
commited on
Commit
•
39af3c1
1
Parent(s):
b8848e2
update model
Browse files- README.md +40 -0
- config.json +29 -0
- pytorch_model.bin +3 -0
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +1 -0
- tf_model.h5 +3 -0
- tokenizer_config.json +1 -0
README.md
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- zh
|
4 |
+
- bo
|
5 |
+
- kk
|
6 |
+
- ko
|
7 |
+
- mn
|
8 |
+
- ug
|
9 |
+
- yue
|
10 |
+
license: "apache-2.0"
|
11 |
+
---
|
12 |
+
|
13 |
+
## CINO: Pre-trained Language Models for Chinese Minority Languages(中国少数民族预训练模型)
|
14 |
+
|
15 |
+
Multilingual Pre-trained Language Model, such as mBERT, XLM-R, provide multilingual and cross-lingual ability for language understanding.
|
16 |
+
We have seen rapid progress on building multilingual PLMs in recent year.
|
17 |
+
However, there is a lack of contributions on building PLMs on Chines minority languages, which hinders researchers from building powerful NLP systems.
|
18 |
+
|
19 |
+
To address the absence of Chinese minority PLMs, Joint Laboratory of HIT and iFLYTEK Research (HFL) proposes CINO (Chinese-miNOrity pre-trained language model), which is built on XLM-R with additional pre-training using Chinese minority corpus, such as
|
20 |
+
- Chinese,中文(zh)
|
21 |
+
- Tibetan,藏语(bo)
|
22 |
+
- Mongolian (Uighur form),蒙语(mn)
|
23 |
+
- Uyghur,维吾尔语(ug)
|
24 |
+
- Kazakh (Arabic form),哈萨克语(kk)
|
25 |
+
- Korean,朝鲜语(ko)
|
26 |
+
- Zhuang,壮语
|
27 |
+
- Cantonese,粤语(yue)
|
28 |
+
|
29 |
+
Please read our GitHub repository for more details (Chinese): https://github.com/ymcui/Chinese-Minority-PLM
|
30 |
+
|
31 |
+
You may also interested in,
|
32 |
+
|
33 |
+
Chinese MacBERT: https://github.com/ymcui/MacBERT
|
34 |
+
Chinese BERT series: https://github.com/ymcui/Chinese-BERT-wwm
|
35 |
+
Chinese ELECTRA: https://github.com/ymcui/Chinese-ELECTRA
|
36 |
+
Chinese XLNet: https://github.com/ymcui/Chinese-XLNet
|
37 |
+
Knowledge Distillation Toolkit - TextBrewer: https://github.com/airaria/TextBrewer
|
38 |
+
|
39 |
+
More resources by HFL: https://github.com/ymcui/HFL-Anthology
|
40 |
+
|
config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./",
|
3 |
+
"architectures": [
|
4 |
+
"XLMRobertaForMaskedLM"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"gradient_checkpointing": false,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 1024,
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 4096,
|
16 |
+
"layer_norm_eps": 1e-05,
|
17 |
+
"max_position_embeddings": 514,
|
18 |
+
"model_type": "xlm-roberta",
|
19 |
+
"num_attention_heads": 16,
|
20 |
+
"num_hidden_layers": 24,
|
21 |
+
"output_past": true,
|
22 |
+
"pad_token_id": 1,
|
23 |
+
"position_embedding_type": "absolute",
|
24 |
+
"torch_dtype": "float32",
|
25 |
+
"transformers_version": "4.15.0",
|
26 |
+
"type_vocab_size": 1,
|
27 |
+
"use_cache": true,
|
28 |
+
"vocab_size": 135359
|
29 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4a31d64ceac61709bddfa01cd88d700dae28a73845bc2e7be61840ab12455ce7
|
3 |
+
size 1770671019
|
sentencepiece.bpe.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:abec8706178924453be115cd2da858ef32de70ba60d0c10300822a732a868cf7
|
3 |
+
size 2814898
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "<s>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true}}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f055387474c5bfe3e960a1cfb96bcfc396e7dd9a335e6b104f279333cd0afd7a
|
3 |
+
size 2327604780
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "cls_token": "<s>", "pad_token": "<pad>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "sp_model_kwargs": {}, "special_tokens_map_file": null, "tokenizer_file": null, "name_or_path": ".", "tokenizer_class": "XLMRobertaTokenizer"}
|