Instructions to use cpheemagazine/04cd8694-8cd2-423e-bd43-6af0ba123327 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use cpheemagazine/04cd8694-8cd2-423e-bd43-6af0ba123327 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/Meta-Llama-3.1-8B") model = PeftModel.from_pretrained(base_model, "cpheemagazine/04cd8694-8cd2-423e-bd43-6af0ba123327") - Notebooks
- Google Colab
- Kaggle
See axolotl config
axolotl version: 0.10.0.dev0
adapter: lora
base_model: unsloth/Meta-Llama-3.1-8B
bf16: true
chat_template: llama3
datasets:
- data_files:
- 212a39e4fa44f2c8_train_data.json
ds_type: json
format: custom
path: /workspace/input_data/
type:
field_input: input
field_instruction: instruct
field_output: output
format: '{instruction} {input}'
no_input_format: '{instruction}'
system_format: '{system}'
system_prompt: ''
eval_max_new_tokens: 256
evals_per_epoch: 2
flash_attention: false
fp16: false
gradient_accumulation_steps: 1
gradient_checkpointing: true
group_by_length: true
hub_model_id: cpheemagazine/04cd8694-8cd2-423e-bd43-6af0ba123327
learning_rate: 0.0002
logging_steps: 10
lora_alpha: 16
lora_dropout: 0.05
lora_fan_in_fan_out: false
lora_r: 8
lora_target_linear: true
lr_scheduler: cosine
max_steps: 11
micro_batch_size: 4
mlflow_experiment_name: /tmp/212a39e4fa44f2c8_train_data.json
model_type: AutoModelForCausalLM
num_epochs: 3
optimizer: adamw_bnb_8bit
output_dir: miner_id_24
pad_to_sequence_len: true
sample_packing: false
save_steps: 108
sequence_len: 2048
tf32: true
tokenizer_type: AutoTokenizer
train_on_inputs: false
trust_remote_code: true
val_set_size: 0.05
wandb_entity: null
wandb_mode: online
wandb_name: b983b3b1-fba7-427a-bbe9-cacea876706d
wandb_project: Gradients-On-Demand
wandb_run: apriasmoro
wandb_runid: b983b3b1-fba7-427a-bbe9-cacea876706d
warmup_steps: 100
weight_decay: 0.01
04cd8694-8cd2-423e-bd43-6af0ba123327
This model is a fine-tuned version of unsloth/Meta-Llama-3.1-8B on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 1.4561
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: 4
- eval_batch_size: 4
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: cosine
- lr_scheduler_warmup_steps: 100
- training_steps: 11
Training results
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| No log | 0.0005 | 1 | 1.4249 |
| No log | 0.0010 | 2 | 1.4633 |
| No log | 0.0021 | 4 | 1.4482 |
| No log | 0.0031 | 6 | 1.4277 |
| No log | 0.0041 | 8 | 1.4339 |
| 0.9248 | 0.0051 | 10 | 1.4561 |
Framework versions
- PEFT 0.15.2
- Transformers 4.51.3
- Pytorch 2.5.1+cu124
- Datasets 3.5.1
- Tokenizers 0.21.1
- Downloads last month
- 3
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for cpheemagazine/04cd8694-8cd2-423e-bd43-6af0ba123327
Base model
unsloth/Meta-Llama-3.1-8B
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/Meta-Llama-3.1-8B") model = PeftModel.from_pretrained(base_model, "cpheemagazine/04cd8694-8cd2-423e-bd43-6af0ba123327")