ilos-vigil
commited on
Commit
•
b93f6a6
1
Parent(s):
fc82b7f
Upload model weight at 9 epochs
Browse files- README.md +21 -0
- config.json +43 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +51 -0
- tokenizer.json +0 -0
- tokenizer_config.json +63 -0
README.md
CHANGED
@@ -1,3 +1,24 @@
|
|
1 |
---
|
|
|
2 |
license: mit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
language: id
|
3 |
license: mit
|
4 |
+
datasets:
|
5 |
+
- indonli
|
6 |
+
- MoritzLaurer/multilingual-NLI-26lang-2mil7
|
7 |
+
- id_newspapers_2018
|
8 |
+
pipeline_tag: zero-shot-classification
|
9 |
+
widget:
|
10 |
+
- text: "Saya suka makan kentang goreng."
|
11 |
+
candidate_labels: "positif, netral, negatif"
|
12 |
+
hypothesis_template: "Kalimat ini mengandung tema {}."
|
13 |
+
multi_class: false
|
14 |
+
example_title: "Sentiment"
|
15 |
+
- text: "Apple umumkan harga iPhone 14."
|
16 |
+
candidate_labels: "teknologi, olahraga, kuliner, bisnis"
|
17 |
+
hypothesis_template: "Kalimat ini mengandung tema {}."
|
18 |
+
multi_class: true
|
19 |
+
example_title: "News"
|
20 |
---
|
21 |
+
|
22 |
+
# Indonesian small BigBird model NLI
|
23 |
+
|
24 |
+
This commit contain model weight from epoch 6 which has lowest loss/highest accuracy.
|
config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "ilos-vigil/bigbird-small-indonesian",
|
3 |
+
"architectures": [
|
4 |
+
"BigBirdForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"attention_type": "block_sparse",
|
8 |
+
"block_size": 64,
|
9 |
+
"bos_token_id": 1,
|
10 |
+
"classifier_dropout": null,
|
11 |
+
"eos_token_id": 2,
|
12 |
+
"hidden_act": "gelu_new",
|
13 |
+
"hidden_dropout_prob": 0.1,
|
14 |
+
"hidden_size": 512,
|
15 |
+
"id2label": {
|
16 |
+
"0": "entailment",
|
17 |
+
"1": "neutral",
|
18 |
+
"2": "contradiction"
|
19 |
+
},
|
20 |
+
"initializer_range": 0.02,
|
21 |
+
"intermediate_size": 2048,
|
22 |
+
"label2id": {
|
23 |
+
"contradiction": 2,
|
24 |
+
"entailment": 0,
|
25 |
+
"neutral": 1
|
26 |
+
},
|
27 |
+
"layer_norm_eps": 1e-12,
|
28 |
+
"max_position_embeddings": 4096,
|
29 |
+
"model_type": "big_bird",
|
30 |
+
"num_attention_heads": 8,
|
31 |
+
"num_hidden_layers": 4,
|
32 |
+
"num_random_blocks": 3,
|
33 |
+
"pad_token_id": 0,
|
34 |
+
"problem_type": "single_label_classification",
|
35 |
+
"rescale_embeddings": false,
|
36 |
+
"sep_token_id": 66,
|
37 |
+
"torch_dtype": "float32",
|
38 |
+
"transformers_version": "4.23.1",
|
39 |
+
"type_vocab_size": 2,
|
40 |
+
"use_bias": true,
|
41 |
+
"use_cache": true,
|
42 |
+
"vocab_size": 30000
|
43 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:99d7283876c3bfeeb0248e9b29019683c61e8852e325ded3937f8cba2c4d115c
|
3 |
+
size 122439617
|
special_tokens_map.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "</s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"cls_token": {
|
10 |
+
"content": "[CLS]",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"eos_token": {
|
17 |
+
"content": "<s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": true,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"mask_token": {
|
24 |
+
"content": "[MASK]",
|
25 |
+
"lstrip": true,
|
26 |
+
"normalized": true,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"pad_token": {
|
31 |
+
"content": "<pad>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": true,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
},
|
37 |
+
"sep_token": {
|
38 |
+
"content": "[SEP]",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": true,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false
|
43 |
+
},
|
44 |
+
"unk_token": {
|
45 |
+
"content": "<unk>",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": true,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false
|
50 |
+
}
|
51 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"__type": "AddedToken",
|
4 |
+
"content": "</s>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": true,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false
|
9 |
+
},
|
10 |
+
"cls_token": {
|
11 |
+
"__type": "AddedToken",
|
12 |
+
"content": "[CLS]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": true,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false
|
17 |
+
},
|
18 |
+
"eos_token": {
|
19 |
+
"__type": "AddedToken",
|
20 |
+
"content": "<s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": true,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false
|
25 |
+
},
|
26 |
+
"mask_token": {
|
27 |
+
"__type": "AddedToken",
|
28 |
+
"content": "[MASK]",
|
29 |
+
"lstrip": true,
|
30 |
+
"normalized": true,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false
|
33 |
+
},
|
34 |
+
"model_max_length": 4096,
|
35 |
+
"name_or_path": "ilos-vigil/bigbird-small-indonesian",
|
36 |
+
"pad_token": {
|
37 |
+
"__type": "AddedToken",
|
38 |
+
"content": "<pad>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": true,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false
|
43 |
+
},
|
44 |
+
"sep_token": {
|
45 |
+
"__type": "AddedToken",
|
46 |
+
"content": "[SEP]",
|
47 |
+
"lstrip": false,
|
48 |
+
"normalized": true,
|
49 |
+
"rstrip": false,
|
50 |
+
"single_word": false
|
51 |
+
},
|
52 |
+
"sp_model_kwargs": {},
|
53 |
+
"special_tokens_map_file": "/home/user/.cache/huggingface/hub/models--google--bigbird-roberta-base/snapshots/5a145f7852cba9bd431386a58137bf8a29903b90/special_tokens_map.json",
|
54 |
+
"tokenizer_class": "BigBirdTokenizer",
|
55 |
+
"unk_token": {
|
56 |
+
"__type": "AddedToken",
|
57 |
+
"content": "<unk>",
|
58 |
+
"lstrip": false,
|
59 |
+
"normalized": true,
|
60 |
+
"rstrip": false,
|
61 |
+
"single_word": false
|
62 |
+
}
|
63 |
+
}
|