appledora commited on
Commit
90c43dc
·
verified ·
1 Parent(s): 63177d9

Upload ./recast2_llama/config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. recast2_llama/config.json +93 -0
recast2_llama/config.json ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "vocab_size": 32000,
3
+ "max_position_embeddings": 4096,
4
+ "hidden_size": 4096,
5
+ "intermediate_size": 11008,
6
+ "num_hidden_layers": 32,
7
+ "num_attention_heads": 32,
8
+ "num_key_value_heads": 32,
9
+ "hidden_act": "silu",
10
+ "initializer_range": 0.02,
11
+ "rms_norm_eps": 1e-06,
12
+ "pretraining_tp": 1,
13
+ "use_cache": true,
14
+ "mlp_bias": false,
15
+ "attention_bias": false,
16
+ "attention_dropout": 0.0,
17
+ "rope_theta": 10000.0,
18
+ "rope_scaling": null,
19
+ "torch_dtype": null,
20
+ "num_templates": 16,
21
+ "num_groups": 16,
22
+ "coef_height": 8,
23
+ "num_cf": 1,
24
+ "coef_width": 16,
25
+ "return_dict": true,
26
+ "output_hidden_states": false,
27
+ "output_attentions": false,
28
+ "torchscript": false,
29
+ "use_bfloat16": false,
30
+ "tf_legacy_loss": false,
31
+ "pruned_heads": {},
32
+ "tie_word_embeddings": false,
33
+ "chunk_size_feed_forward": 0,
34
+ "is_encoder_decoder": false,
35
+ "is_decoder": false,
36
+ "cross_attention_hidden_size": null,
37
+ "add_cross_attention": false,
38
+ "tie_encoder_decoder": false,
39
+ "max_length": 20,
40
+ "min_length": 0,
41
+ "do_sample": false,
42
+ "early_stopping": false,
43
+ "num_beams": 1,
44
+ "num_beam_groups": 1,
45
+ "diversity_penalty": 0.0,
46
+ "temperature": 1.0,
47
+ "top_k": 50,
48
+ "top_p": 1.0,
49
+ "typical_p": 1.0,
50
+ "repetition_penalty": 1.0,
51
+ "length_penalty": 1.0,
52
+ "no_repeat_ngram_size": 0,
53
+ "encoder_no_repeat_ngram_size": 0,
54
+ "bad_words_ids": null,
55
+ "num_return_sequences": 1,
56
+ "output_scores": false,
57
+ "return_dict_in_generate": false,
58
+ "forced_bos_token_id": null,
59
+ "forced_eos_token_id": null,
60
+ "remove_invalid_values": false,
61
+ "exponential_decay_length_penalty": null,
62
+ "suppress_tokens": null,
63
+ "begin_suppress_tokens": null,
64
+ "architectures": [
65
+ "RECAST7b_LlamaForCausalLM"
66
+ ],
67
+ "finetuning_task": null,
68
+ "id2label": {
69
+ "0": "LABEL_0",
70
+ "1": "LABEL_1"
71
+ },
72
+ "label2id": {
73
+ "LABEL_0": 0,
74
+ "LABEL_1": 1
75
+ },
76
+ "tokenizer_class": null,
77
+ "prefix": null,
78
+ "bos_token_id": 1,
79
+ "pad_token_id": 0,
80
+ "eos_token_id": 2,
81
+ "sep_token_id": null,
82
+ "decoder_start_token_id": null,
83
+ "task_specific_params": null,
84
+ "problem_type": null,
85
+ "_name_or_path": "",
86
+ "transformers_version": "4.43.0.dev0",
87
+ "model_type": "recast7b_llama",
88
+ "auto_map": {
89
+ "AutoConfig": "configuration_recast_llama.RECAST7b_llama",
90
+ "AutoModel": "modeling_recast_llama.RECAST7b_llamaModel",
91
+ "AutoModelForCausalLM": "modeling_recast_llama.RECAST7b_LlamaForCausalLM"
92
+ }
93
+ }