Upload RobertaForTokenClassification
Browse files- config.json +14 -14
- model.safetensors +1 -1
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "/home/gauneg/huggingface_model_uploads/absa_transformers/
|
3 |
"architectures": [
|
4 |
"RobertaForTokenClassification"
|
5 |
],
|
@@ -15,24 +15,24 @@
|
|
15 |
"0": "O",
|
16 |
"1": "B-neu",
|
17 |
"2": "I-neu",
|
18 |
-
"
|
19 |
-
"
|
20 |
-
"
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
},
|
25 |
"initializer_range": 0.02,
|
26 |
"intermediate_size": 3072,
|
27 |
"label2id": {
|
28 |
-
"B-con":
|
29 |
-
"B-neg":
|
30 |
"B-neu": 1,
|
31 |
-
"B-pos":
|
32 |
-
"I-con":
|
33 |
-
"I-neg":
|
34 |
"I-neu": 2,
|
35 |
-
"I-pos":
|
36 |
"O": 0,
|
37 |
"X": -100
|
38 |
},
|
@@ -44,7 +44,7 @@
|
|
44 |
"pad_token_id": 1,
|
45 |
"position_embedding_type": "absolute",
|
46 |
"torch_dtype": "float32",
|
47 |
-
"transformers_version": "4.
|
48 |
"type_vocab_size": 1,
|
49 |
"use_cache": true,
|
50 |
"vocab_size": 50265
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "/home/gauneg/huggingface_model_uploads/absa_transformers/models/roberta-base-bio-w-pol",
|
3 |
"architectures": [
|
4 |
"RobertaForTokenClassification"
|
5 |
],
|
|
|
15 |
"0": "O",
|
16 |
"1": "B-neu",
|
17 |
"2": "I-neu",
|
18 |
+
"3": "B-neg",
|
19 |
+
"4": "B-con",
|
20 |
+
"5": "I-pos",
|
21 |
+
"6": "B-pos",
|
22 |
+
"7": "I-con",
|
23 |
+
"8": "I-neg"
|
24 |
},
|
25 |
"initializer_range": 0.02,
|
26 |
"intermediate_size": 3072,
|
27 |
"label2id": {
|
28 |
+
"B-con": 4,
|
29 |
+
"B-neg": 3,
|
30 |
"B-neu": 1,
|
31 |
+
"B-pos": 6,
|
32 |
+
"I-con": 7,
|
33 |
+
"I-neg": 8,
|
34 |
"I-neu": 2,
|
35 |
+
"I-pos": 5,
|
36 |
"O": 0,
|
37 |
"X": -100
|
38 |
},
|
|
|
44 |
"pad_token_id": 1,
|
45 |
"position_embedding_type": "absolute",
|
46 |
"torch_dtype": "float32",
|
47 |
+
"transformers_version": "4.46.1",
|
48 |
"type_vocab_size": 1,
|
49 |
"use_cache": true,
|
50 |
"vocab_size": 50265
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 496274848
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7709de8439b870338e22c2a5ab110c62895dd8ee13321f0404c65cb05299829b
|
3 |
size 496274848
|