Instructions to use mindsofchaos/codeoptics-coder-3b-v5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mindsofchaos/codeoptics-coder-3b-v5 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-Coder-3B-Instruct") model = PeftModel.from_pretrained(base_model, "mindsofchaos/codeoptics-coder-3b-v5") - Transformers
How to use mindsofchaos/codeoptics-coder-3b-v5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="mindsofchaos/codeoptics-coder-3b-v5") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mindsofchaos/codeoptics-coder-3b-v5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mindsofchaos/codeoptics-coder-3b-v5 with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M # Run inference directly in the terminal: llama cli -hf mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M # Run inference directly in the terminal: llama cli -hf mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M
Use Docker
docker model run hf.co/mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use mindsofchaos/codeoptics-coder-3b-v5 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "mindsofchaos/codeoptics-coder-3b-v5" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "mindsofchaos/codeoptics-coder-3b-v5", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M
- SGLang
How to use mindsofchaos/codeoptics-coder-3b-v5 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "mindsofchaos/codeoptics-coder-3b-v5" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "mindsofchaos/codeoptics-coder-3b-v5", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "mindsofchaos/codeoptics-coder-3b-v5" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "mindsofchaos/codeoptics-coder-3b-v5", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use mindsofchaos/codeoptics-coder-3b-v5 with Ollama:
ollama run hf.co/mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M
- Unsloth Desktop
- Pi
How to use mindsofchaos/codeoptics-coder-3b-v5 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use mindsofchaos/codeoptics-coder-3b-v5 with Docker Model Runner:
docker model run hf.co/mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M
- Lemonade
How to use mindsofchaos/codeoptics-coder-3b-v5 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M
Run and chat with the model
lemonade run user.codeoptics-coder-3b-v5-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use mindsofchaos/codeoptics-coder-3b-v5 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use mindsofchaos/codeoptics-coder-3b-v5 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Download checkpoint-405/trainer_state.json from mindsofchaos/codeoptics-coder-3b-v5: direct link, hf CLI and curl.
- Browser
- Download file 26.4 kB
-
https://huggingface.co/mindsofchaos/codeoptics-coder-3b-v5/resolve/07a3eb0ba8575bcd2dbda93e8e33b0ef75e67477/checkpoint-405/trainer_state.json
- Command line
-
hf download hf://mindsofchaos/codeoptics-coder-3b-v5@07a3eb0ba8575bcd2dbda93e8e33b0ef75e67477/checkpoint-405/trainer_state.json
-
curl -L -o trainer_state.json https://huggingface.co/mindsofchaos/codeoptics-coder-3b-v5/resolve/07a3eb0ba8575bcd2dbda93e8e33b0ef75e67477/checkpoint-405/trainer_state.json
26.4 kB
| { | |
| "best_global_step": 405, | |
| "best_metric": 0.017633475363254547, | |
| "best_model_checkpoint": "adapters/codeoptics-coder-3b-v5/checkpoint-405", | |
| "epoch": 3.0, | |
| "eval_steps": 500, | |
| "global_step": 405, | |
| "is_hyper_param_search": false, | |
| "is_local_process_zero": true, | |
| "is_world_process_zero": true, | |
| "log_history": [ | |
| { | |
| "entropy": 1.565822184085846, | |
| "epoch": 0.037037037037037035, | |
| "grad_norm": 0.5403406620025635, | |
| "learning_rate": 2.4e-05, | |
| "loss": 2.45123233795166, | |
| "mean_token_accuracy": 0.5793403267860413, | |
| "num_tokens": 11694.0, | |
| "step": 5 | |
| }, | |
| { | |
| "entropy": 1.7006611764430999, | |
| "epoch": 0.07407407407407407, | |
| "grad_norm": 0.5483595132827759, | |
| "learning_rate": 5.4000000000000005e-05, | |
| "loss": 2.33437442779541, | |
| "mean_token_accuracy": 0.582209300994873, | |
| "num_tokens": 23160.0, | |
| "step": 10 | |
| }, | |
| { | |
| "entropy": 1.8450955390930175, | |
| "epoch": 0.1111111111111111, | |
| "grad_norm": 0.5264711976051331, | |
| "learning_rate": 8.4e-05, | |
| "loss": 2.013787841796875, | |
| "mean_token_accuracy": 0.6200948387384415, | |
| "num_tokens": 34810.0, | |
| "step": 15 | |
| }, | |
| { | |
| "entropy": 1.6775289833545686, | |
| "epoch": 0.14814814814814814, | |
| "grad_norm": 1.2876044511795044, | |
| "learning_rate": 0.00011399999999999999, | |
| "loss": 1.4702275276184082, | |
| "mean_token_accuracy": 0.6920230120420456, | |
| "num_tokens": 46403.0, | |
| "step": 20 | |
| }, | |
| { | |
| "entropy": 0.9005307212471962, | |
| "epoch": 0.18518518518518517, | |
| "grad_norm": 0.5380297899246216, | |
| "learning_rate": 0.00011996804189888099, | |
| "loss": 0.6606400489807129, | |
| "mean_token_accuracy": 0.8447390466928482, | |
| "num_tokens": 58217.0, | |
| "step": 25 | |
| }, | |
| { | |
| "entropy": 0.33204666823148726, | |
| "epoch": 0.2222222222222222, | |
| "grad_norm": 0.3216717541217804, | |
| "learning_rate": 0.000119838270457791, | |
| "loss": 0.27447147369384767, | |
| "mean_token_accuracy": 0.9348172962665557, | |
| "num_tokens": 69695.0, | |
| "step": 30 | |
| }, | |
| { | |
| "entropy": 0.22328370660543442, | |
| "epoch": 0.25925925925925924, | |
| "grad_norm": 0.2484206110239029, | |
| "learning_rate": 0.00011960890412091301, | |
| "loss": 0.22512419223785402, | |
| "mean_token_accuracy": 0.9479029238224029, | |
| "num_tokens": 81674.0, | |
| "step": 35 | |
| }, | |
| { | |
| "entropy": 0.19873286746442317, | |
| "epoch": 0.2962962962962963, | |
| "grad_norm": 0.19593127071857452, | |
| "learning_rate": 0.0001192803246458788, | |
| "loss": 0.1957616925239563, | |
| "mean_token_accuracy": 0.9522120267152786, | |
| "num_tokens": 93893.0, | |
| "step": 40 | |
| }, | |
| { | |
| "entropy": 0.18650528676807882, | |
| "epoch": 0.3333333333333333, | |
| "grad_norm": 0.40185990929603577, | |
| "learning_rate": 0.00011885307892079729, | |
| "loss": 0.20835540294647217, | |
| "mean_token_accuracy": 0.9523905128240585, | |
| "num_tokens": 106122.0, | |
| "step": 45 | |
| }, | |
| { | |
| "entropy": 0.15161259137094021, | |
| "epoch": 0.37037037037037035, | |
| "grad_norm": 0.16066667437553406, | |
| "learning_rate": 0.00011832787805401336, | |
| "loss": 0.1287817358970642, | |
| "mean_token_accuracy": 0.9655880957841874, | |
| "num_tokens": 118069.0, | |
| "step": 50 | |
| }, | |
| { | |
| "entropy": 0.15053805224597455, | |
| "epoch": 0.4074074074074074, | |
| "grad_norm": 0.14585353434085846, | |
| "learning_rate": 0.00011770559619053817, | |
| "loss": 0.14090813398361207, | |
| "mean_token_accuracy": 0.9639440953731537, | |
| "num_tokens": 129471.0, | |
| "step": 55 | |
| }, | |
| { | |
| "entropy": 0.09936608709394931, | |
| "epoch": 0.4444444444444444, | |
| "grad_norm": 0.2057754099369049, | |
| "learning_rate": 0.00011698726905712097, | |
| "loss": 0.09850983023643493, | |
| "mean_token_accuracy": 0.9733195185661316, | |
| "num_tokens": 140982.0, | |
| "step": 60 | |
| }, | |
| { | |
| "entropy": 0.10234237797558307, | |
| "epoch": 0.48148148148148145, | |
| "grad_norm": 0.18433858454227448, | |
| "learning_rate": 0.00011617409223838424, | |
| "loss": 0.09683944582939148, | |
| "mean_token_accuracy": 0.9742834717035294, | |
| "num_tokens": 153791.0, | |
| "step": 65 | |
| }, | |
| { | |
| "entropy": 0.07824690397828818, | |
| "epoch": 0.5185185185185185, | |
| "grad_norm": 0.13548970222473145, | |
| "learning_rate": 0.00011526741918689102, | |
| "loss": 0.07679080367088317, | |
| "mean_token_accuracy": 0.9783078134059906, | |
| "num_tokens": 165817.0, | |
| "step": 70 | |
| }, | |
| { | |
| "entropy": 0.08320145066827536, | |
| "epoch": 0.5555555555555556, | |
| "grad_norm": 0.15186652541160583, | |
| "learning_rate": 0.00011426875897045668, | |
| "loss": 0.08074983954429626, | |
| "mean_token_accuracy": 0.9779912263154984, | |
| "num_tokens": 176815.0, | |
| "step": 75 | |
| }, | |
| { | |
| "entropy": 0.08174711763858795, | |
| "epoch": 0.5925925925925926, | |
| "grad_norm": 0.259741872549057, | |
| "learning_rate": 0.00011317977376045462, | |
| "loss": 0.06300960183143615, | |
| "mean_token_accuracy": 0.9824207067489624, | |
| "num_tokens": 188605.0, | |
| "step": 80 | |
| }, | |
| { | |
| "entropy": 0.0831047541461885, | |
| "epoch": 0.6296296296296297, | |
| "grad_norm": 0.15887252986431122, | |
| "learning_rate": 0.00011200227606529575, | |
| "loss": 0.07506940960884094, | |
| "mean_token_accuracy": 0.9780758321285248, | |
| "num_tokens": 199513.0, | |
| "step": 85 | |
| }, | |
| { | |
| "entropy": 0.06736826440319418, | |
| "epoch": 0.6666666666666666, | |
| "grad_norm": 0.2369181513786316, | |
| "learning_rate": 0.00011073822571368744, | |
| "loss": 0.06144486665725708, | |
| "mean_token_accuracy": 0.9824140101671219, | |
| "num_tokens": 210923.0, | |
| "step": 90 | |
| }, | |
| { | |
| "entropy": 0.05634280601516366, | |
| "epoch": 0.7037037037037037, | |
| "grad_norm": 0.24719209969043732, | |
| "learning_rate": 0.00010938972659269189, | |
| "loss": 0.060472726821899414, | |
| "mean_token_accuracy": 0.9837271720170975, | |
| "num_tokens": 222787.0, | |
| "step": 95 | |
| }, | |
| { | |
| "entropy": 0.07072817357257008, | |
| "epoch": 0.7407407407407407, | |
| "grad_norm": 0.14950594305992126, | |
| "learning_rate": 0.00010795902314601368, | |
| "loss": 0.051984351873397824, | |
| "mean_token_accuracy": 0.985470974445343, | |
| "num_tokens": 234924.0, | |
| "step": 100 | |
| }, | |
| { | |
| "entropy": 0.06330697322264314, | |
| "epoch": 0.7777777777777778, | |
| "grad_norm": 0.15363340079784393, | |
| "learning_rate": 0.00010644849663834496, | |
| "loss": 0.060857027769088745, | |
| "mean_token_accuracy": 0.9848979711532593, | |
| "num_tokens": 246456.0, | |
| "step": 105 | |
| }, | |
| { | |
| "entropy": 0.04936530189588666, | |
| "epoch": 0.8148148148148148, | |
| "grad_norm": 0.13986723124980927, | |
| "learning_rate": 0.00010486066119198507, | |
| "loss": 0.032787421345710756, | |
| "mean_token_accuracy": 0.99012870490551, | |
| "num_tokens": 258349.0, | |
| "step": 110 | |
| }, | |
| { | |
| "entropy": 0.04568654056638479, | |
| "epoch": 0.8518518518518519, | |
| "grad_norm": 0.18340961635112762, | |
| "learning_rate": 0.00010319815960233235, | |
| "loss": 0.04602453410625458, | |
| "mean_token_accuracy": 0.9859922111034394, | |
| "num_tokens": 269840.0, | |
| "step": 115 | |
| }, | |
| { | |
| "entropy": 0.04834917709231377, | |
| "epoch": 0.8888888888888888, | |
| "grad_norm": 0.3293381929397583, | |
| "learning_rate": 0.00010146375893921189, | |
| "loss": 0.04292893707752228, | |
| "mean_token_accuracy": 0.9876560688018798, | |
| "num_tokens": 281775.0, | |
| "step": 120 | |
| }, | |
| { | |
| "entropy": 0.04007941922172904, | |
| "epoch": 0.9259259259259259, | |
| "grad_norm": 0.07845436036586761, | |
| "learning_rate": 9.966034594136088e-05, | |
| "loss": 0.027235734462738036, | |
| "mean_token_accuracy": 0.9918505012989044, | |
| "num_tokens": 294019.0, | |
| "step": 125 | |
| }, | |
| { | |
| "entropy": 0.035360564338043333, | |
| "epoch": 0.9629629629629629, | |
| "grad_norm": 0.12564261257648468, | |
| "learning_rate": 9.779092221173693e-05, | |
| "loss": 0.031424480676651004, | |
| "mean_token_accuracy": 0.991526848077774, | |
| "num_tokens": 306153.0, | |
| "step": 130 | |
| }, | |
| { | |
| "entropy": 0.04177192095667124, | |
| "epoch": 1.0, | |
| "grad_norm": 0.10918562859296799, | |
| "learning_rate": 9.585859922164614e-05, | |
| "loss": 0.042234611511230466, | |
| "mean_token_accuracy": 0.987271249294281, | |
| "num_tokens": 317434.0, | |
| "step": 135 | |
| }, | |
| { | |
| "epoch": 1.0, | |
| "eval_entropy": 0.03486363682895899, | |
| "eval_loss": 0.0344783216714859, | |
| "eval_mean_token_accuracy": 0.9901577085256577, | |
| "eval_num_tokens": 317434.0, | |
| "eval_runtime": 21.5934, | |
| "eval_samples_per_second": 2.825, | |
| "eval_steps_per_second": 0.37, | |
| "step": 135 | |
| }, | |
| { | |
| "entropy": 0.02738695344887674, | |
| "epoch": 1.037037037037037, | |
| "grad_norm": 0.1941111981868744, | |
| "learning_rate": 9.386659313200617e-05, | |
| "loss": 0.02262488305568695, | |
| "mean_token_accuracy": 0.9927230477333069, | |
| "num_tokens": 329934.0, | |
| "step": 140 | |
| }, | |
| { | |
| "entropy": 0.03556588082574308, | |
| "epoch": 1.074074074074074, | |
| "grad_norm": 0.08918816596269608, | |
| "learning_rate": 9.181821944036377e-05, | |
| "loss": 0.029541340470314027, | |
| "mean_token_accuracy": 0.9909862071275711, | |
| "num_tokens": 341340.0, | |
| "step": 145 | |
| }, | |
| { | |
| "entropy": 0.03869956005364657, | |
| "epoch": 1.1111111111111112, | |
| "grad_norm": 0.11529859155416489, | |
| "learning_rate": 8.971688746257643e-05, | |
| "loss": 0.03130730390548706, | |
| "mean_token_accuracy": 0.9915205389261246, | |
| "num_tokens": 352258.0, | |
| "step": 150 | |
| }, | |
| { | |
| "entropy": 0.033127557439729574, | |
| "epoch": 1.1481481481481481, | |
| "grad_norm": 0.11719546467065811, | |
| "learning_rate": 8.756609465834247e-05, | |
| "loss": 0.027328357100486755, | |
| "mean_token_accuracy": 0.9920252948999405, | |
| "num_tokens": 363366.0, | |
| "step": 155 | |
| }, | |
| { | |
| "entropy": 0.02724163541570306, | |
| "epoch": 1.1851851851851851, | |
| "grad_norm": 0.13734927773475647, | |
| "learning_rate": 8.536942081002458e-05, | |
| "loss": 0.01805514991283417, | |
| "mean_token_accuracy": 0.9940120458602906, | |
| "num_tokens": 375355.0, | |
| "step": 160 | |
| }, | |
| { | |
| "entropy": 0.024101035995408894, | |
| "epoch": 1.2222222222222223, | |
| "grad_norm": 0.09833049774169922, | |
| "learning_rate": 8.313052206445537e-05, | |
| "loss": 0.020745748281478883, | |
| "mean_token_accuracy": 0.9928192019462585, | |
| "num_tokens": 387249.0, | |
| "step": 165 | |
| }, | |
| { | |
| "entropy": 0.025682222004979847, | |
| "epoch": 1.2592592592592593, | |
| "grad_norm": 0.0961751639842987, | |
| "learning_rate": 8.085312484764182e-05, | |
| "loss": 0.07190865874290467, | |
| "mean_token_accuracy": 0.9875553280115128, | |
| "num_tokens": 399300.0, | |
| "step": 170 | |
| }, | |
| { | |
| "entropy": 0.04264706941321492, | |
| "epoch": 1.2962962962962963, | |
| "grad_norm": 0.13578034937381744, | |
| "learning_rate": 7.854101966249684e-05, | |
| "loss": 0.02366093695163727, | |
| "mean_token_accuracy": 0.9940260708332062, | |
| "num_tokens": 411556.0, | |
| "step": 175 | |
| }, | |
| { | |
| "entropy": 0.06220883633941412, | |
| "epoch": 1.3333333333333333, | |
| "grad_norm": 0.20384126901626587, | |
| "learning_rate": 7.619805477992142e-05, | |
| "loss": 0.04640635848045349, | |
| "mean_token_accuracy": 0.9899013251066208, | |
| "num_tokens": 423996.0, | |
| "step": 180 | |
| }, | |
| { | |
| "entropy": 0.043295564223080875, | |
| "epoch": 1.3703703703703702, | |
| "grad_norm": 0.15128712356090546, | |
| "learning_rate": 7.382812983373733e-05, | |
| "loss": 0.029296672344207762, | |
| "mean_token_accuracy": 0.992077785730362, | |
| "num_tokens": 435518.0, | |
| "step": 185 | |
| }, | |
| { | |
| "entropy": 0.043108578445389865, | |
| "epoch": 1.4074074074074074, | |
| "grad_norm": 0.11903570592403412, | |
| "learning_rate": 7.143518933013158e-05, | |
| "loss": 0.036831405758857724, | |
| "mean_token_accuracy": 0.9891063272953033, | |
| "num_tokens": 446677.0, | |
| "step": 190 | |
| }, | |
| { | |
| "entropy": 0.03183741355314851, | |
| "epoch": 1.4444444444444444, | |
| "grad_norm": 0.10164694488048553, | |
| "learning_rate": 6.902321608241511e-05, | |
| "loss": 0.028231596946716307, | |
| "mean_token_accuracy": 0.9920115739107132, | |
| "num_tokens": 457751.0, | |
| "step": 195 | |
| }, | |
| { | |
| "entropy": 0.029331148881465197, | |
| "epoch": 1.4814814814814814, | |
| "grad_norm": 0.10179842263460159, | |
| "learning_rate": 6.659622458202313e-05, | |
| "loss": 0.05093961954116821, | |
| "mean_token_accuracy": 0.9899779498577118, | |
| "num_tokens": 469718.0, | |
| "step": 200 | |
| }, | |
| { | |
| "entropy": 0.028726924024522305, | |
| "epoch": 1.5185185185185186, | |
| "grad_norm": 0.07060033828020096, | |
| "learning_rate": 6.415825431679027e-05, | |
| "loss": 0.02026405483484268, | |
| "mean_token_accuracy": 0.9932345747947693, | |
| "num_tokens": 481002.0, | |
| "step": 205 | |
| }, | |
| { | |
| "entropy": 0.028702672850340605, | |
| "epoch": 1.5555555555555556, | |
| "grad_norm": 0.10019222646951675, | |
| "learning_rate": 6.171336304762177e-05, | |
| "loss": 0.022156040370464324, | |
| "mean_token_accuracy": 0.992090979218483, | |
| "num_tokens": 492358.0, | |
| "step": 210 | |
| }, | |
| { | |
| "entropy": 0.03079746402800083, | |
| "epoch": 1.5925925925925926, | |
| "grad_norm": 0.12455855309963226, | |
| "learning_rate": 5.9265620054750894e-05, | |
| "loss": 0.025223690271377563, | |
| "mean_token_accuracy": 0.991818904876709, | |
| "num_tokens": 504532.0, | |
| "step": 215 | |
| }, | |
| { | |
| "entropy": 0.025136778503656386, | |
| "epoch": 1.6296296296296298, | |
| "grad_norm": 0.05858968570828438, | |
| "learning_rate": 5.681909936482352e-05, | |
| "loss": 0.014613455533981324, | |
| "mean_token_accuracy": 0.9954995334148407, | |
| "num_tokens": 516398.0, | |
| "step": 220 | |
| }, | |
| { | |
| "entropy": 0.02275953588541597, | |
| "epoch": 1.6666666666666665, | |
| "grad_norm": 0.04841729998588562, | |
| "learning_rate": 5.4377872970082965e-05, | |
| "loss": 0.019071631133556366, | |
| "mean_token_accuracy": 0.9940439134836196, | |
| "num_tokens": 528185.0, | |
| "step": 225 | |
| }, | |
| { | |
| "entropy": 0.02200131481513381, | |
| "epoch": 1.7037037037037037, | |
| "grad_norm": 0.22355793416500092, | |
| "learning_rate": 5.1946004050940695e-05, | |
| "loss": 0.023459078371524812, | |
| "mean_token_accuracy": 0.9931194931268692, | |
| "num_tokens": 539769.0, | |
| "step": 230 | |
| }, | |
| { | |
| "entropy": 0.020356427505612375, | |
| "epoch": 1.7407407407407407, | |
| "grad_norm": 0.058030445128679276, | |
| "learning_rate": 4.952754021321347e-05, | |
| "loss": 0.017044633626937866, | |
| "mean_token_accuracy": 0.9935435086488724, | |
| "num_tokens": 551795.0, | |
| "step": 235 | |
| }, | |
| { | |
| "entropy": 0.026314255222678183, | |
| "epoch": 1.7777777777777777, | |
| "grad_norm": 0.20818936824798584, | |
| "learning_rate": 4.712650675128304e-05, | |
| "loss": 0.0228676900267601, | |
| "mean_token_accuracy": 0.9921791225671768, | |
| "num_tokens": 562957.0, | |
| "step": 240 | |
| }, | |
| { | |
| "entropy": 0.022862236388027667, | |
| "epoch": 1.8148148148148149, | |
| "grad_norm": 0.10002370923757553, | |
| "learning_rate": 4.47468999483908e-05, | |
| "loss": 0.02041718512773514, | |
| "mean_token_accuracy": 0.9938913494348526, | |
| "num_tokens": 574502.0, | |
| "step": 245 | |
| }, | |
| { | |
| "entropy": 0.016790922870859502, | |
| "epoch": 1.8518518518518519, | |
| "grad_norm": 0.0550544299185276, | |
| "learning_rate": 4.239268042521873e-05, | |
| "loss": 0.012437263131141662, | |
| "mean_token_accuracy": 0.9951070278882981, | |
| "num_tokens": 586811.0, | |
| "step": 250 | |
| }, | |
| { | |
| "entropy": 0.016522265132516624, | |
| "epoch": 1.8888888888888888, | |
| "grad_norm": 0.06232566758990288, | |
| "learning_rate": 4.00677665478272e-05, | |
| "loss": 0.011668998748064041, | |
| "mean_token_accuracy": 0.9955484867095947, | |
| "num_tokens": 599300.0, | |
| "step": 255 | |
| }, | |
| { | |
| "entropy": 0.018748187366873025, | |
| "epoch": 1.925925925925926, | |
| "grad_norm": 0.06504185497760773, | |
| "learning_rate": 3.777602790592134e-05, | |
| "loss": 0.017984168231487276, | |
| "mean_token_accuracy": 0.9940858900547027, | |
| "num_tokens": 611110.0, | |
| "step": 260 | |
| }, | |
| { | |
| "entropy": 0.017865141620859504, | |
| "epoch": 1.9629629629629628, | |
| "grad_norm": 0.06499379128217697, | |
| "learning_rate": 3.5521278872300795e-05, | |
| "loss": 0.016649360954761504, | |
| "mean_token_accuracy": 0.99436714053154, | |
| "num_tokens": 622721.0, | |
| "step": 265 | |
| }, | |
| { | |
| "entropy": 0.018701449153013527, | |
| "epoch": 2.0, | |
| "grad_norm": 0.08233848959207535, | |
| "learning_rate": 3.330727225421275e-05, | |
| "loss": 0.016060291230678557, | |
| "mean_token_accuracy": 0.9938223898410797, | |
| "num_tokens": 634868.0, | |
| "step": 270 | |
| }, | |
| { | |
| "epoch": 2.0, | |
| "eval_entropy": 0.019374949391931295, | |
| "eval_loss": 0.019307320937514305, | |
| "eval_mean_token_accuracy": 0.9943541213870049, | |
| "eval_num_tokens": 634868.0, | |
| "eval_runtime": 21.6042, | |
| "eval_samples_per_second": 2.824, | |
| "eval_steps_per_second": 0.37, | |
| "step": 270 | |
| }, | |
| { | |
| "entropy": 0.02155592639464885, | |
| "epoch": 2.037037037037037, | |
| "grad_norm": 0.057472191751003265, | |
| "learning_rate": 3.113769304717453e-05, | |
| "loss": 0.01684061735868454, | |
| "mean_token_accuracy": 0.994311398267746, | |
| "num_tokens": 646316.0, | |
| "step": 275 | |
| }, | |
| { | |
| "entropy": 0.01509386943653226, | |
| "epoch": 2.074074074074074, | |
| "grad_norm": 0.06480696052312851, | |
| "learning_rate": 2.901615230166229e-05, | |
| "loss": 0.012962163984775543, | |
| "mean_token_accuracy": 0.995723757147789, | |
| "num_tokens": 658046.0, | |
| "step": 280 | |
| }, | |
| { | |
| "entropy": 0.01534039033576846, | |
| "epoch": 2.111111111111111, | |
| "grad_norm": 0.06332972645759583, | |
| "learning_rate": 2.6946181112873856e-05, | |
| "loss": 0.012182521820068359, | |
| "mean_token_accuracy": 0.995614492893219, | |
| "num_tokens": 670513.0, | |
| "step": 285 | |
| }, | |
| { | |
| "entropy": 0.017340931994840502, | |
| "epoch": 2.148148148148148, | |
| "grad_norm": 0.14980252087116241, | |
| "learning_rate": 2.4931224743569226e-05, | |
| "loss": 0.016481110453605653, | |
| "mean_token_accuracy": 0.9945826053619384, | |
| "num_tokens": 682186.0, | |
| "step": 290 | |
| }, | |
| { | |
| "entropy": 0.015872284304350615, | |
| "epoch": 2.185185185185185, | |
| "grad_norm": 0.06532690674066544, | |
| "learning_rate": 2.2974636889770757e-05, | |
| "loss": 0.013028515875339508, | |
| "mean_token_accuracy": 0.9951453268527984, | |
| "num_tokens": 693908.0, | |
| "step": 295 | |
| }, | |
| { | |
| "entropy": 0.01956442976370454, | |
| "epoch": 2.2222222222222223, | |
| "grad_norm": 0.10309786349534988, | |
| "learning_rate": 2.1079674098867064e-05, | |
| "loss": 0.014946073293685913, | |
| "mean_token_accuracy": 0.9947664886713028, | |
| "num_tokens": 705690.0, | |
| "step": 300 | |
| }, | |
| { | |
| "entropy": 0.017685536365024745, | |
| "epoch": 2.259259259259259, | |
| "grad_norm": 0.0740559920668602, | |
| "learning_rate": 1.9249490349411315e-05, | |
| "loss": 0.013208051025867463, | |
| "mean_token_accuracy": 0.995546680688858, | |
| "num_tokens": 716781.0, | |
| "step": 305 | |
| }, | |
| { | |
| "entropy": 0.01590444380417466, | |
| "epoch": 2.2962962962962963, | |
| "grad_norm": 0.06235004961490631, | |
| "learning_rate": 1.7487131801635165e-05, | |
| "loss": 0.016349935531616212, | |
| "mean_token_accuracy": 0.9946348041296005, | |
| "num_tokens": 729081.0, | |
| "step": 310 | |
| }, | |
| { | |
| "entropy": 0.018743232218548657, | |
| "epoch": 2.3333333333333335, | |
| "grad_norm": 0.05309706926345825, | |
| "learning_rate": 1.5795531727415696e-05, | |
| "loss": 0.017263706028461456, | |
| "mean_token_accuracy": 0.9948439329862595, | |
| "num_tokens": 740985.0, | |
| "step": 315 | |
| }, | |
| { | |
| "entropy": 0.014778027543798089, | |
| "epoch": 2.3703703703703702, | |
| "grad_norm": 0.05630950629711151, | |
| "learning_rate": 1.4177505628133853e-05, | |
| "loss": 0.011116426438093185, | |
| "mean_token_accuracy": 0.9958865851163864, | |
| "num_tokens": 753485.0, | |
| "step": 320 | |
| }, | |
| { | |
| "entropy": 0.01744624492712319, | |
| "epoch": 2.4074074074074074, | |
| "grad_norm": 0.05639888346195221, | |
| "learning_rate": 1.263574654855024e-05, | |
| "loss": 0.014885461330413819, | |
| "mean_token_accuracy": 0.994651734828949, | |
| "num_tokens": 765122.0, | |
| "step": 325 | |
| }, | |
| { | |
| "entropy": 0.017501220339909196, | |
| "epoch": 2.4444444444444446, | |
| "grad_norm": 0.08697295188903809, | |
| "learning_rate": 1.1172820594497901e-05, | |
| "loss": 0.013951601088047027, | |
| "mean_token_accuracy": 0.9949617445468902, | |
| "num_tokens": 776618.0, | |
| "step": 330 | |
| }, | |
| { | |
| "entropy": 0.01680045130196959, | |
| "epoch": 2.4814814814814814, | |
| "grad_norm": 0.05513456091284752, | |
| "learning_rate": 9.791162661852442e-06, | |
| "loss": 0.01489269733428955, | |
| "mean_token_accuracy": 0.994612592458725, | |
| "num_tokens": 788791.0, | |
| "step": 335 | |
| }, | |
| { | |
| "entropy": 0.01680692876689136, | |
| "epoch": 2.5185185185185186, | |
| "grad_norm": 0.06185922026634216, | |
| "learning_rate": 8.493072383888034e-06, | |
| "loss": 0.013630254566669464, | |
| "mean_token_accuracy": 0.9946611434221267, | |
| "num_tokens": 800102.0, | |
| "step": 340 | |
| }, | |
| { | |
| "entropy": 0.015487593668513, | |
| "epoch": 2.5555555555555554, | |
| "grad_norm": 0.06586004048585892, | |
| "learning_rate": 7.280710303764937e-06, | |
| "loss": 0.011636995524168015, | |
| "mean_token_accuracy": 0.9955793589353561, | |
| "num_tokens": 812420.0, | |
| "step": 345 | |
| }, | |
| { | |
| "entropy": 0.0172795913182199, | |
| "epoch": 2.5925925925925926, | |
| "grad_norm": 0.06730081886053085, | |
| "learning_rate": 6.156094278518507e-06, | |
| "loss": 0.01407027691602707, | |
| "mean_token_accuracy": 0.9952077627182007, | |
| "num_tokens": 823717.0, | |
| "step": 350 | |
| }, | |
| { | |
| "entropy": 0.018330952199175955, | |
| "epoch": 2.6296296296296298, | |
| "grad_norm": 0.07894337177276611, | |
| "learning_rate": 5.12109612053534e-06, | |
| "loss": 0.015743912756443025, | |
| "mean_token_accuracy": 0.9947955369949341, | |
| "num_tokens": 834850.0, | |
| "step": 355 | |
| }, | |
| { | |
| "entropy": 0.033022188139148055, | |
| "epoch": 2.6666666666666665, | |
| "grad_norm": 0.07171186059713364, | |
| "learning_rate": 4.177438482106297e-06, | |
| "loss": 0.04255123436450958, | |
| "mean_token_accuracy": 0.9895174443721771, | |
| "num_tokens": 847365.0, | |
| "step": 360 | |
| }, | |
| { | |
| "entropy": 0.02138599450699985, | |
| "epoch": 2.7037037037037037, | |
| "grad_norm": 0.051539305597543716, | |
| "learning_rate": 3.3266919882417678e-06, | |
| "loss": 0.027178192138671876, | |
| "mean_token_accuracy": 0.9935393989086151, | |
| "num_tokens": 860045.0, | |
| "step": 365 | |
| }, | |
| { | |
| "entropy": 0.01952979280613363, | |
| "epoch": 2.7407407407407405, | |
| "grad_norm": 0.05689714476466179, | |
| "learning_rate": 2.5702726225213147e-06, | |
| "loss": 0.01648416221141815, | |
| "mean_token_accuracy": 0.9942891150712967, | |
| "num_tokens": 871245.0, | |
| "step": 370 | |
| }, | |
| { | |
| "entropy": 0.015890083578415214, | |
| "epoch": 2.7777777777777777, | |
| "grad_norm": 0.0873027816414833, | |
| "learning_rate": 1.909439370328796e-06, | |
| "loss": 0.01425819844007492, | |
| "mean_token_accuracy": 0.9948883861303329, | |
| "num_tokens": 883103.0, | |
| "step": 375 | |
| }, | |
| { | |
| "entropy": 0.01853708759881556, | |
| "epoch": 2.814814814814815, | |
| "grad_norm": 0.14816772937774658, | |
| "learning_rate": 1.3452921233953985e-06, | |
| "loss": 0.015130621194839478, | |
| "mean_token_accuracy": 0.9951243221759796, | |
| "num_tokens": 893898.0, | |
| "step": 380 | |
| }, | |
| { | |
| "entropy": 0.014458014210686088, | |
| "epoch": 2.851851851851852, | |
| "grad_norm": 0.11607185751199722, | |
| "learning_rate": 8.78769849138421e-07, | |
| "loss": 0.014292967319488526, | |
| "mean_token_accuracy": 0.9954265356063843, | |
| "num_tokens": 905451.0, | |
| "step": 385 | |
| }, | |
| { | |
| "entropy": 0.01705155975650996, | |
| "epoch": 2.888888888888889, | |
| "grad_norm": 0.0515853650867939, | |
| "learning_rate": 5.106490278426734e-07, | |
| "loss": 0.013103468716144562, | |
| "mean_token_accuracy": 0.9956641614437103, | |
| "num_tokens": 917065.0, | |
| "step": 390 | |
| }, | |
| { | |
| "entropy": 0.01840896802023053, | |
| "epoch": 2.925925925925926, | |
| "grad_norm": 0.04991859942674637, | |
| "learning_rate": 2.415423602856559e-07, | |
| "loss": 0.018856780230998994, | |
| "mean_token_accuracy": 0.9939174085855484, | |
| "num_tokens": 928469.0, | |
| "step": 395 | |
| }, | |
| { | |
| "entropy": 0.015360000496730208, | |
| "epoch": 2.962962962962963, | |
| "grad_norm": 0.06383562833070755, | |
| "learning_rate": 7.189774795761884e-08, | |
| "loss": 0.01126081943511963, | |
| "mean_token_accuracy": 0.9956120908260345, | |
| "num_tokens": 940925.0, | |
| "step": 400 | |
| }, | |
| { | |
| "entropy": 0.016484463680535556, | |
| "epoch": 3.0, | |
| "grad_norm": 0.057360079139471054, | |
| "learning_rate": 1.997547573691083e-09, | |
| "loss": 0.012695969641208648, | |
| "mean_token_accuracy": 0.9950952470302582, | |
| "num_tokens": 952302.0, | |
| "step": 405 | |
| }, | |
| { | |
| "epoch": 3.0, | |
| "eval_entropy": 0.017510844860225916, | |
| "eval_loss": 0.017633475363254547, | |
| "eval_mean_token_accuracy": 0.9942200407385826, | |
| "eval_num_tokens": 952302.0, | |
| "eval_runtime": 21.5769, | |
| "eval_samples_per_second": 2.827, | |
| "eval_steps_per_second": 0.371, | |
| "step": 405 | |
| } | |
| ], | |
| "logging_steps": 5, | |
| "max_steps": 405, | |
| "num_input_tokens_seen": 0, | |
| "num_train_epochs": 3, | |
| "save_steps": 500, | |
| "stateful_callbacks": { | |
| "TrainerControl": { | |
| "args": { | |
| "should_epoch_stop": false, | |
| "should_evaluate": false, | |
| "should_log": false, | |
| "should_save": true, | |
| "should_training_stop": true | |
| }, | |
| "attributes": {} | |
| } | |
| }, | |
| "total_flos": 1.6196605167255552e+16, | |
| "train_batch_size": 1, | |
| "trial_name": null, | |
| "trial_params": null | |
| } | |