neerajkr2k14
commited on
Commit
•
ce5b6b9
1
Parent(s):
dc9dd44
Upload OPTForSequenceClassification
Browse files- config.json +37 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/opt-350m",
|
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": "LABEL_0"
|
19 |
+
},
|
20 |
+
"init_std": 0.02,
|
21 |
+
"label2id": {
|
22 |
+
"LABEL_0": 0
|
23 |
+
},
|
24 |
+
"layer_norm_elementwise_affine": true,
|
25 |
+
"layerdrop": 0.0,
|
26 |
+
"max_position_embeddings": 2048,
|
27 |
+
"model_type": "opt",
|
28 |
+
"num_attention_heads": 16,
|
29 |
+
"num_hidden_layers": 24,
|
30 |
+
"pad_token_id": 1,
|
31 |
+
"prefix": "</s>",
|
32 |
+
"torch_dtype": "bfloat16",
|
33 |
+
"transformers_version": "4.30.0.dev0",
|
34 |
+
"use_cache": true,
|
35 |
+
"vocab_size": 50272,
|
36 |
+
"word_embed_proj_dim": 512
|
37 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:86be4430ed66835671617a0f53081ea6e337a7c3fe914031e55fb8124a648e72
|
3 |
+
size 662520225
|