Run this model with HF Jobs
Run sukatune/CodeVa-7B-Instruct-v9.1 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/sukatune/CodeVa-7B-Instruct-v9.1. 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/sukatune/CodeVa-7B-Instruct-v9.1 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 sukatune/CodeVa-7B-Instruct-v9.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use sukatune/CodeVa-7B-Instruct-v9.1 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/qwen2.5-7b-instruct-unsloth-bnb-4bit") model = PeftModel.from_pretrained(base_model, "sukatune/CodeVa-7B-Instruct-v9.1") - Notebooks
- Google Colab
- Kaggle
Download trainer_state.json from sukatune/CodeVa-7B-Instruct-v9.1: direct link, hf CLI and curl.
- Browser
- Download file 3.57 kB
-
https://huggingface.co/sukatune/CodeVa-7B-Instruct-v9.1/resolve/main/trainer_state.json
- Command line
-
hf download hf://sukatune/CodeVa-7B-Instruct-v9.1/trainer_state.json
-
curl -L -o trainer_state.json https://huggingface.co/sukatune/CodeVa-7B-Instruct-v9.1/resolve/main/trainer_state.json
3.57 kB
| { | |
| "best_global_step": null, | |
| "best_metric": null, | |
| "best_model_checkpoint": null, | |
| "epoch": 0.862533692722372, | |
| "eval_steps": 500, | |
| "global_step": 400, | |
| "is_hyper_param_search": false, | |
| "is_local_process_zero": true, | |
| "is_world_process_zero": true, | |
| "log_history": [ | |
| { | |
| "epoch": 0.05390835579514825, | |
| "grad_norm": 1.4726476669311523, | |
| "learning_rate": 1.9200000000000003e-05, | |
| "loss": 1.749, | |
| "step": 25 | |
| }, | |
| { | |
| "epoch": 0.1078167115902965, | |
| "grad_norm": 0.38404402136802673, | |
| "learning_rate": 1.9852871990177505e-05, | |
| "loss": 0.8568, | |
| "step": 50 | |
| }, | |
| { | |
| "epoch": 0.16172506738544473, | |
| "grad_norm": 0.3104185163974762, | |
| "learning_rate": 1.9391475259390583e-05, | |
| "loss": 0.711, | |
| "step": 75 | |
| }, | |
| { | |
| "epoch": 0.215633423180593, | |
| "grad_norm": 0.31550195813179016, | |
| "learning_rate": 1.8630282521321644e-05, | |
| "loss": 0.6925, | |
| "step": 100 | |
| }, | |
| { | |
| "epoch": 0.2695417789757412, | |
| "grad_norm": 0.32674679160118103, | |
| "learning_rate": 1.7593592678682166e-05, | |
| "loss": 0.6632, | |
| "step": 125 | |
| }, | |
| { | |
| "epoch": 0.32345013477088946, | |
| "grad_norm": 0.33559221029281616, | |
| "learning_rate": 1.631449909188987e-05, | |
| "loss": 0.7083, | |
| "step": 150 | |
| }, | |
| { | |
| "epoch": 0.37735849056603776, | |
| "grad_norm": 0.3210899829864502, | |
| "learning_rate": 1.4833833168116582e-05, | |
| "loss": 0.6998, | |
| "step": 175 | |
| }, | |
| { | |
| "epoch": 0.431266846361186, | |
| "grad_norm": 0.3388533890247345, | |
| "learning_rate": 1.3198860935308445e-05, | |
| "loss": 0.6801, | |
| "step": 200 | |
| }, | |
| { | |
| "epoch": 0.48517520215633425, | |
| "grad_norm": 0.28345614671707153, | |
| "learning_rate": 1.146177420932768e-05, | |
| "loss": 0.6938, | |
| "step": 225 | |
| }, | |
| { | |
| "epoch": 0.5390835579514824, | |
| "grad_norm": 0.2760770320892334, | |
| "learning_rate": 9.678024519392872e-06, | |
| "loss": 0.669, | |
| "step": 250 | |
| }, | |
| { | |
| "epoch": 0.5929919137466307, | |
| "grad_norm": 0.36126407980918884, | |
| "learning_rate": 7.90455297648637e-06, | |
| "loss": 0.6752, | |
| "step": 275 | |
| }, | |
| { | |
| "epoch": 0.6469002695417789, | |
| "grad_norm": 0.32437604665756226, | |
| "learning_rate": 6.19797259112109e-06, | |
| "loss": 0.6549, | |
| "step": 300 | |
| }, | |
| { | |
| "epoch": 0.7008086253369272, | |
| "grad_norm": 0.2986128032207489, | |
| "learning_rate": 4.612761064777077e-06, | |
| "loss": 0.6478, | |
| "step": 325 | |
| }, | |
| { | |
| "epoch": 0.7547169811320755, | |
| "grad_norm": 0.32237204909324646, | |
| "learning_rate": 3.1995217449763416e-06, | |
| "loss": 0.6625, | |
| "step": 350 | |
| }, | |
| { | |
| "epoch": 0.8086253369272237, | |
| "grad_norm": 0.31212979555130005, | |
| "learning_rate": 2.003368258035114e-06, | |
| "loss": 0.6681, | |
| "step": 375 | |
| }, | |
| { | |
| "epoch": 0.862533692722372, | |
| "grad_norm": 0.3290041983127594, | |
| "learning_rate": 1.0624843854762034e-06, | |
| "loss": 0.6546, | |
| "step": 400 | |
| } | |
| ], | |
| "logging_steps": 25, | |
| "max_steps": 464, | |
| "num_input_tokens_seen": 0, | |
| "num_train_epochs": 1, | |
| "save_steps": 100, | |
| "stateful_callbacks": { | |
| "TrainerControl": { | |
| "args": { | |
| "should_epoch_stop": false, | |
| "should_evaluate": false, | |
| "should_log": false, | |
| "should_save": true, | |
| "should_training_stop": false | |
| }, | |
| "attributes": {} | |
| } | |
| }, | |
| "total_flos": 2.767100977615995e+17, | |
| "train_batch_size": 4, | |
| "trial_name": null, | |
| "trial_params": null | |
| } | |