aghorbani commited on
Commit
078ffd5
1 Parent(s): cdc3398

Upload model

Browse files
Files changed (3) hide show
  1. config.json +37 -0
  2. generation_config.json +7 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/opt-125m",
3
+ "_remove_final_layer_norm": false,
4
+ "activation_dropout": 0.0,
5
+ "activation_function": "relu",
6
+ "architectures": [
7
+ "OPTForCausalLM"
8
+ ],
9
+ "attention_dropout": 0.0,
10
+ "bos_token_id": 2,
11
+ "custom_pipelines": {
12
+ "text-generation": {
13
+ "impl": "h2oai_pipeline.H2OTextGenerationPipeline",
14
+ "pt": "AutoModelForCausalLM"
15
+ }
16
+ },
17
+ "do_layer_norm_before": true,
18
+ "dropout": 0.1,
19
+ "enable_bias": true,
20
+ "eos_token_id": 2,
21
+ "ffn_dim": 3072,
22
+ "hidden_size": 768,
23
+ "init_std": 0.02,
24
+ "layer_norm_elementwise_affine": true,
25
+ "layerdrop": 0.0,
26
+ "max_position_embeddings": 2048,
27
+ "model_type": "opt",
28
+ "num_attention_heads": 12,
29
+ "num_hidden_layers": 12,
30
+ "pad_token_id": 1,
31
+ "prefix": "</s>",
32
+ "torch_dtype": "float16",
33
+ "transformers_version": "4.36.1",
34
+ "use_cache": true,
35
+ "vocab_size": 50272,
36
+ "word_embed_proj_dim": 768
37
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 2,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 1,
6
+ "transformers_version": "4.36.1"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce00e8437d59b474a649dd148c56dbf8512cdfc5d8cd007f8dd6b1ac7b592a0c
3
+ size 250500968