reecursion commited on
Commit
55a1739
1 Parent(s): 4bd483f

Upload config.json

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