Qilex commited on
Commit
a07853f
1 Parent(s): 4fcae7f

Upload OPTForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +42 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/opt-1.3b",
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": true,
12
+ "dropout": 0.1,
13
+ "enable_bias": true,
14
+ "eos_token_id": 2,
15
+ "ffn_dim": 8192,
16
+ "hidden_size": 2048,
17
+ "id2label": {
18
+ "0": "Not Confident",
19
+ "1": "Somewhat Confident",
20
+ "2": "Highly Confident"
21
+ },
22
+ "init_std": 0.02,
23
+ "label2id": {
24
+ "Highly Confident": 2,
25
+ "Not Confident": 0,
26
+ "Somewhat Confident": 1
27
+ },
28
+ "layer_norm_elementwise_affine": true,
29
+ "layerdrop": 0.0,
30
+ "max_position_embeddings": 2048,
31
+ "model_type": "opt",
32
+ "num_attention_heads": 32,
33
+ "num_hidden_layers": 24,
34
+ "pad_token_id": 1,
35
+ "prefix": "</s>",
36
+ "problem_type": "single_label_classification",
37
+ "torch_dtype": "float32",
38
+ "transformers_version": "4.28.1",
39
+ "use_cache": true,
40
+ "vocab_size": 50272,
41
+ "word_embed_proj_dim": 2048
42
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c28513dfb504189cde04be5574c433e4ec16374b2bebe179f8871a43ecaf5ebe
3
+ size 5263187035