codewithdark commited on
Commit
a5a054f
·
verified ·
1 Parent(s): ccec179

Upload training artifacts

Browse files
Files changed (1) hide show
  1. config.json +99 -0
config.json ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "vocab_size": 51200,
3
+ "hidden_size": 2048,
4
+ "intermediate_size": 8192,
5
+ "num_hidden_layers": 24,
6
+ "num_attention_heads": 32,
7
+ "num_key_value_heads": 32,
8
+ "resid_pdrop": 0.0,
9
+ "embd_pdrop": 0.0,
10
+ "attention_dropout": 0.0,
11
+ "hidden_act": "gelu_new",
12
+ "max_position_embeddings": 2048,
13
+ "initializer_range": 0.02,
14
+ "layer_norm_eps": 1e-05,
15
+ "use_cache": true,
16
+ "rope_theta": 10000.0,
17
+ "rope_scaling": null,
18
+ "partial_rotary_factor": 0.5,
19
+ "qk_layernorm": false,
20
+ "return_dict": true,
21
+ "output_hidden_states": false,
22
+ "torchscript": false,
23
+ "dtype": "float16",
24
+ "pruned_heads": {},
25
+ "tie_word_embeddings": false,
26
+ "chunk_size_feed_forward": 0,
27
+ "is_encoder_decoder": false,
28
+ "is_decoder": false,
29
+ "cross_attention_hidden_size": null,
30
+ "add_cross_attention": false,
31
+ "tie_encoder_decoder": false,
32
+ "architectures": [
33
+ "PhiForCausalLM"
34
+ ],
35
+ "finetuning_task": null,
36
+ "id2label": {
37
+ "0": "LABEL_0",
38
+ "1": "LABEL_1"
39
+ },
40
+ "label2id": {
41
+ "LABEL_0": 0,
42
+ "LABEL_1": 1
43
+ },
44
+ "task_specific_params": null,
45
+ "problem_type": null,
46
+ "tokenizer_class": null,
47
+ "prefix": null,
48
+ "bos_token_id": null,
49
+ "pad_token_id": null,
50
+ "eos_token_id": null,
51
+ "sep_token_id": null,
52
+ "decoder_start_token_id": null,
53
+ "max_length": 20,
54
+ "min_length": 0,
55
+ "do_sample": false,
56
+ "early_stopping": false,
57
+ "num_beams": 1,
58
+ "temperature": 1.0,
59
+ "top_k": 50,
60
+ "top_p": 1.0,
61
+ "typical_p": 1.0,
62
+ "repetition_penalty": 1.0,
63
+ "length_penalty": 1.0,
64
+ "no_repeat_ngram_size": 0,
65
+ "encoder_no_repeat_ngram_size": 0,
66
+ "bad_words_ids": null,
67
+ "num_return_sequences": 1,
68
+ "output_scores": false,
69
+ "return_dict_in_generate": false,
70
+ "forced_bos_token_id": null,
71
+ "forced_eos_token_id": null,
72
+ "remove_invalid_values": false,
73
+ "exponential_decay_length_penalty": null,
74
+ "suppress_tokens": null,
75
+ "begin_suppress_tokens": null,
76
+ "num_beam_groups": 1,
77
+ "diversity_penalty": 0.0,
78
+ "_name_or_path": "microsoft/phi-1",
79
+ "transformers_version": "4.57.3",
80
+ "model_type": "phi",
81
+ "tf_legacy_loss": false,
82
+ "use_bfloat16": false,
83
+ "quantization_config": {
84
+ "quant_method": "bitsandbytes",
85
+ "_load_in_8bit": true,
86
+ "_load_in_4bit": false,
87
+ "llm_int8_threshold": 6.0,
88
+ "llm_int8_skip_modules": null,
89
+ "llm_int8_enable_fp32_cpu_offload": false,
90
+ "llm_int8_has_fp16_weight": false,
91
+ "bnb_4bit_quant_type": "fp4",
92
+ "bnb_4bit_use_double_quant": false,
93
+ "bnb_4bit_compute_dtype": "float32",
94
+ "bnb_4bit_quant_storage": "uint8",
95
+ "load_in_4bit": false,
96
+ "load_in_8bit": true
97
+ },
98
+ "output_attentions": false
99
+ }