hugohrban commited on
Commit
6efcc43
·
verified ·
1 Parent(s): 0552c1a

Upload ProGenForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +10 -5
  2. generation_config.json +6 -0
  3. model.safetensors +3 -0
config.json CHANGED
@@ -1,4 +1,5 @@
1
  {
 
2
  "activation_function": "gelu_new",
3
  "architectures": [
4
  "ProGenForCausalLM"
@@ -6,6 +7,7 @@
6
  "attn_pdrop": 0.0,
7
  "bos_token_id": 1,
8
  "embd_pdrop": 0.0,
 
9
  "eos_token_id": 2,
10
  "gradient_checkpointing": false,
11
  "initializer_range": 0.02,
@@ -13,25 +15,28 @@
13
  "model_type": "progen",
14
  "n_embd": 1024,
15
  "n_head": 16,
 
16
  "n_layer": 12,
17
  "n_positions": 1024,
 
18
  "rotary_dim": 32,
 
19
  "summary_activation": null,
20
  "summary_first_dropout": 0.1,
21
  "summary_proj_to_labels": true,
22
  "summary_type": "cls_index",
23
  "summary_use_proj": true,
24
- "transformers_version": "4.16.2",
25
- "tokenizer_class": "GPT2Tokenizer",
26
  "task_specific_params": {
27
  "text-generation": {
28
  "do_sample": true,
29
- "temperature": 1.0,
30
- "max_length": 50
31
  }
32
  },
 
33
  "torch_dtype": "float32",
 
34
  "use_cache": true,
35
  "vocab_size_emb": 37,
36
  "vocab_size_lm_head": 32
37
- }
 
1
  {
2
+ "_name_or_path": "hugohrban/progen2-small-mix7",
3
  "activation_function": "gelu_new",
4
  "architectures": [
5
  "ProGenForCausalLM"
 
7
  "attn_pdrop": 0.0,
8
  "bos_token_id": 1,
9
  "embd_pdrop": 0.0,
10
+ "embed_dim": 1024,
11
  "eos_token_id": 2,
12
  "gradient_checkpointing": false,
13
  "initializer_range": 0.02,
 
15
  "model_type": "progen",
16
  "n_embd": 1024,
17
  "n_head": 16,
18
+ "n_inner": null,
19
  "n_layer": 12,
20
  "n_positions": 1024,
21
+ "resid_pdrop": 0.0,
22
  "rotary_dim": 32,
23
+ "scale_attn_weights": true,
24
  "summary_activation": null,
25
  "summary_first_dropout": 0.1,
26
  "summary_proj_to_labels": true,
27
  "summary_type": "cls_index",
28
  "summary_use_proj": true,
 
 
29
  "task_specific_params": {
30
  "text-generation": {
31
  "do_sample": true,
32
+ "max_length": 50,
33
+ "temperature": 1.0
34
  }
35
  },
36
+ "tokenizer_class": "GPT2Tokenizer",
37
  "torch_dtype": "float32",
38
+ "transformers_version": "4.40.0",
39
  "use_cache": true,
40
  "vocab_size_emb": 37,
41
  "vocab_size_lm_head": 32
42
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "transformers_version": "4.40.0"
6
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26a519767e3ad388d1403b683421a8c1f6cb3b68018654b8632a91d732c352ca
3
+ size 617210712