Built with Axolotl

See axolotl config

axolotl version: 0.4.1

adapter: lora
base_model: codellama/CodeLlama-7b-hf
bf16: auto
dataset_prepared_path: null
datasets:
- data_files:
  - 68734b4f90f9c664_train_data.json
  ds_type: json
  format: custom
  path: 68734b4f90f9c664_train_data.json
  type:
    field: null
    field_input: null
    field_instruction: anchor
    field_output: positive
    field_system: null
    format: null
    no_input_format: null
    system_format: '{system}'
    system_prompt: ''
debug: null
deepspeed: null
early_stopping_patience: null
evals_per_epoch: 2
flash_attention: true
fp16: null
fsdp: null
fsdp_config: null
gradient_accumulation_steps: 4
gradient_checkpointing: true
group_by_length: false
hub_model_id: taopanda-1/afbeede2-205c-45d3-b82e-143d84251d6b
learning_rate: 0.0002
load_in_4bit: false
load_in_8bit: true
local_rank: null
logging_steps: 1
lora_alpha: 16
lora_dropout: 0.05
lora_fan_in_fan_out: null
lora_model_dir: null
lora_r: 32
lora_target_linear: true
lr_scheduler: cosine
micro_batch_size: 2
model_type: LlamaForCausalLM
num_epochs: 1
optimizer: adamw_bnb_8bit
output_dir: ./outputs/lora-out/taopanda-1_4b0c7dd9-6e4b-4975-b398-2381fefc6887
pad_to_sequence_len: true
resume_from_checkpoint: null
s2_attention: null
sample_packing: true
saves_per_epoch: 1
seed: 25122
sequence_len: 4096
special_tokens:
  pad_token: </s>
strict: false
tf32: false
tokenizer_type: CodeLlamaTokenizer
train_on_inputs: false
trust_remote_code: true
val_set_size: 0.05
wandb_entity: fatcat87-taopanda
wandb_log_model: null
wandb_mode: online
wandb_name: taopanda-1_4b0c7dd9-6e4b-4975-b398-2381fefc6887
wandb_project: subnet56
wandb_runid: taopanda-1_4b0c7dd9-6e4b-4975-b398-2381fefc6887
wandb_watch: null
warmup_steps: 10
weight_decay: 0.0
xformers_attention: null

Visualize in Weights & Biases

afbeede2-205c-45d3-b82e-143d84251d6b

This model is a fine-tuned version of codellama/CodeLlama-7b-hf on the None dataset. It achieves the following results on the evaluation set:

  • Loss: 0.7881

Model description

More information needed

Intended uses & limitations

More information needed

Training and evaluation data

More information needed

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 0.0002
  • train_batch_size: 2
  • eval_batch_size: 2
  • seed: 25122
  • distributed_type: multi-GPU
  • num_devices: 4
  • gradient_accumulation_steps: 4
  • total_train_batch_size: 32
  • total_eval_batch_size: 8
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: cosine
  • lr_scheduler_warmup_steps: 10
  • num_epochs: 1

Training results

Training Loss Epoch Step Validation Loss
1.5798 0.0087 1 1.5708
0.7984 0.5022 58 0.7881

Framework versions

  • PEFT 0.11.1
  • Transformers 4.42.3
  • Pytorch 2.3.0+cu121
  • Datasets 2.19.1
  • Tokenizers 0.19.1
Downloads last month
5
Inference API
Unable to determine this model’s pipeline type. Check the docs .

Model tree for taopanda-1/afbeede2-205c-45d3-b82e-143d84251d6b

Adapter
(447)
this model