daiki7069 commited on
Commit
9325b8a
·
verified ·
1 Parent(s): 8e2ff86

Upload RobertaForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +49 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ },
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 3072,
26
+ "label2id": {
27
+ "0.0": 3,
28
+ "1.0": 6,
29
+ "2.0": 4,
30
+ "3.0": 0,
31
+ "4.0": 5,
32
+ "5.0": 7,
33
+ "6.0": 2,
34
+ "7.0": 1
35
+ },
36
+ "layer_norm_eps": 1e-05,
37
+ "max_position_embeddings": 514,
38
+ "model_type": "roberta",
39
+ "num_attention_heads": 12,
40
+ "num_hidden_layers": 12,
41
+ "pad_token_id": 3,
42
+ "position_embedding_type": "absolute",
43
+ "problem_type": "single_label_classification",
44
+ "torch_dtype": "float32",
45
+ "transformers_version": "4.26.1",
46
+ "type_vocab_size": 2,
47
+ "use_cache": true,
48
+ "vocab_size": 32000
49
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f21d47a11d2a71fa5a8029698ddec269ed7b05544ce1bc5aa0d09837ce9ccf08
3
+ size 442570677