Downloads · 30 days
16
20% of all-time downloads
neginashz/qlora-qwen-25-7b-instruct-2
qlora-qwen-25-7b-instruct-2 is a machine learning model from neginashz. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
16
20% of all-time downloads
All-time downloads
80
Public
Repo size
3.6 GB
Likes
0
Public
Click a slice to open those files.
.safetensors323 MB · 95%
From the Hugging Face model README
axolotl version: 0.6.0
base_model: Qwen/Qwen2.5-7B-Instruct
trust_remote_code: true
load_in_8bit: false
load_in_4bit: true
strict: false
datasets:
- path: medalpaca/medical_meadow_medqa
type: alpaca
dataset_prepared_path:
val_set_size: 0.2
output_dir: ./qlora-qwen25-instruct-2
sequence_len: 2048
sample_packing: true
eval_sample_packing: true
pad_to_sequence_len: true
adapter: qlora
lora_model_dir:
lora_r: 32
lora_alpha: 128
lora_dropout: 0.05
lora_target_linear: true
lora_fan_in_fan_out:
wandb_project:
wandb_entity:
wandb_watch:
wandb_name:
wandb_log_model:
gradient_accumulation_steps: 1
micro_batch_size: 2
num_epochs: 3
optimizer: adamw_torch
lr_scheduler: cosine
learning_rate: 0.00002
train_on_inputs: false
group_by_length: false
bf16: true
fp16:
tf32:
gradient_checkpointing: true
gradient_checkpointing_kwargs:
use_reentrant: false
early_stopping_patience:
resume_from_checkpoint:
local_rank:
logging_steps: 1
xformers_attention:
flash_attention: true
warmup_steps:
evals_per_epoch: 4
saves_per_epoch: 1
debug:
deepspeed:
weight_decay: 0.0
fsdp:
- full_shard
- auto_wrap
fsdp_config:
fsdp_limit_all_gathers: true
fsdp_sync_module_states: true
fsdp_offload_params: true
fsdp_use_orig_params: false
fsdp_cpu_ram_efficient_loading: true
fsdp_auto_wrap_policy: TRANSFORMER_BASED_WRAP
fsdp_transformer_layer_cls_to_wrap: Qwen2DecoderLayer
fsdp_state_dict_type: FULL_STATE_DICT
fsdp_sharding_strategy: FULL_SHARD
special_tokens:
wandb_project: qlora-qwen-25-7b-instruct
wandb_entity:
wandb_watch:
wandb_name:
wandb_log_model:
hub_model_id: neginashz/qlora-qwen-25-7b-instruct-2
hub_strategy:
early_stopping_patience:
resume_from_checkpoint:
auto_resume_from_checkpoints: true
</details><br>
This model is a fine-tuned version of Qwen/Qwen2.5-7B-Instruct on the medalpaca/medical_meadow_medqa dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.1255 | 0.25 | 37 | 0.1342 |
| 0.1201 | 0.5 | 74 | 0.1235 |
| 0.1227 | 0.75 | 111 | 0.1159 |
| 0.1289 | 1.0 | 148 | 0.1116 |
| 0.1004 | 1.25 | 185 | 0.1131 |
| 0.0783 | 1.5 | 222 | 0.1124 |
| 0.053 | 1.75 | 259 | 0.1171 |
| 0.0747 | 2.0 | 296 | 0.1132 |
| 0.0629 | 2.25 | 333 | 0.1366 |
| 0.0655 | 2.5 | 370 | 0.1443 |
| 0.0492 | 2.75 | 407 | 0.1435 |
| 0.0509 | 3.0 | 444 | 0.1429 |