daiki7069 commited on
Commit
5c456bc
·
verified ·
1 Parent(s): 9de79a8

Upload RobertaForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +51 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "rinna/japanese-roberta-base",
3
+ "architectures": [
4
+ "RobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 1,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "gradient_checkpointing": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": 3.0,
16
+ "1": 7.0,
17
+ "2": 6.0,
18
+ "3": 0.0,
19
+ "4": 2.0,
20
+ "5": 4.0,
21
+ "6": 1.0,
22
+ "7": 5.0,
23
+ "8": 8.0
24
+ },
25
+ "initializer_range": 0.02,
26
+ "intermediate_size": 3072,
27
+ "label2id": {
28
+ "0.0": 3,
29
+ "1.0": 6,
30
+ "2.0": 4,
31
+ "3.0": 0,
32
+ "4.0": 5,
33
+ "5.0": 7,
34
+ "6.0": 2,
35
+ "7.0": 1,
36
+ "8.0": 8
37
+ },
38
+ "layer_norm_eps": 1e-05,
39
+ "max_position_embeddings": 514,
40
+ "model_type": "roberta",
41
+ "num_attention_heads": 12,
42
+ "num_hidden_layers": 12,
43
+ "pad_token_id": 3,
44
+ "position_embedding_type": "absolute",
45
+ "problem_type": "single_label_classification",
46
+ "torch_dtype": "float32",
47
+ "transformers_version": "4.26.1",
48
+ "type_vocab_size": 2,
49
+ "use_cache": true,
50
+ "vocab_size": 32000
51
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3ee7f33fd44df595215bd5f51067346f9ce2b9240f187a946bcecf4e56660b8
3
+ size 442576565