keisuke-kiryu
commited on
Commit
•
67f5a8e
1
Parent(s):
af5206a
Upload RobertaForTokenClassification
Browse files- config.json +49 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./model/checkpoint-1700000",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 2,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 3,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "OK",
|
15 |
+
"1": "deletion",
|
16 |
+
"2": "insertion_a",
|
17 |
+
"3": "insertion_b",
|
18 |
+
"4": "kanji-conversion_a",
|
19 |
+
"5": "kanji-conversion_b",
|
20 |
+
"6": "substitution",
|
21 |
+
"7": "transposition",
|
22 |
+
"8": "others"
|
23 |
+
},
|
24 |
+
"initializer_range": 0.02,
|
25 |
+
"intermediate_size": 3072,
|
26 |
+
"label2id": {
|
27 |
+
"OK": 0,
|
28 |
+
"deletion": 1,
|
29 |
+
"insertion_a": 2,
|
30 |
+
"insertion_b": 3,
|
31 |
+
"kanji-conversion_a": 4,
|
32 |
+
"kanji-conversion_b": 5,
|
33 |
+
"others": 8,
|
34 |
+
"substitution": 6,
|
35 |
+
"transposition": 7
|
36 |
+
},
|
37 |
+
"layer_norm_eps": 1e-12,
|
38 |
+
"max_position_embeddings": 514,
|
39 |
+
"model_type": "roberta",
|
40 |
+
"num_attention_heads": 12,
|
41 |
+
"num_hidden_layers": 12,
|
42 |
+
"pad_token_id": 0,
|
43 |
+
"position_embedding_type": "absolute",
|
44 |
+
"torch_dtype": "float32",
|
45 |
+
"transformers_version": "4.35.2",
|
46 |
+
"type_vocab_size": 2,
|
47 |
+
"use_cache": true,
|
48 |
+
"vocab_size": 18377
|
49 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:240010b1c14f8cae0fe286ed066f663b5013b98d0a633a1f64dc79aac3483478
|
3 |
+
size 398314852
|