kibru commited on
Commit
eda1630
1 Parent(s): ca051c6

Upload OPTForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +37 -0
  2. model.safetensors +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.35.2",
34
+ "use_cache": true,
35
+ "vocab_size": 50272,
36
+ "word_embed_proj_dim": 512
37
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d87a8c797fa94e8f30e5d9561885995b86e8ec7d4e55fed49b04f70e49132fa9
3
+ size 662439272