MichaelOnly commited on
Commit
1082aef
1 Parent(s): 1799df4

Upload OPTForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +70 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "ArthurZ/opt-350m-dummy-sc",
3
+ "_remove_final_layer_norm": false,
4
+ "activation_dropout": 0.0,
5
+ "activation_function": "relu",
6
+ "architectures": [
7
+ "OPTForSequenceClassification"
8
+ ],
9
+ "attention_dropout": 0.0,
10
+ "bos_token_id": 2,
11
+ "do_layer_norm_before": false,
12
+ "dropout": 0.1,
13
+ "enable_bias": true,
14
+ "eos_token_id": 2,
15
+ "ffn_dim": 4096,
16
+ "hidden_size": 1024,
17
+ "id2label": {
18
+ "0": "Attack",
19
+ "1": "Complete quest",
20
+ "2": "Deliver",
21
+ "3": "Drival",
22
+ "4": "Exchange",
23
+ "5": "Farewell",
24
+ "6": "Follow",
25
+ "7": "General",
26
+ "8": "Greeting",
27
+ "9": "Join",
28
+ "10": "Joke",
29
+ "11": "Knowledge",
30
+ "12": "Move",
31
+ "13": "Protect",
32
+ "14": "Recieve quest",
33
+ "15": "Message",
34
+ "16": "Threat"
35
+ },
36
+ "init_std": 0.02,
37
+ "label2id": {
38
+ "Attack": 0,
39
+ "Complete quest": 1,
40
+ "Deliver": 2,
41
+ "Drival": 3,
42
+ "Exchange": 4,
43
+ "Farewell": 5,
44
+ "Follow": 6,
45
+ "General": 7,
46
+ "Greeting": 8,
47
+ "Join": 9,
48
+ "Joke": 10,
49
+ "Knowledge": 11,
50
+ "Message": 15,
51
+ "Move": 12,
52
+ "Protect": 13,
53
+ "Recieve quest": 14,
54
+ "Threat": 16
55
+ },
56
+ "layer_norm_elementwise_affine": true,
57
+ "layerdrop": 0.0,
58
+ "max_position_embeddings": 2048,
59
+ "model_type": "opt",
60
+ "num_attention_heads": 16,
61
+ "num_hidden_layers": 24,
62
+ "pad_token_id": 1,
63
+ "prefix": "</s>",
64
+ "problem_type": "single_label_classification",
65
+ "torch_dtype": "float32",
66
+ "transformers_version": "4.29.1",
67
+ "use_cache": true,
68
+ "vocab_size": 50272,
69
+ "word_embed_proj_dim": 512
70
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a75175c1c2149c7678d3fd5b726b5711aeee945a8be35ec45ed788cfa7fac585
3
+ size 1324952289