Pierluigi Cassotti commited on
Commit
5c833b8
1 Parent(s): fa43853
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "roberta-large",
3
  "architectures": [
4
  "RobertaForSequenceClassification"
5
  ],
@@ -15,19 +15,17 @@
15
  "1": "hyponym",
16
  "2": "hypernym",
17
  "3": "co-hyponym",
18
- "4": "antonym",
19
- "5": "label_5"
20
  },
 
 
21
  "label2id": {
 
 
22
  "homonym": 0,
23
- "hyponym": 1,
24
  "hypernym": 2,
25
- "co-hyponym": 3,
26
- "antonym": 4,
27
- "label_5": 5
28
  },
29
- "initializer_range": 0.02,
30
- "intermediate_size": 4096,
31
  "layer_norm_eps": 1e-05,
32
  "max_position_embeddings": 514,
33
  "model_type": "roberta",
@@ -36,7 +34,7 @@
36
  "pad_token_id": 1,
37
  "position_embedding_type": "absolute",
38
  "torch_dtype": "float32",
39
- "transformers_version": "4.36.2",
40
  "type_vocab_size": 1,
41
  "use_cache": true,
42
  "vocab_size": 50265
 
1
  {
2
+ "_name_or_path": "ChangeIsKey/change-type-classifier",
3
  "architectures": [
4
  "RobertaForSequenceClassification"
5
  ],
 
15
  "1": "hyponym",
16
  "2": "hypernym",
17
  "3": "co-hyponym",
18
+ "4": "antonym"
 
19
  },
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 4096,
22
  "label2id": {
23
+ "antonym": 4,
24
+ "co-hyponym": 3,
25
  "homonym": 0,
 
26
  "hypernym": 2,
27
+ "hyponym": 1
 
 
28
  },
 
 
29
  "layer_norm_eps": 1e-05,
30
  "max_position_embeddings": 514,
31
  "model_type": "roberta",
 
34
  "pad_token_id": 1,
35
  "position_embedding_type": "absolute",
36
  "torch_dtype": "float32",
37
+ "transformers_version": "4.41.2",
38
  "type_vocab_size": 1,
39
  "use_cache": true,
40
  "vocab_size": 50265
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:383ad8e59229dc5b3aa2bb302c08d66ddc9284a28748faf7d0baa74a72bb8f1e
3
- size 1421511816
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a41ef0cf2c821ae3ecec9085705fcd1bb867baffa2c0c0dfa20427cc8aba5cf
3
+ size 1421507716
special_tokens_map.json CHANGED
@@ -1,7 +1,25 @@
1
  {
2
- "bos_token": "<s>",
3
- "cls_token": "<s>",
4
- "eos_token": "</s>",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  "mask_token": {
6
  "content": "<mask>",
7
  "lstrip": true,
@@ -9,7 +27,25 @@
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,
 
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
@@ -95,6 +95,7 @@
95
  "end_of_word_suffix": "",
96
  "fuse_unk": false,
97
  "byte_fallback": false,
 
98
  "vocab": {
99
  "<s>": 0,
100
  "<pad>": 1,
 
95
  "end_of_word_suffix": "",
96
  "fuse_unk": false,
97
  "byte_fallback": false,
98
+ "ignore_merges": false,
99
  "vocab": {
100
  "<s>": 0,
101
  "<pad>": 1,
tokenizer_config.json CHANGED
@@ -48,10 +48,17 @@
48
  "eos_token": "</s>",
49
  "errors": "replace",
50
  "mask_token": "<mask>",
 
51
  "model_max_length": 512,
 
52
  "pad_token": "<pad>",
 
 
53
  "sep_token": "</s>",
 
54
  "tokenizer_class": "RobertaTokenizer",
55
  "trim_offsets": true,
 
 
56
  "unk_token": "<unk>"
57
  }
 
48
  "eos_token": "</s>",
49
  "errors": "replace",
50
  "mask_token": "<mask>",
51
+ "max_length": 512,
52
  "model_max_length": 512,
53
+ "pad_to_multiple_of": null,
54
  "pad_token": "<pad>",
55
+ "pad_token_type_id": 0,
56
+ "padding_side": "right",
57
  "sep_token": "</s>",
58
+ "stride": 0,
59
  "tokenizer_class": "RobertaTokenizer",
60
  "trim_offsets": true,
61
+ "truncation_side": "right",
62
+ "truncation_strategy": "longest_first",
63
  "unk_token": "<unk>"
64
  }