2nd version push
Browse files- config.json +15 -16
- pytorch_model.bin +2 -2
- special_tokens_map.json +43 -7
- tokenizer.json +2 -2
- tokenizer_config.json +56 -9
- training_args.bin +2 -2
- vocab.json +0 -0
config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
"bos_token_id": 0,
|
@@ -10,31 +10,30 @@
|
|
10 |
"gradient_checkpointing": false,
|
11 |
"hidden_act": "gelu",
|
12 |
"hidden_dropout_prob": 0.1,
|
13 |
-
"hidden_size":
|
14 |
"id2label": {
|
15 |
-
"0": "
|
16 |
-
"1": "
|
17 |
-
"2": "
|
18 |
},
|
19 |
"initializer_range": 0.02,
|
20 |
-
"intermediate_size":
|
21 |
"label2id": {
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"
|
25 |
},
|
26 |
"layer_norm_eps": 1e-05,
|
27 |
"max_position_embeddings": 514,
|
28 |
-
"model_type": "
|
29 |
-
"num_attention_heads":
|
30 |
-
"num_hidden_layers":
|
31 |
-
"output_past": true,
|
32 |
"pad_token_id": 1,
|
33 |
"position_embedding_type": "absolute",
|
34 |
"problem_type": "single_label_classification",
|
35 |
"torch_dtype": "float32",
|
36 |
-
"transformers_version": "4.
|
37 |
"type_vocab_size": 1,
|
38 |
"use_cache": true,
|
39 |
-
"vocab_size":
|
40 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "j-hartmann/sentiment-roberta-large-english-3-classes",
|
3 |
"architectures": [
|
4 |
+
"RobertaForSequenceClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
"bos_token_id": 0,
|
|
|
10 |
"gradient_checkpointing": false,
|
11 |
"hidden_act": "gelu",
|
12 |
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 1024,
|
14 |
"id2label": {
|
15 |
+
"0": "negative",
|
16 |
+
"1": "neutral",
|
17 |
+
"2": "positive"
|
18 |
},
|
19 |
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": 4096,
|
21 |
"label2id": {
|
22 |
+
"negative": 0,
|
23 |
+
"neutral": 1,
|
24 |
+
"positive": 2
|
25 |
},
|
26 |
"layer_norm_eps": 1e-05,
|
27 |
"max_position_embeddings": 514,
|
28 |
+
"model_type": "roberta",
|
29 |
+
"num_attention_heads": 16,
|
30 |
+
"num_hidden_layers": 24,
|
|
|
31 |
"pad_token_id": 1,
|
32 |
"position_embedding_type": "absolute",
|
33 |
"problem_type": "single_label_classification",
|
34 |
"torch_dtype": "float32",
|
35 |
+
"transformers_version": "4.25.1",
|
36 |
"type_vocab_size": 1,
|
37 |
"use_cache": true,
|
38 |
+
"vocab_size": 50265
|
39 |
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:83acf6af0c2a24af6696f21e3e78f82b67d0000f3504c903f78bccee37d7329d
|
3 |
+
size 1421591285
|
special_tokens_map.json
CHANGED
@@ -1,15 +1,51 @@
|
|
1 |
{
|
2 |
-
"bos_token":
|
3 |
-
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
"mask_token": {
|
6 |
"content": "<mask>",
|
7 |
"lstrip": true,
|
8 |
-
"normalized":
|
9 |
"rstrip": false,
|
10 |
"single_word": false
|
11 |
},
|
12 |
-
"pad_token":
|
13 |
-
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
}
|
|
|
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": "<s>",
|
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": "</s>",
|
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
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8e0ca8af4fdb273d80852c5b20f96ce794a2d4161dff49f8f2d4e0a05afc3342
|
3 |
+
size 2108839
|
tokenizer_config.json
CHANGED
@@ -1,7 +1,31 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
"mask_token": {
|
6 |
"__type": "AddedToken",
|
7 |
"content": "<mask>",
|
@@ -10,10 +34,33 @@
|
|
10 |
"rstrip": false,
|
11 |
"single_word": false
|
12 |
},
|
13 |
-
"
|
14 |
-
"
|
15 |
-
"
|
16 |
-
|
17 |
-
|
18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
}
|
|
|
1 |
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"bos_token": {
|
4 |
+
"__type": "AddedToken",
|
5 |
+
"content": "<s>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": true,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false
|
10 |
+
},
|
11 |
+
"cls_token": {
|
12 |
+
"__type": "AddedToken",
|
13 |
+
"content": "<s>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": true,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false
|
18 |
+
},
|
19 |
+
"do_lower_case": false,
|
20 |
+
"eos_token": {
|
21 |
+
"__type": "AddedToken",
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": true,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false
|
27 |
+
},
|
28 |
+
"errors": "replace",
|
29 |
"mask_token": {
|
30 |
"__type": "AddedToken",
|
31 |
"content": "<mask>",
|
|
|
34 |
"rstrip": false,
|
35 |
"single_word": false
|
36 |
},
|
37 |
+
"model_max_length": 512,
|
38 |
+
"name_or_path": "j-hartmann/sentiment-roberta-large-english-3-classes",
|
39 |
+
"pad_token": {
|
40 |
+
"__type": "AddedToken",
|
41 |
+
"content": "<pad>",
|
42 |
+
"lstrip": false,
|
43 |
+
"normalized": true,
|
44 |
+
"rstrip": false,
|
45 |
+
"single_word": false
|
46 |
+
},
|
47 |
+
"sep_token": {
|
48 |
+
"__type": "AddedToken",
|
49 |
+
"content": "</s>",
|
50 |
+
"lstrip": false,
|
51 |
+
"normalized": true,
|
52 |
+
"rstrip": false,
|
53 |
+
"single_word": false
|
54 |
+
},
|
55 |
+
"special_tokens_map_file": "/root/.cache/huggingface/hub/models--j-hartmann--sentiment-roberta-large-english-3-classes/snapshots/f995433eb6d79d26702ab9335bfde472a9933ee4/special_tokens_map.json",
|
56 |
+
"tokenizer_class": "RobertaTokenizer",
|
57 |
+
"trim_offsets": true,
|
58 |
+
"unk_token": {
|
59 |
+
"__type": "AddedToken",
|
60 |
+
"content": "<unk>",
|
61 |
+
"lstrip": false,
|
62 |
+
"normalized": true,
|
63 |
+
"rstrip": false,
|
64 |
+
"single_word": false
|
65 |
+
}
|
66 |
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fcd80f41b0ddbfcab2b9acfd615aa26de5cd4ce0a4b3744f8923a81f7dcdb999
|
3 |
+
size 3387
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|