matthewleechen
commited on
Commit
•
e85f908
1
Parent(s):
0ac27a3
Upload RobertaForTokenClassification
Browse files- config.json +20 -20
- model.safetensors +1 -1
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"RobertaForTokenClassification"
|
5 |
],
|
@@ -11,28 +11,28 @@
|
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 1024,
|
13 |
"id2label": {
|
14 |
-
"0": "
|
15 |
-
"1": "
|
16 |
-
"2": "
|
17 |
-
"3": "
|
18 |
-
"4": "
|
19 |
-
"5": "
|
20 |
-
"6": "
|
21 |
-
"7": "
|
22 |
-
"8": "
|
23 |
},
|
24 |
"initializer_range": 0.02,
|
25 |
"intermediate_size": 4096,
|
26 |
"label2id": {
|
27 |
-
"
|
28 |
-
"
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"
|
34 |
-
"
|
35 |
-
"
|
36 |
},
|
37 |
"layer_norm_eps": 1e-05,
|
38 |
"max_position_embeddings": 514,
|
@@ -42,7 +42,7 @@
|
|
42 |
"pad_token_id": 1,
|
43 |
"position_embedding_type": "absolute",
|
44 |
"torch_dtype": "float32",
|
45 |
-
"transformers_version": "4.
|
46 |
"type_vocab_size": 1,
|
47 |
"use_cache": true,
|
48 |
"vocab_size": 50265
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "roberta-large",
|
3 |
"architectures": [
|
4 |
"RobertaForTokenClassification"
|
5 |
],
|
|
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 1024,
|
13 |
"id2label": {
|
14 |
+
"0": "LABEL_0",
|
15 |
+
"1": "LABEL_1",
|
16 |
+
"2": "LABEL_2",
|
17 |
+
"3": "LABEL_3",
|
18 |
+
"4": "LABEL_4",
|
19 |
+
"5": "LABEL_5",
|
20 |
+
"6": "LABEL_6",
|
21 |
+
"7": "LABEL_7",
|
22 |
+
"8": "LABEL_8"
|
23 |
},
|
24 |
"initializer_range": 0.02,
|
25 |
"intermediate_size": 4096,
|
26 |
"label2id": {
|
27 |
+
"LABEL_0": 0,
|
28 |
+
"LABEL_1": 1,
|
29 |
+
"LABEL_2": 2,
|
30 |
+
"LABEL_3": 3,
|
31 |
+
"LABEL_4": 4,
|
32 |
+
"LABEL_5": 5,
|
33 |
+
"LABEL_6": 6,
|
34 |
+
"LABEL_7": 7,
|
35 |
+
"LABEL_8": 8
|
36 |
},
|
37 |
"layer_norm_eps": 1e-05,
|
38 |
"max_position_embeddings": 514,
|
|
|
42 |
"pad_token_id": 1,
|
43 |
"position_embedding_type": "absolute",
|
44 |
"torch_dtype": "float32",
|
45 |
+
"transformers_version": "4.41.2",
|
46 |
"type_vocab_size": 1,
|
47 |
"use_cache": true,
|
48 |
"vocab_size": 50265
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1417325484
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7403fe75dd71bdfb368d1107d18841c6a788ddaaa875abb966cbe72a539501fe
|
3 |
size 1417325484
|