eevvgg commited on
Commit
8f1c9cf
1 Parent(s): 94d6b76

2nd version push

Browse files
config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
- "_name_or_path": "cardiffnlp/twitter-xlm-roberta-base",
3
  "architectures": [
4
- "XLMRobertaForSequenceClassification"
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": 768,
14
  "id2label": {
15
- "0": "neutral",
16
- "1": "support",
17
- "2": "attack"
18
  },
19
  "initializer_range": 0.02,
20
- "intermediate_size": 3072,
21
  "label2id": {
22
- "neutral": 0,
23
- "support": 1,
24
- "attack": 2
25
  },
26
  "layer_norm_eps": 1e-05,
27
  "max_position_embeddings": 514,
28
- "model_type": "xlm-roberta",
29
- "num_attention_heads": 12,
30
- "num_hidden_layers": 12,
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.24.0",
37
  "type_vocab_size": 1,
38
  "use_cache": true,
39
- "vocab_size": 250002
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:e08dffc0a2305f1826f4fd8cb755c1706d9cc3ad0d7febbbc4473f378b439071
3
- size 1112255469
 
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": "<s>",
3
- "cls_token": "<s>",
4
- "eos_token": "</s>",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  "mask_token": {
6
  "content": "<mask>",
7
  "lstrip": true,
8
- "normalized": false,
9
  "rstrip": false,
10
  "single_word": false
11
  },
12
- "pad_token": "<pad>",
13
- "sep_token": "</s>",
14
- "unk_token": "<unk>"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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:03413e9db6ff769a981446163d4fed4b0cc3a0f0d091fd57b4a24fd0cbe13227
3
- size 17082913
 
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
- "bos_token": "<s>",
3
- "cls_token": "<s>",
4
- "eos_token": "</s>",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  "mask_token": {
6
  "__type": "AddedToken",
7
  "content": "<mask>",
@@ -10,10 +34,33 @@
10
  "rstrip": false,
11
  "single_word": false
12
  },
13
- "name_or_path": "cardiffnlp/twitter-xlm-roberta-base",
14
- "pad_token": "<pad>",
15
- "sep_token": "</s>",
16
- "special_tokens_map_file": null,
17
- "tokenizer_class": "XLMRobertaTokenizer",
18
- "unk_token": "<unk>"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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:35321087c19748fef77141cf87a3df3e3eddfef497b7584e2fc0d72a29a1303e
3
- size 3375
 
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