Run this model with HF Jobs
Run RikoteMaster/sanity_check_model 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/RikoteMaster/sanity_check_model. 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/RikoteMaster/sanity_check_model 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 RikoteMaster/sanity_check_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use RikoteMaster/sanity_check_model with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-0.6B") model = PeftModel.from_pretrained(base_model, "RikoteMaster/sanity_check_model") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse filesFiles changed (25)
- .gitattributes+1
- adapter_config.json+4-4
- adapter_model.safetensors+1-1
- checkpoint-245/adapter_config.json+4-4
- checkpoint-245/adapter_model.safetensors+1-1
- checkpoint-245/optimizer.pt+1-1
- checkpoint-245/scheduler.pt+1-1
- checkpoint-245/trainer_state.json+114-114
- checkpoint-245/training_args.bin+1-1
- checkpoint-50/README.mdAdded+202
- checkpoint-50/adapter_config.jsonAdded+39
- checkpoint-50/adapter_model.safetensorsAdded+3
- checkpoint-50/added_tokens.jsonAdded+28
- checkpoint-50/chat_template.jinjaAdded+89
- checkpoint-50/merges.txtAdded
- checkpoint-50/optimizer.ptAdded+3
- checkpoint-50/rng_state.pthAdded+3
- checkpoint-50/scheduler.ptAdded+3
- checkpoint-50/special_tokens_map.jsonAdded+31
- checkpoint-50/tokenizer.jsonAdded+3
- checkpoint-50/tokenizer_config.jsonAdded+239
- checkpoint-50/trainer_state.jsonAdded+89
- checkpoint-50/training_args.binAdded+3
- checkpoint-50/vocab.jsonAdded
- training_args.bin+1-1
35 unmodified lines36373835 unmodified linescheckpoint-100/tokenizer.json filter=lfs diff=lfs merge=lfs -textcheckpoint-245/tokenizer.json filter=lfs diff=lfs merge=lfs -texttokenizer.json filter=lfs diff=lfs merge=lfs -text35 unmodified lines3637383935 unmodified linescheckpoint-100/tokenizer.json filter=lfs diff=lfs merge=lfs -textcheckpoint-245/tokenizer.json filter=lfs diff=lfs merge=lfs -texttokenizer.json filter=lfs diff=lfs merge=lfs -textcheckpoint-50/tokenizer.json filter=lfs diff=lfs merge=lfs -text
23 unmodified lines2425262728293031323334353623 unmodified lines"rank_pattern": {},"revision": null,"target_modules": ["q_proj","o_proj","v_proj","gate_proj","down_proj","k_proj","up_proj"],"task_type": "CAUSAL_LM","trainable_token_indices": null,23 unmodified lines2425262728293031323334353623 unmodified lines"rank_pattern": {},"revision": null,"target_modules": ["v_proj","down_proj","q_proj","k_proj","up_proj","gate_proj","o_proj"],"task_type": "CAUSAL_LM","trainable_token_indices": null,
123version https://git-lfs.github.com/spec/v1oid sha256:2ff3673b6bfd2327c7a83e6145c0ccbfd7b0cc18ab0a70162f690b0706727549size 40422168123version https://git-lfs.github.com/spec/v1oid sha256:9d0e7c4e2f44d5f5a9a2e0d7ba6d3a0620bd8f112ad341010974a7aa8d1c8f45size 40422168
23 unmodified lines2425262728293031323334353623 unmodified lines"rank_pattern": {},"revision": null,"target_modules": ["q_proj","o_proj","v_proj","gate_proj","down_proj","k_proj","up_proj"],"task_type": "CAUSAL_LM","trainable_token_indices": null,23 unmodified lines2425262728293031323334353623 unmodified lines"rank_pattern": {},"revision": null,"target_modules": ["v_proj","down_proj","q_proj","k_proj","up_proj","gate_proj","o_proj"],"task_type": "CAUSAL_LM","trainable_token_indices": null,
123version https://git-lfs.github.com/spec/v1oid sha256:3e904ff1a27777f7bee684400dc24fa006107def7989b0469e3c253260a673aasize 40422168123version https://git-lfs.github.com/spec/v1oid sha256:0b79a5b9cffdde7ceedcb715b5540cc100666cd87fa311c359e36a4853ca21acsize 40422168
123version https://git-lfs.github.com/spec/v1oid sha256:1881b7147aa2d83a0fa224b59596433d8b16bfa77c7618390bfe326a8b268fd9size 81070011123version https://git-lfs.github.com/spec/v1oid sha256:a63ff7a522e6ca2720a7d43b6ddb8fdd1045590c31cff3dcfa95dba8a60568e7size 81070011
123version https://git-lfs.github.com/spec/v1oid sha256:9f55b98233365f7ed9e76401df4d46765b65d73ec03aee64bee69d7ae9156260size 1465123version https://git-lfs.github.com/spec/v1oid sha256:01e86490e9496f7d2c76fdbdc670b02de72a29d3566c8a56655359d3c5dbbdb9size 1465
12345673 unmodified lines1112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267{"best_global_step": 100,"best_metric": 1.198757290840149,"best_model_checkpoint": "/home/ricoiban/GEMMA/mnlp_chatsplaining/safety_model_output/checkpoint-100","epoch": 5.0,"eval_steps": 50,"global_step": 245,3 unmodified lines"log_history": [{"epoch": 0.20725388601036268,"grad_norm": 21.424072265625,"learning_rate": 0.00019666666666666666,"loss": 11.0272,"mean_token_accuracy": 0.296875,"num_tokens": 21984.0,"step": 10},{"epoch": 0.41450777202072536,"grad_norm": 3.1715638637542725,"learning_rate": 0.00018833333333333335,"loss": 0.7306,"mean_token_accuracy": 0.63125,"num_tokens": 44111.0,"step": 20},{"epoch": 0.6217616580310881,"grad_norm": 6.497854232788086,"learning_rate": 0.00018,"loss": 0.6675,"mean_token_accuracy": 0.684375,"num_tokens": 68120.0,"step": 30},{"epoch": 0.8290155440414507,"grad_norm": 2.4520726203918457,"learning_rate": 0.00017166666666666667,"loss": 0.6535,"mean_token_accuracy": 0.68125,"num_tokens": 89669.0,"step": 40},{"epoch": 1.0207253886010363,"grad_norm": 4.587820529937744,"learning_rate": 0.00016333333333333334,"loss": 0.6026,"mean_token_accuracy": 0.7128378378378378,"num_tokens": 111297.0,"step": 50},{"epoch": 1.0207253886010363,"eval_loss": 1.4000602960586548,"eval_mean_token_accuracy": 0.5,"eval_num_tokens": 111297.0,"eval_runtime": 0.1262,"eval_samples_per_second": 7.921,"eval_steps_per_second": 7.921,"step": 50},{"epoch": 1.2279792746113989,"grad_norm": 2.7760419845581055,"learning_rate": 0.000155,"loss": 0.4794,"mean_token_accuracy": 0.815625,"num_tokens": 133338.0,"step": 60},{"epoch": 1.4352331606217616,"grad_norm": 7.210590362548828,"learning_rate": 0.00014666666666666666,"loss": 0.4987,"mean_token_accuracy": 0.79375,"num_tokens": 156589.0,"step": 70},{"epoch": 1.6424870466321244,"grad_norm": 3.8868515491485596,"learning_rate": 0.00013833333333333333,"loss": 0.4606,"mean_token_accuracy": 0.7875,"num_tokens": 178995.0,"step": 80},{"epoch": 1.849740932642487,"grad_norm": 2.4217886924743652,"learning_rate": 0.00013000000000000002,"loss": 0.5303,"mean_token_accuracy": 0.771875,"num_tokens": 203491.0,"step": 90},{"epoch": 2.0414507772020727,"grad_norm": 3.1198058128356934,"learning_rate": 0.00012166666666666667,"loss": 0.4854,"mean_token_accuracy": 0.8108108108108109,"num_tokens": 223362.0,"step": 100},{"epoch": 2.0414507772020727,"eval_loss": 1.198757290840149,"eval_mean_token_accuracy": 0.5,"eval_num_tokens": 223362.0,"eval_runtime": 0.1833,"eval_samples_per_second": 5.455,"eval_steps_per_second": 5.455,"step": 100},{"epoch": 2.2487046632124352,"grad_norm": 12.53848648071289,"learning_rate": 0.00011333333333333334,"loss": 0.2611,"mean_token_accuracy": 0.896875,"num_tokens": 245475.0,"step": 110},{"epoch": 2.4559585492227978,"grad_norm": 7.7650346755981445,"learning_rate": 0.000105,"loss": 0.1537,"mean_token_accuracy": 0.953125,"num_tokens": 268345.0,"step": 120},{"epoch": 2.6632124352331608,"grad_norm": 5.812051296234131,"learning_rate": 9.666666666666667e-05,"loss": 0.2149,"mean_token_accuracy": 0.925,"num_tokens": 292072.0,"step": 130},{"epoch": 2.8704663212435233,"grad_norm": 7.514662265777588,"learning_rate": 8.833333333333333e-05,"loss": 0.2312,"mean_token_accuracy": 0.921875,"num_tokens": 314093.0,"step": 140},{"epoch": 3.062176165803109,"grad_norm": 3.468092441558838,"learning_rate": 8e-05,"loss": 0.1637,"mean_token_accuracy": 0.9324324324324325,"num_tokens": 334669.0,"step": 150},{"epoch": 3.062176165803109,"eval_loss": 1.511531949043274,"eval_mean_token_accuracy": 0.5,"eval_num_tokens": 334669.0,"eval_runtime": 0.1288,"eval_samples_per_second": 7.763,"eval_steps_per_second": 7.763,"step": 150},{"epoch": 3.2694300518134716,"grad_norm": 0.30833208560943604,"learning_rate": 7.166666666666667e-05,"loss": 0.058,"mean_token_accuracy": 0.978125,"num_tokens": 358016.0,"step": 160},{"epoch": 3.476683937823834,"grad_norm": 1.5915532112121582,"learning_rate": 6.333333333333333e-05,"loss": 0.0662,"mean_token_accuracy": 0.98125,"num_tokens": 380340.0,"step": 170},{"epoch": 3.6839378238341967,"grad_norm": 2.5610837936401367,"learning_rate": 5.500000000000001e-05,"loss": 0.1091,"mean_token_accuracy": 0.9625,"num_tokens": 402140.0,"step": 180},{"epoch": 3.8911917098445596,"grad_norm": 18.830570220947266,"learning_rate": 4.666666666666667e-05,"loss": 0.0884,"mean_token_accuracy": 0.965625,"num_tokens": 426084.0,"step": 190},{"epoch": 4.082901554404145,"grad_norm": 2.1209168434143066,"learning_rate": 3.8333333333333334e-05,"loss": 0.0445,"mean_token_accuracy": 0.9831081081081081,"num_tokens": 446213.0,"step": 200},{"epoch": 4.082901554404145,"eval_loss": 2.6292972564697266,"eval_mean_token_accuracy": 0.5,"eval_num_tokens": 446213.0,"eval_runtime": 0.1223,"eval_samples_per_second": 8.175,"eval_steps_per_second": 8.175,"step": 200},{"epoch": 4.290155440414508,"grad_norm": 0.2679192125797272,"learning_rate": 3e-05,"loss": 0.0269,"mean_token_accuracy": 0.99375,"num_tokens": 469234.0,"step": 210},{"epoch": 4.4974093264248705,"grad_norm": 0.19473819434642792,"learning_rate": 2.1666666666666667e-05,"loss": 0.0174,"mean_token_accuracy": 0.990625,"num_tokens": 492700.0,"step": 220},{"epoch": 4.704663212435233,"grad_norm": 2.384352207183838,"learning_rate": 1.3333333333333333e-05,"loss": 0.026,"mean_token_accuracy": 0.9875,"num_tokens": 514671.0,"step": 230},{"epoch": 4.9119170984455955,"grad_norm": 7.040817737579346,"learning_rate": 5e-06,"loss": 0.0415,"mean_token_accuracy": 0.984375,"num_tokens": 537299.0,"step": 240}12345673 unmodified lines1112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267{"best_global_step": 50,"best_metric": 0.8024441003799438,"best_model_checkpoint": "/home/ricoiban/GEMMA/mnlp_chatsplaining/safety_model_output/checkpoint-50","epoch": 5.0,"eval_steps": 50,"global_step": 245,3 unmodified lines"log_history": [{"epoch": 0.20725388601036268,"grad_norm": 4.4248785972595215,"learning_rate": 0.0005899999999999999,"loss": 8.2557,"mean_token_accuracy": 0.384375,"num_tokens": 21984.0,"step": 10},{"epoch": 0.41450777202072536,"grad_norm": 1.9055719375610352,"learning_rate": 0.000565,"loss": 0.7267,"mean_token_accuracy": 0.634375,"num_tokens": 44111.0,"step": 20},{"epoch": 0.6217616580310881,"grad_norm": 2.149226427078247,"learning_rate": 0.00054,"loss": 0.6712,"mean_token_accuracy": 0.671875,"num_tokens": 68120.0,"step": 30},{"epoch": 0.8290155440414507,"grad_norm": 1.9442976713180542,"learning_rate": 0.0005149999999999999,"loss": 0.7079,"mean_token_accuracy": 0.678125,"num_tokens": 89669.0,"step": 40},{"epoch": 1.0207253886010363,"grad_norm": 67.3375473022461,"learning_rate": 0.00049,"loss": 0.7584,"mean_token_accuracy": 0.6182432432432432,"num_tokens": 111297.0,"step": 50},{"epoch": 1.0207253886010363,"eval_loss": 0.8024441003799438,"eval_mean_token_accuracy": 0.5,"eval_num_tokens": 111297.0,"eval_runtime": 0.1286,"eval_samples_per_second": 7.775,"eval_steps_per_second": 7.775,"step": 50},{"epoch": 1.2279792746113989,"grad_norm": 6.444717884063721,"learning_rate": 0.00046499999999999997,"loss": 0.6147,"mean_token_accuracy": 0.703125,"num_tokens": 133338.0,"step": 60},{"epoch": 1.4352331606217616,"grad_norm": 17.345895767211914,"learning_rate": 0.0004399999999999999,"loss": 0.5632,"mean_token_accuracy": 0.771875,"num_tokens": 156589.0,"step": 70},{"epoch": 1.6424870466321244,"grad_norm": 4.307793617248535,"learning_rate": 0.00041499999999999995,"loss": 0.537,"mean_token_accuracy": 0.7875,"num_tokens": 178995.0,"step": 80},{"epoch": 1.849740932642487,"grad_norm": 3.7696592807769775,"learning_rate": 0.00039,"loss": 0.5935,"mean_token_accuracy": 0.746875,"num_tokens": 203491.0,"step": 90},{"epoch": 2.0414507772020727,"grad_norm": 3.7574870586395264,"learning_rate": 0.00036499999999999993,"loss": 0.494,"mean_token_accuracy": 0.7905405405405406,"num_tokens": 223362.0,"step": 100},{"epoch": 2.0414507772020727,"eval_loss": 1.1921323537826538,"eval_mean_token_accuracy": 0.5,"eval_num_tokens": 223362.0,"eval_runtime": 0.1254,"eval_samples_per_second": 7.977,"eval_steps_per_second": 7.977,"step": 100},{"epoch": 2.2487046632124352,"grad_norm": 5.195500373840332,"learning_rate": 0.00033999999999999997,"loss": 0.3184,"mean_token_accuracy": 0.88125,"num_tokens": 245475.0,"step": 110},{"epoch": 2.4559585492227978,"grad_norm": 2.6721720695495605,"learning_rate": 0.00031499999999999996,"loss": 0.3147,"mean_token_accuracy": 0.86875,"num_tokens": 268345.0,"step": 120},{"epoch": 2.6632124352331608,"grad_norm": 5.788036823272705,"learning_rate": 0.00029,"loss": 0.414,"mean_token_accuracy": 0.81875,"num_tokens": 292072.0,"step": 130},{"epoch": 2.8704663212435233,"grad_norm": 2.9962568283081055,"learning_rate": 0.000265,"loss": 0.3293,"mean_token_accuracy": 0.8625,"num_tokens": 314093.0,"step": 140},{"epoch": 3.062176165803109,"grad_norm": 2.9766643047332764,"learning_rate": 0.00023999999999999998,"loss": 0.1989,"mean_token_accuracy": 0.9087837837837838,"num_tokens": 334669.0,"step": 150},{"epoch": 3.062176165803109,"eval_loss": 3.510432481765747,"eval_mean_token_accuracy": 0.5,"eval_num_tokens": 334669.0,"eval_runtime": 0.1277,"eval_samples_per_second": 7.833,"eval_steps_per_second": 7.833,"step": 150},{"epoch": 3.2694300518134716,"grad_norm": 10.293326377868652,"learning_rate": 0.000215,"loss": 0.1508,"mean_token_accuracy": 0.9375,"num_tokens": 358016.0,"step": 160},{"epoch": 3.476683937823834,"grad_norm": 7.3945698738098145,"learning_rate": 0.00018999999999999998,"loss": 0.1329,"mean_token_accuracy": 0.953125,"num_tokens": 380340.0,"step": 170},{"epoch": 3.6839378238341967,"grad_norm": 1.260176181793213,"learning_rate": 0.000165,"loss": 0.1821,"mean_token_accuracy": 0.934375,"num_tokens": 402140.0,"step": 180},{"epoch": 3.8911917098445596,"grad_norm": 3.2304484844207764,"learning_rate": 0.00014,"loss": 0.139,"mean_token_accuracy": 0.946875,"num_tokens": 426084.0,"step": 190},{"epoch": 4.082901554404145,"grad_norm": 0.6160839796066284,"learning_rate": 0.000115,"loss": 0.0729,"mean_token_accuracy": 0.9695945945945946,"num_tokens": 446213.0,"step": 200},{"epoch": 4.082901554404145,"eval_loss": 4.188155174255371,"eval_mean_token_accuracy": 0.5,"eval_num_tokens": 446213.0,"eval_runtime": 0.1101,"eval_samples_per_second": 9.082,"eval_steps_per_second": 9.082,"step": 200},{"epoch": 4.290155440414508,"grad_norm": 0.4012514650821686,"learning_rate": 8.999999999999999e-05,"loss": 0.0634,"mean_token_accuracy": 0.975,"num_tokens": 469234.0,"step": 210},{"epoch": 4.4974093264248705,"grad_norm": 0.04510807245969772,"learning_rate": 6.5e-05,"loss": 0.027,"mean_token_accuracy": 0.9875,"num_tokens": 492700.0,"step": 220},{"epoch": 4.704663212435233,"grad_norm": 1.0606855154037476,"learning_rate": 3.9999999999999996e-05,"loss": 0.0887,"mean_token_accuracy": 0.965625,"num_tokens": 514671.0,"step": 230},{"epoch": 4.9119170984455955,"grad_norm": 1.3937901258468628,"learning_rate": 1.4999999999999999e-05,"loss": 0.0852,"mean_token_accuracy": 0.978125,"num_tokens": 537299.0,"step": 240}
123version https://git-lfs.github.com/spec/v1oid sha256:3a848a95d444ce1855697c3e29e9d28df956b94b185d72e790755bb5efdbac38size 6673123version https://git-lfs.github.com/spec/v1oid sha256:dc0c67709a00f240ad0d45340b4e4703d76c9b176db80e252a07293fdbffaf64size 6673
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202---base_model: Qwen/Qwen3-0.6Blibrary_name: peft---
# Model Card for Model ID
<!-- Provide a quick summary of what the model is/does. -->
## Model Details
### Model Description
<!-- Provide a longer summary of what this model is. -->
- **Developed by:** [More Information Needed]- **Funded by [optional]:** [More Information Needed]- **Shared by [optional]:** [More Information Needed]- **Model type:** [More Information Needed]- **Language(s) (NLP):** [More Information Needed]- **License:** [More Information Needed]- **Finetuned from model [optional]:** [More Information Needed]
### Model Sources [optional]
<!-- Provide the basic links for the model. -->
- **Repository:** [More Information Needed]- **Paper [optional]:** [More Information Needed]- **Demo [optional]:** [More Information Needed]
## Uses
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
### Direct Use
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
[More Information Needed]
### Downstream Use [optional]
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
[More Information Needed]
### Out-of-Scope Use
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
[More Information Needed]
## Bias, Risks, and Limitations
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
[More Information Needed]
### Recommendations
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
## How to Get Started with the Model
Use the code below to get started with the model.
[More Information Needed]
## Training Details
### Training Data
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
[More Information Needed]
### Training Procedure
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
#### Preprocessing [optional]
[More Information Needed]
#### Training Hyperparameters
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
#### Speeds, Sizes, Times [optional]
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
[More Information Needed]
## Evaluation
<!-- This section describes the evaluation protocols and provides the results. -->
### Testing Data, Factors & Metrics
#### Testing Data
<!-- This should link to a Dataset Card if possible. -->
[More Information Needed]
#### Factors
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
[More Information Needed]
#### Metrics
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
[More Information Needed]
### Results
[More Information Needed]
#### Summary
## Model Examination [optional]
<!-- Relevant interpretability work for the model goes here -->
[More Information Needed]
## Environmental Impact
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
- **Hardware Type:** [More Information Needed]- **Hours used:** [More Information Needed]- **Cloud Provider:** [More Information Needed]- **Compute Region:** [More Information Needed]- **Carbon Emitted:** [More Information Needed]
## Technical Specifications [optional]
### Model Architecture and Objective
[More Information Needed]
### Compute Infrastructure
[More Information Needed]
#### Hardware
[More Information Needed]
#### Software
[More Information Needed]
## Citation [optional]
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
**BibTeX:**
[More Information Needed]
**APA:**
[More Information Needed]
## Glossary [optional]
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
[More Information Needed]
## More Information [optional]
[More Information Needed]
## Model Card Authors [optional]
[More Information Needed]
## Model Card Contact
[More Information Needed]### Framework versions
- PEFT 0.15.2123456789101112131415161718192021222324252627282930313233343536373839{ "alpha_pattern": {}, "auto_mapping": null, "base_model_name_or_path": "Qwen/Qwen3-0.6B", "bias": "none", "corda_config": null, "eva_config": null, "exclude_modules": null, "fan_in_fan_out": false, "inference_mode": true, "init_lora_weights": true, "layer_replication": null, "layers_pattern": null, "layers_to_transform": null, "loftq_config": {}, "lora_alpha": 32, "lora_bias": false, "lora_dropout": 0.1, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": null, "peft_type": "LORA", "r": 16, "rank_pattern": {}, "revision": null, "target_modules": [ "v_proj", "down_proj", "q_proj", "k_proj", "up_proj", "gate_proj", "o_proj" ], "task_type": "CAUSAL_LM", "trainable_token_indices": null, "use_dora": false, "use_rslora": false}123version https://git-lfs.github.com/spec/v1oid sha256:9d0e7c4e2f44d5f5a9a2e0d7ba6d3a0620bd8f112ad341010974a7aa8d1c8f45size 4042216812345678910111213141516171819202122232425262728{ "</think>": 151668, "</tool_call>": 151658, "</tool_response>": 151666, "<think>": 151667, "<tool_call>": 151657, "<tool_response>": 151665, "<|box_end|>": 151649, "<|box_start|>": 151648, "<|endoftext|>": 151643, "<|file_sep|>": 151664, "<|fim_middle|>": 151660, "<|fim_pad|>": 151662, "<|fim_prefix|>": 151659, "<|fim_suffix|>": 151661, "<|im_end|>": 151645, "<|im_start|>": 151644, "<|image_pad|>": 151655, "<|object_ref_end|>": 151647, "<|object_ref_start|>": 151646, "<|quad_end|>": 151651, "<|quad_start|>": 151650, "<|repo_name|>": 151663, "<|video_pad|>": 151656, "<|vision_end|>": 151653, "<|vision_pad|>": 151654, "<|vision_start|>": 151652}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889{%- if tools %} {{- '<|im_start|>system\n' }} {%- if messages[0].role == 'system' %} {{- messages[0].content + '\n\n' }} {%- endif %} {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }} {%- for tool in tools %} {{- "\n" }} {{- tool | tojson }} {%- endfor %} {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}{%- else %} {%- if messages[0].role == 'system' %} {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }} {%- endif %}{%- endif %}{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}{%- for message in messages[::-1] %} {%- set index = (messages|length - 1) - loop.index0 %} {%- if ns.multi_step_tool and message.role == "user" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %} {%- set ns.multi_step_tool = false %} {%- set ns.last_query_index = index %} {%- endif %}{%- endfor %}{%- for message in messages %} {%- if message.content is string %} {%- set content = message.content %} {%- else %} {%- set content = '' %} {%- endif %} {%- if (message.role == "user") or (message.role == "system" and not loop.first) %} {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }} {%- elif message.role == "assistant" %} {%- set reasoning_content = '' %} {%- if message.reasoning_content is string %} {%- set reasoning_content = message.reasoning_content %} {%- else %} {%- if '</think>' in content %} {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %} {%- set content = content.split('</think>')[-1].lstrip('\n') %} {%- endif %} {%- endif %} {%- if loop.index0 > ns.last_query_index %} {%- if loop.last or (not loop.last and reasoning_content) %} {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }} {%- else %} {{- '<|im_start|>' + message.role + '\n' + content }} {%- endif %} {%- else %} {{- '<|im_start|>' + message.role + '\n' + content }} {%- endif %} {%- if message.tool_calls %} {%- for tool_call in message.tool_calls %} {%- if (loop.first and content) or (not loop.first) %} {{- '\n' }} {%- endif %} {%- if tool_call.function %} {%- set tool_call = tool_call.function %} {%- endif %} {{- '<tool_call>\n{"name": "' }} {{- tool_call.name }} {{- '", "arguments": ' }} {%- if tool_call.arguments is string %} {{- tool_call.arguments }} {%- else %} {{- tool_call.arguments | tojson }} {%- endif %} {{- '}\n</tool_call>' }} {%- endfor %} {%- endif %} {{- '<|im_end|>\n' }} {%- elif message.role == "tool" %} {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %} {{- '<|im_start|>user' }} {%- endif %} {{- '\n<tool_response>\n' }} {{- content }} {{- '\n</tool_response>' }} {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %} {{- '<|im_end|>\n' }} {%- endif %} {%- endif %}{%- endfor %}{%- if add_generation_prompt %} {{- '<|im_start|>assistant\n' }} {%- if enable_thinking is defined and enable_thinking is false %} {{- '<think>\n\n</think>\n\n' }} {%- endif %}{%- endif %}123version https://git-lfs.github.com/spec/v1oid sha256:036e35690de44670eee24031a90391797874179999a6f955c3b51e18fa470661size 81070011123version https://git-lfs.github.com/spec/v1oid sha256:0fbf99fa80b5be66b5a128494e80658ca85a453c235bba9ba89b0810d65719fdsize 14645123version https://git-lfs.github.com/spec/v1oid sha256:5cd6e09bddd09ed2f408ec1cfaccd946596f56ae1d39f70824e03563cc5b47f5size 146512345678910111213141516171819202122232425262728293031{ "additional_special_tokens": [ "<|im_start|>", "<|im_end|>", "<|object_ref_start|>", "<|object_ref_end|>", "<|box_start|>", "<|box_end|>", "<|quad_start|>", "<|quad_end|>", "<|vision_start|>", "<|vision_end|>", "<|vision_pad|>", "<|image_pad|>", "<|video_pad|>" ], "eos_token": { "content": "<|im_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123version https://git-lfs.github.com/spec/v1oid sha256:aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4size 11422654123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239{ "add_bos_token": false, "add_prefix_space": false, "added_tokens_decoder": { "151643": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151644": { "content": "<|im_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151645": { "content": "<|im_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151646": { "content": "<|object_ref_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151647": { "content": "<|object_ref_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151648": { "content": "<|box_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151649": { "content": "<|box_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151650": { "content": "<|quad_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151651": { "content": "<|quad_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151652": { "content": "<|vision_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151653": { "content": "<|vision_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151654": { "content": "<|vision_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151655": { "content": "<|image_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151656": { "content": "<|video_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151657": { "content": "<tool_call>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151658": { "content": "</tool_call>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151659": { "content": "<|fim_prefix|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151660": { "content": "<|fim_middle|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151661": { "content": "<|fim_suffix|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151662": { "content": "<|fim_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151663": { "content": "<|repo_name|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151664": { "content": "<|file_sep|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151665": { "content": "<tool_response>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151666": { "content": "</tool_response>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151667": { "content": "<think>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151668": { "content": "</think>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false } }, "additional_special_tokens": [ "<|im_start|>", "<|im_end|>", "<|object_ref_start|>", "<|object_ref_end|>", "<|box_start|>", "<|box_end|>", "<|quad_start|>", "<|quad_end|>", "<|vision_start|>", "<|vision_end|>", "<|vision_pad|>", "<|image_pad|>", "<|video_pad|>" ], "bos_token": null, "clean_up_tokenization_spaces": false, "eos_token": "<|im_end|>", "errors": "replace", "extra_special_tokens": {}, "model_max_length": 131072, "pad_token": "<|endoftext|>", "split_special_tokens": false, "tokenizer_class": "Qwen2Tokenizer", "unk_token": null}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889{ "best_global_step": 50, "best_metric": 0.8024441003799438, "best_model_checkpoint": "/home/ricoiban/GEMMA/mnlp_chatsplaining/safety_model_output/checkpoint-50", "epoch": 1.0207253886010363, "eval_steps": 50, "global_step": 50, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [ { "epoch": 0.20725388601036268, "grad_norm": 4.4248785972595215, "learning_rate": 0.0005899999999999999, "loss": 8.2557, "mean_token_accuracy": 0.384375, "num_tokens": 21984.0, "step": 10 }, { "epoch": 0.41450777202072536, "grad_norm": 1.9055719375610352, "learning_rate": 0.000565, "loss": 0.7267, "mean_token_accuracy": 0.634375, "num_tokens": 44111.0, "step": 20 }, { "epoch": 0.6217616580310881, "grad_norm": 2.149226427078247, "learning_rate": 0.00054, "loss": 0.6712, "mean_token_accuracy": 0.671875, "num_tokens": 68120.0, "step": 30 }, { "epoch": 0.8290155440414507, "grad_norm": 1.9442976713180542, "learning_rate": 0.0005149999999999999, "loss": 0.7079, "mean_token_accuracy": 0.678125, "num_tokens": 89669.0, "step": 40 }, { "epoch": 1.0207253886010363, "grad_norm": 67.3375473022461, "learning_rate": 0.00049, "loss": 0.7584, "mean_token_accuracy": 0.6182432432432432, "num_tokens": 111297.0, "step": 50 }, { "epoch": 1.0207253886010363, "eval_loss": 0.8024441003799438, "eval_mean_token_accuracy": 0.5, "eval_num_tokens": 111297.0, "eval_runtime": 0.1286, "eval_samples_per_second": 7.775, "eval_steps_per_second": 7.775, "step": 50 } ], "logging_steps": 10, "max_steps": 245, "num_input_tokens_seen": 0, "num_train_epochs": 5, "save_steps": 50, "stateful_callbacks": { "TrainerControl": { "args": { "should_epoch_stop": false, "should_evaluate": false, "should_log": false, "should_save": true, "should_training_stop": false }, "attributes": {} } }, "total_flos": 424335605760000.0, "train_batch_size": 4, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:dc0c67709a00f240ad0d45340b4e4703d76c9b176db80e252a07293fdbffaf64size 6673123version https://git-lfs.github.com/spec/v1oid sha256:3a848a95d444ce1855697c3e29e9d28df956b94b185d72e790755bb5efdbac38size 6673123version https://git-lfs.github.com/spec/v1oid sha256:dc0c67709a00f240ad0d45340b4e4703d76c9b176db80e252a07293fdbffaf64size 6673
.gitattributes+1
adapter_config.json+4-4
adapter_model.safetensors+1-1
checkpoint-245/adapter_config.json+4-4
checkpoint-245/adapter_model.safetensors+1-1
checkpoint-245/optimizer.pt+1-1
checkpoint-245/scheduler.pt+1-1
checkpoint-245/trainer_state.json+114-114
checkpoint-245/training_args.bin+1-1
checkpoint-50/README.mdAdded+202
checkpoint-50/adapter_config.jsonAdded+39
checkpoint-50/adapter_model.safetensorsAdded+3
checkpoint-50/added_tokens.jsonAdded+28
checkpoint-50/chat_template.jinjaAdded+89
checkpoint-50/merges.txtAdded
checkpoint-50/optimizer.ptAdded+3
checkpoint-50/rng_state.pthAdded+3
checkpoint-50/scheduler.ptAdded+3
checkpoint-50/special_tokens_map.jsonAdded+31
checkpoint-50/tokenizer.jsonAdded+3
checkpoint-50/tokenizer_config.jsonAdded+239
checkpoint-50/trainer_state.jsonAdded+89
checkpoint-50/training_args.binAdded+3
checkpoint-50/vocab.jsonAdded
training_args.bin+1-1