Upload config.json with huggingface_hub
Browse files- config.json +81 -0
config.json
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"vocab_size": 32004,
|
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-05,
|
12 |
+
"pretraining_tp": 1,
|
13 |
+
"use_cache": true,
|
14 |
+
"rope_theta": 10000.0,
|
15 |
+
"rope_scaling": null,
|
16 |
+
"attention_bias": false,
|
17 |
+
"return_dict": true,
|
18 |
+
"output_hidden_states": false,
|
19 |
+
"output_attentions": false,
|
20 |
+
"torchscript": false,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"use_bfloat16": false,
|
23 |
+
"tf_legacy_loss": false,
|
24 |
+
"pruned_heads": {},
|
25 |
+
"tie_word_embeddings": false,
|
26 |
+
"is_encoder_decoder": false,
|
27 |
+
"is_decoder": false,
|
28 |
+
"cross_attention_hidden_size": null,
|
29 |
+
"add_cross_attention": false,
|
30 |
+
"tie_encoder_decoder": false,
|
31 |
+
"max_length": 20,
|
32 |
+
"min_length": 0,
|
33 |
+
"do_sample": false,
|
34 |
+
"early_stopping": false,
|
35 |
+
"num_beams": 1,
|
36 |
+
"num_beam_groups": 1,
|
37 |
+
"diversity_penalty": 0.0,
|
38 |
+
"temperature": 1.0,
|
39 |
+
"top_k": 50,
|
40 |
+
"top_p": 1.0,
|
41 |
+
"typical_p": 1.0,
|
42 |
+
"repetition_penalty": 1.0,
|
43 |
+
"length_penalty": 1.0,
|
44 |
+
"no_repeat_ngram_size": 0,
|
45 |
+
"encoder_no_repeat_ngram_size": 0,
|
46 |
+
"bad_words_ids": null,
|
47 |
+
"num_return_sequences": 1,
|
48 |
+
"chunk_size_feed_forward": 0,
|
49 |
+
"output_scores": false,
|
50 |
+
"return_dict_in_generate": false,
|
51 |
+
"forced_bos_token_id": null,
|
52 |
+
"forced_eos_token_id": null,
|
53 |
+
"remove_invalid_values": false,
|
54 |
+
"exponential_decay_length_penalty": null,
|
55 |
+
"suppress_tokens": null,
|
56 |
+
"begin_suppress_tokens": null,
|
57 |
+
"architectures": [
|
58 |
+
"LlamaForCausalLM"
|
59 |
+
],
|
60 |
+
"finetuning_task": null,
|
61 |
+
"id2label": {
|
62 |
+
"0": "LABEL_0",
|
63 |
+
"1": "LABEL_1"
|
64 |
+
},
|
65 |
+
"label2id": {
|
66 |
+
"LABEL_0": 0,
|
67 |
+
"LABEL_1": 1
|
68 |
+
},
|
69 |
+
"tokenizer_class": null,
|
70 |
+
"prefix": null,
|
71 |
+
"bos_token_id": 1,
|
72 |
+
"pad_token_id": 0,
|
73 |
+
"eos_token_id": 2,
|
74 |
+
"sep_token_id": null,
|
75 |
+
"decoder_start_token_id": null,
|
76 |
+
"task_specific_params": null,
|
77 |
+
"problem_type": null,
|
78 |
+
"_name_or_path": "NousResearch/Llama-2-7b-hf",
|
79 |
+
"transformers_version": "4.34.1",
|
80 |
+
"model_type": "llama"
|
81 |
+
}
|