appledora commited on
Commit
0d2cedc
·
verified ·
1 Parent(s): 94eb05a

Upload ./recast2_llama/config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. recast2_llama/config.json +92 -0
recast2_llama/config.json ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 2,
21
+ "num_groups": 16,
22
+ "coef_height": 32,
23
+ "coef_width": 64,
24
+ "return_dict": true,
25
+ "output_hidden_states": false,
26
+ "output_attentions": false,
27
+ "torchscript": false,
28
+ "use_bfloat16": false,
29
+ "tf_legacy_loss": false,
30
+ "pruned_heads": {},
31
+ "tie_word_embeddings": false,
32
+ "chunk_size_feed_forward": 0,
33
+ "is_encoder_decoder": false,
34
+ "is_decoder": false,
35
+ "cross_attention_hidden_size": null,
36
+ "add_cross_attention": false,
37
+ "tie_encoder_decoder": false,
38
+ "max_length": 20,
39
+ "min_length": 0,
40
+ "do_sample": false,
41
+ "early_stopping": false,
42
+ "num_beams": 1,
43
+ "num_beam_groups": 1,
44
+ "diversity_penalty": 0.0,
45
+ "temperature": 1.0,
46
+ "top_k": 50,
47
+ "top_p": 1.0,
48
+ "typical_p": 1.0,
49
+ "repetition_penalty": 1.0,
50
+ "length_penalty": 1.0,
51
+ "no_repeat_ngram_size": 0,
52
+ "encoder_no_repeat_ngram_size": 0,
53
+ "bad_words_ids": null,
54
+ "num_return_sequences": 1,
55
+ "output_scores": false,
56
+ "return_dict_in_generate": false,
57
+ "forced_bos_token_id": null,
58
+ "forced_eos_token_id": null,
59
+ "remove_invalid_values": false,
60
+ "exponential_decay_length_penalty": null,
61
+ "suppress_tokens": null,
62
+ "begin_suppress_tokens": null,
63
+ "architectures": [
64
+ "RECAST7b_LlamaForCausalLM"
65
+ ],
66
+ "finetuning_task": null,
67
+ "id2label": {
68
+ "0": "LABEL_0",
69
+ "1": "LABEL_1"
70
+ },
71
+ "label2id": {
72
+ "LABEL_0": 0,
73
+ "LABEL_1": 1
74
+ },
75
+ "tokenizer_class": null,
76
+ "prefix": null,
77
+ "bos_token_id": 1,
78
+ "pad_token_id": 0,
79
+ "eos_token_id": 2,
80
+ "sep_token_id": null,
81
+ "decoder_start_token_id": null,
82
+ "task_specific_params": null,
83
+ "problem_type": null,
84
+ "_name_or_path": "",
85
+ "transformers_version": "4.43.0.dev0",
86
+ "model_type": "recast7b_llama",
87
+ "auto_map": {
88
+ "AutoConfig": "configuration_recast_llama.RECAST7b_llama",
89
+ "AutoModel": "modeling_recast_llama.RECAST7b_llamaModel",
90
+ "AutoModelForCausalLM": "modeling_recast_llama.RECAST7b_LlamaForCausalLM"
91
+ }
92
+ }