Run this model with HF Jobs
Run mtzig/debug_test on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/mtzig/debug_test. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/mtzig/debug_test on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use mtzig/debug_test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mtzig/debug_test with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("TinyPixel/small-llama2") model = PeftModel.from_pretrained(base_model, "mtzig/debug_test") - Notebooks
- Google Colab
- Kaggle
Model save
Browse filesFiles changed (4)
- README.md+25-11
- adapter_config.json+2-5
- adapter_model.safetensors+2-2
- training_args.bin+1-1
1223456789101112135 unmodified lines19202122232425262728293013 unmodified lines44454636374748495051414243445253545556575859606162636465666768556970575859717273---base_model: TinyPixel/small-llama2library_name: peftbase_model: TinyPixel/small-llama2tags:- generated_from_trainermetrics:- accuracy- precision- recall- f1model-index:- name: debug_test results: []5 unmodified lines# debug_test
This model is a fine-tuned version of [TinyPixel/small-llama2](https://huggingface.co/TinyPixel/small-llama2) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 0.7894- Accuracy: 0.4982- Precision: 0.3939- Recall: 0.7114- F1: 0.5071
## Model description
13 unmodified lines
The following hyperparameters were used during training:- learning_rate: 2e-05- train_batch_size: 5- eval_batch_size: 5- train_batch_size: 8- eval_batch_size: 8- seed: 42- distributed_type: multi-GPU- num_devices: 4- gradient_accumulation_steps: 5- total_train_batch_size: 100- total_eval_batch_size: 20- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- gradient_accumulation_steps: 2- total_train_batch_size: 64- total_eval_batch_size: 32- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: cosine- lr_scheduler_warmup_ratio: 0.1- num_epochs: 1
### Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 ||:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|| 0.8214 | 1.0 | 5 | 0.7894 | 0.4982 | 0.3939 | 0.7114 | 0.5071 |
### Framework versions
- PEFT 0.12.0- PEFT 0.13.2- Transformers 4.46.0- Pytorch 2.4.0+cu118- Datasets 3.0.0- Tokenizers 0.20.1- Pytorch 2.5.1+cu124- Datasets 3.1.0- Tokenizers 0.20.313 unmodified lines14151617181920171819202 unmodified lines232425292627282913 unmodified lines "lora_dropout": 0.05, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": [ "classifier", "score" ], "modules_to_save": null, "peft_type": "LORA", "r": 16, "rank_pattern": {},2 unmodified lines "v_proj", "q_proj" ], "task_type": "TOKEN_CLS", "task_type": "CAUSAL_LM", "use_dora": false, "use_rslora": false}12323version https://git-lfs.github.com/spec/v1oid sha256:295fbb6912088e76227fdd91a6b85ca49225304bb0ef961fa0ec23e73b1aef67size 3160464oid sha256:de830bbf06fd72c2f571570e38cad20ccd7f037c099ab1023751fe4f4abc47e2size 31520801223version https://git-lfs.github.com/spec/v1oid sha256:cbfa9dbe3b714e5e01f73c5e480df616663aca49b5819d36459e038d0a510ef7oid sha256:7104657a3a775262b9f821d30163b8cb0a53129465c1e5c5d23a3645ea1cf4fasize 5240README.md+25-11
adapter_config.json+2-5
adapter_model.safetensors+2-2
training_args.bin+1-1