lalital
commited on
Commit
•
2d79c46
0
Parent(s):
Add model weightsand tokenizer, wangchanberta-base-wiki-20210520-spm checkpoint @25k steps
Browse files- .gitattributes +2 -0
- config.json +26 -0
- pytorch_model.bin +3 -0
- sentencepiece.bpe.model +3 -0
- sentencepiece.bpe.vocab +0 -0
- tokenizer_config.json +14 -0
.gitattributes
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
|
2 |
+
sentencepiece.bpe.model filter=lfs diff=lfs merge=lfs -text
|
config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"RobertaForMaskedLM"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.1,
|
6 |
+
"bos_token_id": 0,
|
7 |
+
"eos_token_id": 2,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 3072,
|
14 |
+
"layer_norm_eps": 1e-12,
|
15 |
+
"max_position_embeddings": 512,
|
16 |
+
"model_type": "camembert",
|
17 |
+
"num_attention_head": 12,
|
18 |
+
"num_attention_heads": 12,
|
19 |
+
"num_hidden_layers": 12,
|
20 |
+
"pad_token_id": 1,
|
21 |
+
"position_embedding_type": "absolute",
|
22 |
+
"transformers_version": "4.6.0",
|
23 |
+
"type_vocab_size": 1,
|
24 |
+
"use_cache": true,
|
25 |
+
"vocab_size": 24005
|
26 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1581460a3720d19cfc55e0ba783d2efe3122976fc43d87387c116a8842046202
|
3 |
+
size 209055553
|
sentencepiece.bpe.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c7116aaab4c6acde0efa89ef8a6c2df4246c0a3c4f64b9b4f4ac70bd43457cd3
|
3 |
+
size 980969
|
sentencepiece.bpe.vocab
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"eos_token": "</s>",
|
4 |
+
"unk_token": "<unk>",
|
5 |
+
"sep_token": "</s>",
|
6 |
+
"cls_token": "<s>",
|
7 |
+
"pad_token": "<pad>",
|
8 |
+
"mask_token": "<mask>",
|
9 |
+
"additional_special_tokens": [
|
10 |
+
"<s>NOTUSED",
|
11 |
+
"</s>NOTUSED",
|
12 |
+
"▁"
|
13 |
+
]
|
14 |
+
}
|