Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,126 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: s3nh/phi-1_5_dolly_instruction_polish
|
3 |
+
inference: false
|
4 |
+
language:
|
5 |
+
- pl
|
6 |
+
- en
|
7 |
+
library_name: transformers
|
8 |
+
license: openrail
|
9 |
+
model_creator: s3nh
|
10 |
+
model_name: phi-1_5_dolly_instruction_polish
|
11 |
+
pipeline_tag: text-generation
|
12 |
+
quantized_by: afrideva
|
13 |
+
tags:
|
14 |
+
- gguf
|
15 |
+
- ggml
|
16 |
+
- quantized
|
17 |
+
- q2_k
|
18 |
+
- q3_k_m
|
19 |
+
- q4_k_m
|
20 |
+
- q5_k_m
|
21 |
+
- q6_k
|
22 |
+
- q8_0
|
23 |
+
---
|
24 |
+
# s3nh/phi-1_5_dolly_instruction_polish-GGUF
|
25 |
+
|
26 |
+
Quantized GGUF model files for [phi-1_5_dolly_instruction_polish](https://huggingface.co/s3nh/phi-1_5_dolly_instruction_polish) from [s3nh](https://huggingface.co/s3nh)
|
27 |
+
|
28 |
+
|
29 |
+
| Name | Quant method | Size |
|
30 |
+
| ---- | ---- | ---- |
|
31 |
+
| [phi-1_5_dolly_instruction_polish.fp16.gguf](https://huggingface.co/afrideva/phi-1_5_dolly_instruction_polish-GGUF/resolve/main/phi-1_5_dolly_instruction_polish.fp16.gguf) | fp16 | 2.84 GB |
|
32 |
+
| [phi-1_5_dolly_instruction_polish.q2_k.gguf](https://huggingface.co/afrideva/phi-1_5_dolly_instruction_polish-GGUF/resolve/main/phi-1_5_dolly_instruction_polish.q2_k.gguf) | q2_k | 612.98 MB |
|
33 |
+
| [phi-1_5_dolly_instruction_polish.q3_k_m.gguf](https://huggingface.co/afrideva/phi-1_5_dolly_instruction_polish-GGUF/resolve/main/phi-1_5_dolly_instruction_polish.q3_k_m.gguf) | q3_k_m | 765.45 MB |
|
34 |
+
| [phi-1_5_dolly_instruction_polish.q4_k_m.gguf](https://huggingface.co/afrideva/phi-1_5_dolly_instruction_polish-GGUF/resolve/main/phi-1_5_dolly_instruction_polish.q4_k_m.gguf) | q4_k_m | 918.31 MB |
|
35 |
+
| [phi-1_5_dolly_instruction_polish.q5_k_m.gguf](https://huggingface.co/afrideva/phi-1_5_dolly_instruction_polish-GGUF/resolve/main/phi-1_5_dolly_instruction_polish.q5_k_m.gguf) | q5_k_m | 1.06 GB |
|
36 |
+
| [phi-1_5_dolly_instruction_polish.q6_k.gguf](https://huggingface.co/afrideva/phi-1_5_dolly_instruction_polish-GGUF/resolve/main/phi-1_5_dolly_instruction_polish.q6_k.gguf) | q6_k | 1.17 GB |
|
37 |
+
| [phi-1_5_dolly_instruction_polish.q8_0.gguf](https://huggingface.co/afrideva/phi-1_5_dolly_instruction_polish-GGUF/resolve/main/phi-1_5_dolly_instruction_polish.q8_0.gguf) | q8_0 | 1.51 GB |
|
38 |
+
|
39 |
+
|
40 |
+
|
41 |
+
## Original Model Card:
|
42 |
+
microsoft/phi_1.5 finetuned on s3nh/dolly_instruction_polish.
|
43 |
+
|
44 |
+
Finetuned with QLora, provided version is adapter merged with base model.
|
45 |
+
Load in 4 bit, sequence length set to 1024.
|
46 |
+
|
47 |
+
|
48 |
+
axolotl config
|
49 |
+
```
|
50 |
+
base_model: microsoft/phi-2
|
51 |
+
model_type: AutoModelForCausalLM
|
52 |
+
tokenizer_type: AutoTokenizer
|
53 |
+
is_llama_derived_model: false
|
54 |
+
trust_remote_code: true
|
55 |
+
|
56 |
+
load_in_8bit: false
|
57 |
+
load_in_4bit: true
|
58 |
+
strict: false
|
59 |
+
|
60 |
+
datasets:
|
61 |
+
- path: s3nh/alpaca-dolly-instruction-only-polish
|
62 |
+
type: alpaca
|
63 |
+
|
64 |
+
dataset_prepared_path:
|
65 |
+
val_set_size: 0.05
|
66 |
+
output_dir: ./phi-2-sft-out
|
67 |
+
|
68 |
+
sequence_len: 1024
|
69 |
+
sample_packing: false # not CURRENTLY compatible with LoRAs
|
70 |
+
pad_to_sequence_len:
|
71 |
+
|
72 |
+
adapter: qlora
|
73 |
+
lora_model_dir:
|
74 |
+
lora_r: 64
|
75 |
+
lora_alpha: 32
|
76 |
+
lora_dropout: 0.05
|
77 |
+
lora_target_linear: true
|
78 |
+
lora_fan_in_fan_out:
|
79 |
+
|
80 |
+
wandb_project:
|
81 |
+
wandb_entity:
|
82 |
+
wandb_watch:
|
83 |
+
wandb_name:
|
84 |
+
wandb_log_model:
|
85 |
+
|
86 |
+
gradient_accumulation_steps: 1
|
87 |
+
micro_batch_size: 1
|
88 |
+
num_epochs: 4
|
89 |
+
optimizer: adamw_torch
|
90 |
+
adam_beta2: 0.95
|
91 |
+
adam_epsilon: 0.00001
|
92 |
+
max_grad_norm: 1.0
|
93 |
+
lr_scheduler: cosine
|
94 |
+
learning_rate: 0.000003
|
95 |
+
|
96 |
+
train_on_inputs: false
|
97 |
+
group_by_length: true
|
98 |
+
bf16: true
|
99 |
+
fp16: false
|
100 |
+
tf32: true
|
101 |
+
|
102 |
+
gradient_checkpointing:
|
103 |
+
early_stopping_patience:
|
104 |
+
resume_from_checkpoint: false
|
105 |
+
local_rank:
|
106 |
+
logging_steps: 100
|
107 |
+
xformers_attention:
|
108 |
+
flash_attention: true
|
109 |
+
|
110 |
+
warmup_steps: 10
|
111 |
+
evals_per_epoch: 4
|
112 |
+
saves_per_epoch:
|
113 |
+
save_strategy: steps
|
114 |
+
save_steps: 5000
|
115 |
+
debug:
|
116 |
+
deepspeed:
|
117 |
+
weight_decay: 0.1
|
118 |
+
fsdp:
|
119 |
+
fsdp_config:
|
120 |
+
resize_token_embeddings_to_32x: true
|
121 |
+
special_tokens:
|
122 |
+
bos_token: "<|endoftext|>"
|
123 |
+
eos_token: "<|endoftext|>"
|
124 |
+
unk_token: "<|endoftext|>"
|
125 |
+
pad_token: "<|endoftext|>"
|
126 |
+
```
|