Upload config.json with huggingface_hub
Browse files- config.json +61 -0
config.json
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Concated-Progen2-xlarge-CATH42-AFDB",
|
3 |
+
"activation_function": "gelu_new",
|
4 |
+
"architectures": [
|
5 |
+
"ProGenForCausalLM"
|
6 |
+
],
|
7 |
+
"attn_pdrop": 0.0,
|
8 |
+
"auto_map": {
|
9 |
+
"AutoConfig": "configuration_progen.ProGenConfig",
|
10 |
+
"AutoModelForCausalLM": "modeling_InstructProGen.ProGenForCausalLM"
|
11 |
+
},
|
12 |
+
"bos_token_id": 1,
|
13 |
+
"embd_pdrop": 0.0,
|
14 |
+
"eos_token_id": 2,
|
15 |
+
"gradient_checkpointing": false,
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"layer_norm_epsilon": 1e-05,
|
18 |
+
"model_type": "progen",
|
19 |
+
"n_ctx": 2048,
|
20 |
+
"n_embd": 4096,
|
21 |
+
"n_head": 16,
|
22 |
+
"n_inner": null,
|
23 |
+
"n_layer": 32,
|
24 |
+
"n_positions": 1024,
|
25 |
+
"resid_pdrop": 0.0,
|
26 |
+
"rotary_dim": 64,
|
27 |
+
"scale_attn_weights": true,
|
28 |
+
"structure": {
|
29 |
+
"embedding_keys": [
|
30 |
+
"esm_if_emb",
|
31 |
+
"chroma_emb_design",
|
32 |
+
"prorefiner_emb"
|
33 |
+
],
|
34 |
+
"max_seqlen": 512,
|
35 |
+
"n_queries": -1,
|
36 |
+
"num_heads": 16,
|
37 |
+
"output_dim": 4096,
|
38 |
+
"projector": "mlp",
|
39 |
+
"structure_emb_path_prefix": "structure_emb",
|
40 |
+
"width": 768
|
41 |
+
},
|
42 |
+
"summary_activation": null,
|
43 |
+
"summary_first_dropout": 0.1,
|
44 |
+
"summary_proj_to_labels": true,
|
45 |
+
"summary_type": "cls_index",
|
46 |
+
"summary_use_proj": true,
|
47 |
+
"task_specific_params": {
|
48 |
+
"text-generation": {
|
49 |
+
"do_sample": true,
|
50 |
+
"max_length": 50,
|
51 |
+
"temperature": 1.0
|
52 |
+
}
|
53 |
+
},
|
54 |
+
"tie_word_embeddings": false,
|
55 |
+
"tokenizer_type": "iPLMTokenizer",
|
56 |
+
"torch_dtype": "float32",
|
57 |
+
"transformers_version": "4.42.3",
|
58 |
+
"use_cache": true,
|
59 |
+
"vocab_size": 30,
|
60 |
+
"yarn": false
|
61 |
+
}
|