Text Generation
PEFT
Safetensors
Transformers
qwen3
lora
sft
trl
conversational
text-generation-inference
Instructions to use yosa722/yosa-intercode with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use yosa722/yosa-intercode with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-4B-Instruct-2507") model = PeftModel.from_pretrained(base_model, "yosa722/yosa-intercode") - Transformers
How to use yosa722/yosa-intercode with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="yosa722/yosa-intercode") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("yosa722/yosa-intercode") model = AutoModelForCausalLM.from_pretrained("yosa722/yosa-intercode", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use yosa722/yosa-intercode with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "yosa722/yosa-intercode" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "yosa722/yosa-intercode", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/yosa722/yosa-intercode
- SGLang
How to use yosa722/yosa-intercode 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 "yosa722/yosa-intercode" \ --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": "yosa722/yosa-intercode", "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 "yosa722/yosa-intercode" \ --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": "yosa722/yosa-intercode", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use yosa722/yosa-intercode with Docker Model Runner:
docker model run hf.co/yosa722/yosa-intercode
Download trainer_state.json from yosa722/yosa-intercode: direct link, hf CLI and curl.
- Browser
- Download file 26.2 kB
-
https://huggingface.co/yosa722/yosa-intercode/resolve/main/trainer_state.json
- Command line
-
hf download hf://yosa722/yosa-intercode/trainer_state.json
-
curl -L -o trainer_state.json https://huggingface.co/yosa722/yosa-intercode/resolve/main/trainer_state.json
26.2 kB
| { | |
| "best_global_step": null, | |
| "best_metric": null, | |
| "best_model_checkpoint": null, | |
| "epoch": 0.37762762762762764, | |
| "eval_steps": 500, | |
| "global_step": 503, | |
| "is_hyper_param_search": false, | |
| "is_local_process_zero": true, | |
| "is_world_process_zero": true, | |
| "log_history": [ | |
| { | |
| "epoch": 0.0037537537537537537, | |
| "grad_norm": 129.85818481445312, | |
| "learning_rate": 4.081632653061224e-06, | |
| "loss": 2.4332, | |
| "mean_token_accuracy": 0.7609326124191285, | |
| "num_tokens": 280914.0, | |
| "step": 5 | |
| }, | |
| { | |
| "epoch": 0.0075075075075075074, | |
| "grad_norm": 14.717476844787598, | |
| "learning_rate": 9.183673469387754e-06, | |
| "loss": 0.8806, | |
| "mean_token_accuracy": 0.8226220965385437, | |
| "num_tokens": 544892.0, | |
| "step": 10 | |
| }, | |
| { | |
| "epoch": 0.01126126126126126, | |
| "grad_norm": 4.145329475402832, | |
| "learning_rate": 1.4285714285714285e-05, | |
| "loss": 0.4198, | |
| "mean_token_accuracy": 0.8694905161857605, | |
| "num_tokens": 823274.0, | |
| "step": 15 | |
| }, | |
| { | |
| "epoch": 0.015015015015015015, | |
| "grad_norm": 3.9429759979248047, | |
| "learning_rate": 1.9387755102040814e-05, | |
| "loss": 0.3534, | |
| "mean_token_accuracy": 0.8684844851493836, | |
| "num_tokens": 1101209.0, | |
| "step": 20 | |
| }, | |
| { | |
| "epoch": 0.01876876876876877, | |
| "grad_norm": 2.3307929039001465, | |
| "learning_rate": 2.4489795918367345e-05, | |
| "loss": 0.3577, | |
| "mean_token_accuracy": 0.8763253211975097, | |
| "num_tokens": 1357223.0, | |
| "step": 25 | |
| }, | |
| { | |
| "epoch": 0.02252252252252252, | |
| "grad_norm": 2.282684564590454, | |
| "learning_rate": 2.9591836734693876e-05, | |
| "loss": 0.3376, | |
| "mean_token_accuracy": 0.8744590997695922, | |
| "num_tokens": 1618809.0, | |
| "step": 30 | |
| }, | |
| { | |
| "epoch": 0.026276276276276277, | |
| "grad_norm": 1.5894471406936646, | |
| "learning_rate": 3.4693877551020405e-05, | |
| "loss": 0.3185, | |
| "mean_token_accuracy": 0.8849869012832642, | |
| "num_tokens": 1891637.0, | |
| "step": 35 | |
| }, | |
| { | |
| "epoch": 0.03003003003003003, | |
| "grad_norm": 2.4274260997772217, | |
| "learning_rate": 3.5713657106697575e-05, | |
| "loss": 0.3292, | |
| "mean_token_accuracy": 0.8810827851295471, | |
| "num_tokens": 2161429.0, | |
| "step": 40 | |
| }, | |
| { | |
| "epoch": 0.033783783783783786, | |
| "grad_norm": 1.6097519397735596, | |
| "learning_rate": 3.571110348950354e-05, | |
| "loss": 0.2839, | |
| "mean_token_accuracy": 0.9057799339294433, | |
| "num_tokens": 2436430.0, | |
| "step": 45 | |
| }, | |
| { | |
| "epoch": 0.03753753753753754, | |
| "grad_norm": 1.732234001159668, | |
| "learning_rate": 3.57065859489916e-05, | |
| "loss": 0.2616, | |
| "mean_token_accuracy": 0.9021430611610413, | |
| "num_tokens": 2716209.0, | |
| "step": 50 | |
| }, | |
| { | |
| "epoch": 0.04129129129129129, | |
| "grad_norm": 2.8325908184051514, | |
| "learning_rate": 3.5700105147769574e-05, | |
| "loss": 0.2519, | |
| "mean_token_accuracy": 0.9101926445960998, | |
| "num_tokens": 2996174.0, | |
| "step": 55 | |
| }, | |
| { | |
| "epoch": 0.04504504504504504, | |
| "grad_norm": 1.4115333557128906, | |
| "learning_rate": 3.569166203640549e-05, | |
| "loss": 0.2692, | |
| "mean_token_accuracy": 0.9120310068130493, | |
| "num_tokens": 3250676.0, | |
| "step": 60 | |
| }, | |
| { | |
| "epoch": 0.048798798798798795, | |
| "grad_norm": 1.9821858406066895, | |
| "learning_rate": 3.568125785328811e-05, | |
| "loss": 0.2391, | |
| "mean_token_accuracy": 0.9073711514472962, | |
| "num_tokens": 3512597.0, | |
| "step": 65 | |
| }, | |
| { | |
| "epoch": 0.052552552552552555, | |
| "grad_norm": 1.6633108854293823, | |
| "learning_rate": 3.566889412444537e-05, | |
| "loss": 0.2349, | |
| "mean_token_accuracy": 0.9122033238410949, | |
| "num_tokens": 3781188.0, | |
| "step": 70 | |
| }, | |
| { | |
| "epoch": 0.05630630630630631, | |
| "grad_norm": 1.4440038204193115, | |
| "learning_rate": 3.5654572663320506e-05, | |
| "loss": 0.2323, | |
| "mean_token_accuracy": 0.9200502872467041, | |
| "num_tokens": 4058070.0, | |
| "step": 75 | |
| }, | |
| { | |
| "epoch": 0.06006006006006006, | |
| "grad_norm": 1.1624308824539185, | |
| "learning_rate": 3.563829557050608e-05, | |
| "loss": 0.2147, | |
| "mean_token_accuracy": 0.9232652902603149, | |
| "num_tokens": 4331542.0, | |
| "step": 80 | |
| }, | |
| { | |
| "epoch": 0.06381381381381382, | |
| "grad_norm": 1.1635315418243408, | |
| "learning_rate": 3.562006523343585e-05, | |
| "loss": 0.2333, | |
| "mean_token_accuracy": 0.9190425992012023, | |
| "num_tokens": 4581645.0, | |
| "step": 85 | |
| }, | |
| { | |
| "epoch": 0.06756756756756757, | |
| "grad_norm": 1.7375041246414185, | |
| "learning_rate": 3.559988432603464e-05, | |
| "loss": 0.2125, | |
| "mean_token_accuracy": 0.923003089427948, | |
| "num_tokens": 4833944.0, | |
| "step": 90 | |
| }, | |
| { | |
| "epoch": 0.07132132132132132, | |
| "grad_norm": 1.0045804977416992, | |
| "learning_rate": 3.557775580832611e-05, | |
| "loss": 0.2228, | |
| "mean_token_accuracy": 0.9227548241615295, | |
| "num_tokens": 5106914.0, | |
| "step": 95 | |
| }, | |
| { | |
| "epoch": 0.07507507507507508, | |
| "grad_norm": 2.377275228500366, | |
| "learning_rate": 3.5553682925998626e-05, | |
| "loss": 0.2243, | |
| "mean_token_accuracy": 0.9191444396972657, | |
| "num_tokens": 5386785.0, | |
| "step": 100 | |
| }, | |
| { | |
| "epoch": 0.07882882882882883, | |
| "grad_norm": 1.655733585357666, | |
| "learning_rate": 3.552766920992916e-05, | |
| "loss": 0.2215, | |
| "mean_token_accuracy": 0.9134192824363708, | |
| "num_tokens": 5646959.0, | |
| "step": 105 | |
| }, | |
| { | |
| "epoch": 0.08258258258258258, | |
| "grad_norm": 1.641244649887085, | |
| "learning_rate": 3.5499718475665417e-05, | |
| "loss": 0.2095, | |
| "mean_token_accuracy": 0.9226836681365966, | |
| "num_tokens": 5912039.0, | |
| "step": 110 | |
| }, | |
| { | |
| "epoch": 0.08633633633633633, | |
| "grad_norm": 1.346803069114685, | |
| "learning_rate": 3.546983482286623e-05, | |
| "loss": 0.2111, | |
| "mean_token_accuracy": 0.9155736684799194, | |
| "num_tokens": 6180371.0, | |
| "step": 115 | |
| }, | |
| { | |
| "epoch": 0.09009009009009009, | |
| "grad_norm": 1.6892942190170288, | |
| "learning_rate": 3.5438022634700173e-05, | |
| "loss": 0.1994, | |
| "mean_token_accuracy": 0.9199833512306214, | |
| "num_tokens": 6440207.0, | |
| "step": 120 | |
| }, | |
| { | |
| "epoch": 0.09384384384384384, | |
| "grad_norm": 1.2990646362304688, | |
| "learning_rate": 3.540428657720273e-05, | |
| "loss": 0.2213, | |
| "mean_token_accuracy": 0.9173951864242553, | |
| "num_tokens": 6705922.0, | |
| "step": 125 | |
| }, | |
| { | |
| "epoch": 0.09759759759759759, | |
| "grad_norm": 1.4695467948913574, | |
| "learning_rate": 3.536863159859187e-05, | |
| "loss": 0.1905, | |
| "mean_token_accuracy": 0.924054229259491, | |
| "num_tokens": 6962102.0, | |
| "step": 130 | |
| }, | |
| { | |
| "epoch": 0.10135135135135136, | |
| "grad_norm": 1.3708211183547974, | |
| "learning_rate": 3.533106292854226e-05, | |
| "loss": 0.1806, | |
| "mean_token_accuracy": 0.9306123614311218, | |
| "num_tokens": 7219926.0, | |
| "step": 135 | |
| }, | |
| { | |
| "epoch": 0.10510510510510511, | |
| "grad_norm": 0.8379899859428406, | |
| "learning_rate": 3.529158607741824e-05, | |
| "loss": 0.2145, | |
| "mean_token_accuracy": 0.9159927010536194, | |
| "num_tokens": 7496831.0, | |
| "step": 140 | |
| }, | |
| { | |
| "epoch": 0.10885885885885886, | |
| "grad_norm": 1.4872331619262695, | |
| "learning_rate": 3.5250206835465574e-05, | |
| "loss": 0.1847, | |
| "mean_token_accuracy": 0.9255015254020691, | |
| "num_tokens": 7763902.0, | |
| "step": 145 | |
| }, | |
| { | |
| "epoch": 0.11261261261261261, | |
| "grad_norm": 2.5985193252563477, | |
| "learning_rate": 3.520693127196217e-05, | |
| "loss": 0.1904, | |
| "mean_token_accuracy": 0.9263749361038208, | |
| "num_tokens": 8042628.0, | |
| "step": 150 | |
| }, | |
| { | |
| "epoch": 0.11636636636636637, | |
| "grad_norm": 1.2268768548965454, | |
| "learning_rate": 3.5161765734327865e-05, | |
| "loss": 0.183, | |
| "mean_token_accuracy": 0.9278373956680298, | |
| "num_tokens": 8304261.0, | |
| "step": 155 | |
| }, | |
| { | |
| "epoch": 0.12012012012012012, | |
| "grad_norm": 1.8792515993118286, | |
| "learning_rate": 3.511471684719343e-05, | |
| "loss": 0.1887, | |
| "mean_token_accuracy": 0.9302549004554749, | |
| "num_tokens": 8568588.0, | |
| "step": 160 | |
| }, | |
| { | |
| "epoch": 0.12387387387387387, | |
| "grad_norm": 1.2848690748214722, | |
| "learning_rate": 3.5065791511428926e-05, | |
| "loss": 0.2026, | |
| "mean_token_accuracy": 0.9166888475418091, | |
| "num_tokens": 8844598.0, | |
| "step": 165 | |
| }, | |
| { | |
| "epoch": 0.12762762762762764, | |
| "grad_norm": 0.9684344530105591, | |
| "learning_rate": 3.5014996903131457e-05, | |
| "loss": 0.2007, | |
| "mean_token_accuracy": 0.9177420258522033, | |
| "num_tokens": 9110868.0, | |
| "step": 170 | |
| }, | |
| { | |
| "epoch": 0.1313813813813814, | |
| "grad_norm": 1.2147730588912964, | |
| "learning_rate": 3.496234047257271e-05, | |
| "loss": 0.1913, | |
| "mean_token_accuracy": 0.9265851855278016, | |
| "num_tokens": 9389282.0, | |
| "step": 175 | |
| }, | |
| { | |
| "epoch": 0.13513513513513514, | |
| "grad_norm": 0.7212041616439819, | |
| "learning_rate": 3.4907829943106105e-05, | |
| "loss": 0.185, | |
| "mean_token_accuracy": 0.9258002996444702, | |
| "num_tokens": 9669172.0, | |
| "step": 180 | |
| }, | |
| { | |
| "epoch": 0.1388888888888889, | |
| "grad_norm": 0.9355263113975525, | |
| "learning_rate": 3.485147331003406e-05, | |
| "loss": 0.1892, | |
| "mean_token_accuracy": 0.9157182574272156, | |
| "num_tokens": 9926534.0, | |
| "step": 185 | |
| }, | |
| { | |
| "epoch": 0.14264264264264265, | |
| "grad_norm": 0.7638856768608093, | |
| "learning_rate": 3.479327883943518e-05, | |
| "loss": 0.1706, | |
| "mean_token_accuracy": 0.9308441996574401, | |
| "num_tokens": 10202073.0, | |
| "step": 190 | |
| }, | |
| { | |
| "epoch": 0.1463963963963964, | |
| "grad_norm": 1.0643572807312012, | |
| "learning_rate": 3.473325506695195e-05, | |
| "loss": 0.1733, | |
| "mean_token_accuracy": 0.9240830659866333, | |
| "num_tokens": 10467282.0, | |
| "step": 195 | |
| }, | |
| { | |
| "epoch": 0.15015015015015015, | |
| "grad_norm": 1.0392132997512817, | |
| "learning_rate": 3.467141079653868e-05, | |
| "loss": 0.1985, | |
| "mean_token_accuracy": 0.9175134658813476, | |
| "num_tokens": 10737628.0, | |
| "step": 200 | |
| }, | |
| { | |
| "epoch": 0.1539039039039039, | |
| "grad_norm": 0.6921020150184631, | |
| "learning_rate": 3.460775509917026e-05, | |
| "loss": 0.1666, | |
| "mean_token_accuracy": 0.9369842290878296, | |
| "num_tokens": 11002271.0, | |
| "step": 205 | |
| }, | |
| { | |
| "epoch": 0.15765765765765766, | |
| "grad_norm": 0.8893159031867981, | |
| "learning_rate": 3.4542297311511614e-05, | |
| "loss": 0.1486, | |
| "mean_token_accuracy": 0.937507426738739, | |
| "num_tokens": 11271861.0, | |
| "step": 210 | |
| }, | |
| { | |
| "epoch": 0.1614114114114114, | |
| "grad_norm": 1.5321778059005737, | |
| "learning_rate": 3.447504703454832e-05, | |
| "loss": 0.1849, | |
| "mean_token_accuracy": 0.9323258876800538, | |
| "num_tokens": 11538345.0, | |
| "step": 215 | |
| }, | |
| { | |
| "epoch": 0.16516516516516516, | |
| "grad_norm": 0.9346843361854553, | |
| "learning_rate": 3.440601413217831e-05, | |
| "loss": 0.1854, | |
| "mean_token_accuracy": 0.9185671448707581, | |
| "num_tokens": 11802401.0, | |
| "step": 220 | |
| }, | |
| { | |
| "epoch": 0.16891891891891891, | |
| "grad_norm": 0.7720460891723633, | |
| "learning_rate": 3.433520872976518e-05, | |
| "loss": 0.1648, | |
| "mean_token_accuracy": 0.9316603183746338, | |
| "num_tokens": 12058887.0, | |
| "step": 225 | |
| }, | |
| { | |
| "epoch": 0.17267267267267267, | |
| "grad_norm": 0.7920854091644287, | |
| "learning_rate": 3.4262641212652966e-05, | |
| "loss": 0.1707, | |
| "mean_token_accuracy": 0.9326772093772888, | |
| "num_tokens": 12336987.0, | |
| "step": 230 | |
| }, | |
| { | |
| "epoch": 0.17642642642642642, | |
| "grad_norm": 0.8424853086471558, | |
| "learning_rate": 3.418832222464297e-05, | |
| "loss": 0.1788, | |
| "mean_token_accuracy": 0.9229581475257873, | |
| "num_tokens": 12609028.0, | |
| "step": 235 | |
| }, | |
| { | |
| "epoch": 0.18018018018018017, | |
| "grad_norm": 0.7966058254241943, | |
| "learning_rate": 3.411226266643248e-05, | |
| "loss": 0.194, | |
| "mean_token_accuracy": 0.9209591388702393, | |
| "num_tokens": 12883276.0, | |
| "step": 240 | |
| }, | |
| { | |
| "epoch": 0.18393393393393392, | |
| "grad_norm": 0.56379234790802, | |
| "learning_rate": 3.403447369401604e-05, | |
| "loss": 0.1752, | |
| "mean_token_accuracy": 0.9293879389762878, | |
| "num_tokens": 13156986.0, | |
| "step": 245 | |
| }, | |
| { | |
| "epoch": 0.18768768768768768, | |
| "grad_norm": 2.153838634490967, | |
| "learning_rate": 3.3954966717049036e-05, | |
| "loss": 0.1855, | |
| "mean_token_accuracy": 0.9209511876106262, | |
| "num_tokens": 13412966.0, | |
| "step": 250 | |
| }, | |
| { | |
| "epoch": 0.19144144144144143, | |
| "grad_norm": 0.5846835374832153, | |
| "learning_rate": 3.387375339717427e-05, | |
| "loss": 0.1614, | |
| "mean_token_accuracy": 0.9349325299263, | |
| "num_tokens": 13695818.0, | |
| "step": 255 | |
| }, | |
| { | |
| "epoch": 0.19519519519519518, | |
| "grad_norm": 0.6991261839866638, | |
| "learning_rate": 3.3790845646311446e-05, | |
| "loss": 0.2037, | |
| "mean_token_accuracy": 0.9155216813087463, | |
| "num_tokens": 13959374.0, | |
| "step": 260 | |
| }, | |
| { | |
| "epoch": 0.19894894894894896, | |
| "grad_norm": 1.9901292324066162, | |
| "learning_rate": 3.3706255624910046e-05, | |
| "loss": 0.1596, | |
| "mean_token_accuracy": 0.931711483001709, | |
| "num_tokens": 14231489.0, | |
| "step": 265 | |
| }, | |
| { | |
| "epoch": 0.20270270270270271, | |
| "grad_norm": 0.7252073287963867, | |
| "learning_rate": 3.3619995740165626e-05, | |
| "loss": 0.184, | |
| "mean_token_accuracy": 0.9256587028503418, | |
| "num_tokens": 14505767.0, | |
| "step": 270 | |
| }, | |
| { | |
| "epoch": 0.20645645645645647, | |
| "grad_norm": 0.7738709449768066, | |
| "learning_rate": 3.353207864420008e-05, | |
| "loss": 0.186, | |
| "mean_token_accuracy": 0.9248542547225952, | |
| "num_tokens": 14785972.0, | |
| "step": 275 | |
| }, | |
| { | |
| "epoch": 0.21021021021021022, | |
| "grad_norm": 0.8303631544113159, | |
| "learning_rate": 3.3442517232205867e-05, | |
| "loss": 0.1913, | |
| "mean_token_accuracy": 0.9185616254806519, | |
| "num_tokens": 15062704.0, | |
| "step": 280 | |
| }, | |
| { | |
| "epoch": 0.21396396396396397, | |
| "grad_norm": 0.5365503430366516, | |
| "learning_rate": 3.3351324640554564e-05, | |
| "loss": 0.1675, | |
| "mean_token_accuracy": 0.9299024701118469, | |
| "num_tokens": 15327852.0, | |
| "step": 285 | |
| }, | |
| { | |
| "epoch": 0.21771771771771772, | |
| "grad_norm": 0.9855430126190186, | |
| "learning_rate": 3.3258514244870196e-05, | |
| "loss": 0.1731, | |
| "mean_token_accuracy": 0.9262196779251098, | |
| "num_tokens": 15592036.0, | |
| "step": 290 | |
| }, | |
| { | |
| "epoch": 0.22147147147147148, | |
| "grad_norm": 0.5164214968681335, | |
| "learning_rate": 3.3164099658067277e-05, | |
| "loss": 0.1787, | |
| "mean_token_accuracy": 0.9281857132911682, | |
| "num_tokens": 15863139.0, | |
| "step": 295 | |
| }, | |
| { | |
| "epoch": 0.22522522522522523, | |
| "grad_norm": 1.1177524328231812, | |
| "learning_rate": 3.306809472835419e-05, | |
| "loss": 0.1607, | |
| "mean_token_accuracy": 0.9326947808265686, | |
| "num_tokens": 16136601.0, | |
| "step": 300 | |
| }, | |
| { | |
| "epoch": 0.22897897897897898, | |
| "grad_norm": 1.4825022220611572, | |
| "learning_rate": 3.297051353720204e-05, | |
| "loss": 0.1754, | |
| "mean_token_accuracy": 0.9226412177085876, | |
| "num_tokens": 16385518.0, | |
| "step": 305 | |
| }, | |
| { | |
| "epoch": 0.23273273273273273, | |
| "grad_norm": 1.0494695901870728, | |
| "learning_rate": 3.287137039727918e-05, | |
| "loss": 0.163, | |
| "mean_token_accuracy": 0.9353119969367981, | |
| "num_tokens": 16667487.0, | |
| "step": 310 | |
| }, | |
| { | |
| "epoch": 0.23648648648648649, | |
| "grad_norm": 0.6078183650970459, | |
| "learning_rate": 3.277067985035196e-05, | |
| "loss": 0.1758, | |
| "mean_token_accuracy": 0.9291823744773865, | |
| "num_tokens": 16942400.0, | |
| "step": 315 | |
| }, | |
| { | |
| "epoch": 0.24024024024024024, | |
| "grad_norm": 0.39929312467575073, | |
| "learning_rate": 3.2668456665151846e-05, | |
| "loss": 0.1744, | |
| "mean_token_accuracy": 0.9307811498641968, | |
| "num_tokens": 17206123.0, | |
| "step": 320 | |
| }, | |
| { | |
| "epoch": 0.243993993993994, | |
| "grad_norm": 0.9008737206459045, | |
| "learning_rate": 3.2564715835209165e-05, | |
| "loss": 0.1706, | |
| "mean_token_accuracy": 0.9312426209449768, | |
| "num_tokens": 17461790.0, | |
| "step": 325 | |
| }, | |
| { | |
| "epoch": 0.24774774774774774, | |
| "grad_norm": 1.0469876527786255, | |
| "learning_rate": 3.245947257665396e-05, | |
| "loss": 0.1943, | |
| "mean_token_accuracy": 0.9223619222640991, | |
| "num_tokens": 17727027.0, | |
| "step": 330 | |
| }, | |
| { | |
| "epoch": 0.2515015015015015, | |
| "grad_norm": 0.5181373357772827, | |
| "learning_rate": 3.235274232598421e-05, | |
| "loss": 0.1842, | |
| "mean_token_accuracy": 0.9261862635612488, | |
| "num_tokens": 17982117.0, | |
| "step": 335 | |
| }, | |
| { | |
| "epoch": 0.2552552552552553, | |
| "grad_norm": 0.6810647249221802, | |
| "learning_rate": 3.2244540737801613e-05, | |
| "loss": 0.171, | |
| "mean_token_accuracy": 0.925167691707611, | |
| "num_tokens": 18249793.0, | |
| "step": 340 | |
| }, | |
| { | |
| "epoch": 0.25900900900900903, | |
| "grad_norm": 0.4489332437515259, | |
| "learning_rate": 3.2134883682515544e-05, | |
| "loss": 0.1867, | |
| "mean_token_accuracy": 0.9193030714988708, | |
| "num_tokens": 18530178.0, | |
| "step": 345 | |
| }, | |
| { | |
| "epoch": 0.2627627627627628, | |
| "grad_norm": 1.179741621017456, | |
| "learning_rate": 3.202378724401519e-05, | |
| "loss": 0.1787, | |
| "mean_token_accuracy": 0.9245194673538208, | |
| "num_tokens": 18783716.0, | |
| "step": 350 | |
| }, | |
| { | |
| "epoch": 0.26651651651651653, | |
| "grad_norm": 0.3994814455509186, | |
| "learning_rate": 3.191126771731052e-05, | |
| "loss": 0.1573, | |
| "mean_token_accuracy": 0.9306313514709472, | |
| "num_tokens": 19049432.0, | |
| "step": 355 | |
| }, | |
| { | |
| "epoch": 0.2702702702702703, | |
| "grad_norm": 0.47086605429649353, | |
| "learning_rate": 3.1797341606142164e-05, | |
| "loss": 0.138, | |
| "mean_token_accuracy": 0.9449266910552978, | |
| "num_tokens": 19317183.0, | |
| "step": 360 | |
| }, | |
| { | |
| "epoch": 0.27402402402402404, | |
| "grad_norm": 0.3660052418708801, | |
| "learning_rate": 3.168202562056081e-05, | |
| "loss": 0.1531, | |
| "mean_token_accuracy": 0.9362627148628235, | |
| "num_tokens": 19585010.0, | |
| "step": 365 | |
| }, | |
| { | |
| "epoch": 0.2777777777777778, | |
| "grad_norm": 0.6942453980445862, | |
| "learning_rate": 3.1565336674476174e-05, | |
| "loss": 0.1446, | |
| "mean_token_accuracy": 0.9371295690536499, | |
| "num_tokens": 19833483.0, | |
| "step": 370 | |
| }, | |
| { | |
| "epoch": 0.28153153153153154, | |
| "grad_norm": 0.5594376921653748, | |
| "learning_rate": 3.144729188317626e-05, | |
| "loss": 0.1636, | |
| "mean_token_accuracy": 0.9266956567764282, | |
| "num_tokens": 20107463.0, | |
| "step": 375 | |
| }, | |
| { | |
| "epoch": 0.2852852852852853, | |
| "grad_norm": 1.2925114631652832, | |
| "learning_rate": 3.132790856081688e-05, | |
| "loss": 0.1468, | |
| "mean_token_accuracy": 0.9353087306022644, | |
| "num_tokens": 20377296.0, | |
| "step": 380 | |
| }, | |
| { | |
| "epoch": 0.28903903903903905, | |
| "grad_norm": 0.9543951153755188, | |
| "learning_rate": 3.120720421788221e-05, | |
| "loss": 0.163, | |
| "mean_token_accuracy": 0.9282024264335632, | |
| "num_tokens": 20653494.0, | |
| "step": 385 | |
| }, | |
| { | |
| "epoch": 0.2927927927927928, | |
| "grad_norm": 0.6834648251533508, | |
| "learning_rate": 3.108519655861638e-05, | |
| "loss": 0.1664, | |
| "mean_token_accuracy": 0.9337537050247192, | |
| "num_tokens": 20943465.0, | |
| "step": 390 | |
| }, | |
| { | |
| "epoch": 0.29654654654654655, | |
| "grad_norm": 0.415371298789978, | |
| "learning_rate": 3.0961903478426754e-05, | |
| "loss": 0.1715, | |
| "mean_token_accuracy": 0.9212216138839722, | |
| "num_tokens": 21212552.0, | |
| "step": 395 | |
| }, | |
| { | |
| "epoch": 0.3003003003003003, | |
| "grad_norm": 1.1891580820083618, | |
| "learning_rate": 3.083734306125909e-05, | |
| "loss": 0.1821, | |
| "mean_token_accuracy": 0.9229753017425537, | |
| "num_tokens": 21475572.0, | |
| "step": 400 | |
| }, | |
| { | |
| "epoch": 0.30405405405405406, | |
| "grad_norm": 0.3859253525733948, | |
| "learning_rate": 3.071153357694513e-05, | |
| "loss": 0.1705, | |
| "mean_token_accuracy": 0.9239608407020569, | |
| "num_tokens": 21745947.0, | |
| "step": 405 | |
| }, | |
| { | |
| "epoch": 0.3078078078078078, | |
| "grad_norm": 0.5367192029953003, | |
| "learning_rate": 3.0584493478522874e-05, | |
| "loss": 0.1628, | |
| "mean_token_accuracy": 0.925960385799408, | |
| "num_tokens": 22010044.0, | |
| "step": 410 | |
| }, | |
| { | |
| "epoch": 0.31156156156156156, | |
| "grad_norm": 1.2383283376693726, | |
| "learning_rate": 3.045624139952993e-05, | |
| "loss": 0.1694, | |
| "mean_token_accuracy": 0.931252372264862, | |
| "num_tokens": 22267898.0, | |
| "step": 415 | |
| }, | |
| { | |
| "epoch": 0.3153153153153153, | |
| "grad_norm": 0.49553439021110535, | |
| "learning_rate": 3.0326796151270565e-05, | |
| "loss": 0.18, | |
| "mean_token_accuracy": 0.9243335247039794, | |
| "num_tokens": 22542571.0, | |
| "step": 420 | |
| }, | |
| { | |
| "epoch": 0.31906906906906907, | |
| "grad_norm": 0.38779276609420776, | |
| "learning_rate": 3.0196176720056456e-05, | |
| "loss": 0.1543, | |
| "mean_token_accuracy": 0.9320816278457642, | |
| "num_tokens": 22815242.0, | |
| "step": 425 | |
| }, | |
| { | |
| "epoch": 0.3228228228228228, | |
| "grad_norm": 0.532934844493866, | |
| "learning_rate": 3.0064402264421946e-05, | |
| "loss": 0.1761, | |
| "mean_token_accuracy": 0.9241724967956543, | |
| "num_tokens": 23067243.0, | |
| "step": 430 | |
| }, | |
| { | |
| "epoch": 0.32657657657657657, | |
| "grad_norm": 0.7615742087364197, | |
| "learning_rate": 2.993149211231396e-05, | |
| "loss": 0.1691, | |
| "mean_token_accuracy": 0.9243405938148499, | |
| "num_tokens": 23342345.0, | |
| "step": 435 | |
| }, | |
| { | |
| "epoch": 0.3303303303303303, | |
| "grad_norm": 0.3349098861217499, | |
| "learning_rate": 2.979746575825708e-05, | |
| "loss": 0.1552, | |
| "mean_token_accuracy": 0.9311115622520447, | |
| "num_tokens": 23597246.0, | |
| "step": 440 | |
| }, | |
| { | |
| "epoch": 0.3340840840840841, | |
| "grad_norm": 0.4690966308116913, | |
| "learning_rate": 2.9662342860494212e-05, | |
| "loss": 0.1656, | |
| "mean_token_accuracy": 0.9325182557106018, | |
| "num_tokens": 23866722.0, | |
| "step": 445 | |
| }, | |
| { | |
| "epoch": 0.33783783783783783, | |
| "grad_norm": 1.5577465295791626, | |
| "learning_rate": 2.952614323810322e-05, | |
| "loss": 0.167, | |
| "mean_token_accuracy": 0.928523862361908, | |
| "num_tokens": 24140642.0, | |
| "step": 450 | |
| }, | |
| { | |
| "epoch": 0.3415915915915916, | |
| "grad_norm": 0.42121976613998413, | |
| "learning_rate": 2.9388886868089957e-05, | |
| "loss": 0.1423, | |
| "mean_token_accuracy": 0.9434847712516785, | |
| "num_tokens": 24419223.0, | |
| "step": 455 | |
| }, | |
| { | |
| "epoch": 0.34534534534534533, | |
| "grad_norm": 0.8352041840553284, | |
| "learning_rate": 2.9250593882458174e-05, | |
| "loss": 0.1639, | |
| "mean_token_accuracy": 0.9323568940162659, | |
| "num_tokens": 24691907.0, | |
| "step": 460 | |
| }, | |
| { | |
| "epoch": 0.3490990990990991, | |
| "grad_norm": 0.5424525737762451, | |
| "learning_rate": 2.9111284565256646e-05, | |
| "loss": 0.1511, | |
| "mean_token_accuracy": 0.933288037776947, | |
| "num_tokens": 24948317.0, | |
| "step": 465 | |
| }, | |
| { | |
| "epoch": 0.35285285285285284, | |
| "grad_norm": 0.47326937317848206, | |
| "learning_rate": 2.8970979349604033e-05, | |
| "loss": 0.1781, | |
| "mean_token_accuracy": 0.9266926288604737, | |
| "num_tokens": 25222525.0, | |
| "step": 470 | |
| }, | |
| { | |
| "epoch": 0.3566066066066066, | |
| "grad_norm": 0.5830327272415161, | |
| "learning_rate": 2.882969881469187e-05, | |
| "loss": 0.1587, | |
| "mean_token_accuracy": 0.9273879408836365, | |
| "num_tokens": 25499039.0, | |
| "step": 475 | |
| }, | |
| { | |
| "epoch": 0.36036036036036034, | |
| "grad_norm": 0.5257654786109924, | |
| "learning_rate": 2.86874636827661e-05, | |
| "loss": 0.148, | |
| "mean_token_accuracy": 0.9356768369674683, | |
| "num_tokens": 25773070.0, | |
| "step": 480 | |
| }, | |
| { | |
| "epoch": 0.3641141141141141, | |
| "grad_norm": 1.0513572692871094, | |
| "learning_rate": 2.8544294816087697e-05, | |
| "loss": 0.1741, | |
| "mean_token_accuracy": 0.9214970707893372, | |
| "num_tokens": 26018148.0, | |
| "step": 485 | |
| }, | |
| { | |
| "epoch": 0.36786786786786785, | |
| "grad_norm": 0.9586784243583679, | |
| "learning_rate": 2.840021321387263e-05, | |
| "loss": 0.1493, | |
| "mean_token_accuracy": 0.9350940823554993, | |
| "num_tokens": 26284205.0, | |
| "step": 490 | |
| }, | |
| { | |
| "epoch": 0.3716216216216216, | |
| "grad_norm": 1.3581123352050781, | |
| "learning_rate": 2.825524000921189e-05, | |
| "loss": 0.1629, | |
| "mean_token_accuracy": 0.9373971581459045, | |
| "num_tokens": 26562799.0, | |
| "step": 495 | |
| }, | |
| { | |
| "epoch": 0.37537537537537535, | |
| "grad_norm": 0.950075626373291, | |
| "learning_rate": 2.8109396465971762e-05, | |
| "loss": 0.181, | |
| "mean_token_accuracy": 0.9214973688125611, | |
| "num_tokens": 26829411.0, | |
| "step": 500 | |
| } | |
| ], | |
| "logging_steps": 5, | |
| "max_steps": 1332, | |
| "num_input_tokens_seen": 0, | |
| "num_train_epochs": 1, | |
| "save_steps": 500, | |
| "stateful_callbacks": { | |
| "TrainerControl": { | |
| "args": { | |
| "should_epoch_stop": false, | |
| "should_evaluate": false, | |
| "should_log": false, | |
| "should_save": true, | |
| "should_training_stop": false | |
| }, | |
| "attributes": {} | |
| } | |
| }, | |
| "total_flos": 6.309461705495675e+17, | |
| "train_batch_size": 20, | |
| "trial_name": null, | |
| "trial_params": null | |
| } | |