Text Generation
Transformers
Safetensors
gemma2
Generated from Trainer
sft
trl
hf_jobs
text-generation-inference
Instructions to use KexuanShi/sft_gemma2_2b_code_layerdrop_p005 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KexuanShi/sft_gemma2_2b_code_layerdrop_p005 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="KexuanShi/sft_gemma2_2b_code_layerdrop_p005")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("KexuanShi/sft_gemma2_2b_code_layerdrop_p005") model = AutoModelForCausalLM.from_pretrained("KexuanShi/sft_gemma2_2b_code_layerdrop_p005", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use KexuanShi/sft_gemma2_2b_code_layerdrop_p005 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "KexuanShi/sft_gemma2_2b_code_layerdrop_p005" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "KexuanShi/sft_gemma2_2b_code_layerdrop_p005", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/KexuanShi/sft_gemma2_2b_code_layerdrop_p005
- SGLang
How to use KexuanShi/sft_gemma2_2b_code_layerdrop_p005 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 "KexuanShi/sft_gemma2_2b_code_layerdrop_p005" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "KexuanShi/sft_gemma2_2b_code_layerdrop_p005", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "KexuanShi/sft_gemma2_2b_code_layerdrop_p005" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "KexuanShi/sft_gemma2_2b_code_layerdrop_p005", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use KexuanShi/sft_gemma2_2b_code_layerdrop_p005 with Docker Model Runner:
docker model run hf.co/KexuanShi/sft_gemma2_2b_code_layerdrop_p005
Upload checkpoint-378
Browse files
checkpoint-378/config.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Gemma2ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"attn_logit_softcapping": 50.0,
|
| 8 |
+
"bos_token_id": 2,
|
| 9 |
+
"cache_implementation": "hybrid",
|
| 10 |
+
"dtype": "bfloat16",
|
| 11 |
+
"eos_token_id": 1,
|
| 12 |
+
"final_logit_softcapping": 30.0,
|
| 13 |
+
"head_dim": 256,
|
| 14 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 15 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
| 16 |
+
"hidden_size": 2304,
|
| 17 |
+
"initializer_range": 0.02,
|
| 18 |
+
"intermediate_size": 9216,
|
| 19 |
+
"layer_types": [
|
| 20 |
+
"sliding_attention",
|
| 21 |
+
"full_attention",
|
| 22 |
+
"sliding_attention",
|
| 23 |
+
"full_attention",
|
| 24 |
+
"sliding_attention",
|
| 25 |
+
"full_attention",
|
| 26 |
+
"sliding_attention",
|
| 27 |
+
"full_attention",
|
| 28 |
+
"sliding_attention",
|
| 29 |
+
"full_attention",
|
| 30 |
+
"sliding_attention",
|
| 31 |
+
"full_attention",
|
| 32 |
+
"sliding_attention",
|
| 33 |
+
"full_attention",
|
| 34 |
+
"sliding_attention",
|
| 35 |
+
"full_attention",
|
| 36 |
+
"sliding_attention",
|
| 37 |
+
"full_attention",
|
| 38 |
+
"sliding_attention",
|
| 39 |
+
"full_attention",
|
| 40 |
+
"sliding_attention",
|
| 41 |
+
"full_attention",
|
| 42 |
+
"sliding_attention",
|
| 43 |
+
"full_attention",
|
| 44 |
+
"sliding_attention",
|
| 45 |
+
"full_attention"
|
| 46 |
+
],
|
| 47 |
+
"max_position_embeddings": 8192,
|
| 48 |
+
"model_type": "gemma2",
|
| 49 |
+
"num_attention_heads": 8,
|
| 50 |
+
"num_hidden_layers": 26,
|
| 51 |
+
"num_key_value_heads": 4,
|
| 52 |
+
"pad_token_id": 0,
|
| 53 |
+
"query_pre_attn_scalar": 256,
|
| 54 |
+
"rms_norm_eps": 1e-06,
|
| 55 |
+
"rope_parameters": {
|
| 56 |
+
"rope_theta": 10000.0,
|
| 57 |
+
"rope_type": "default"
|
| 58 |
+
},
|
| 59 |
+
"sliding_window": 4096,
|
| 60 |
+
"tie_word_embeddings": true,
|
| 61 |
+
"transformers_version": "5.17.0",
|
| 62 |
+
"use_bidirectional_attention": null,
|
| 63 |
+
"use_cache": false,
|
| 64 |
+
"vocab_size": 256000
|
| 65 |
+
}
|
checkpoint-378/generation_config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 2,
|
| 4 |
+
"cache_implementation": "hybrid",
|
| 5 |
+
"eos_token_id": [
|
| 6 |
+
1
|
| 7 |
+
],
|
| 8 |
+
"pad_token_id": 0,
|
| 9 |
+
"transformers_version": "5.17.0"
|
| 10 |
+
}
|
checkpoint-378/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cd48acf21696beba31fe7d68591e979c3e9c7326553b2397647ea3f16364ba0d
|
| 3 |
+
size 5228717512
|
checkpoint-378/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:487cee8724215dcd2dde8888539e8b1bf844ceb5dbbe27f7845abda69eeb060f
|
| 3 |
+
size 34362872
|
checkpoint-378/tokenizer_config.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"bos_token": "<bos>",
|
| 4 |
+
"clean_up_tokenization_spaces": false,
|
| 5 |
+
"eos_token": "<eos>",
|
| 6 |
+
"extra_special_tokens": [
|
| 7 |
+
"<start_of_turn>",
|
| 8 |
+
"<end_of_turn>"
|
| 9 |
+
],
|
| 10 |
+
"is_local": true,
|
| 11 |
+
"local_files_only": false,
|
| 12 |
+
"mask_token": "<mask>",
|
| 13 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 14 |
+
"pad_token": "<pad>",
|
| 15 |
+
"sp_model_kwargs": {},
|
| 16 |
+
"spaces_between_special_tokens": false,
|
| 17 |
+
"tokenizer_class": "GemmaTokenizer",
|
| 18 |
+
"unk_token": "<unk>",
|
| 19 |
+
"use_default_system_prompt": false
|
| 20 |
+
}
|
checkpoint-378/trainer_state.json
ADDED
|
@@ -0,0 +1,404 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 2.0,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 378,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"entropy": 1.2536803647875785,
|
| 14 |
+
"epoch": 0.05291005291005291,
|
| 15 |
+
"grad_norm": 8.8125,
|
| 16 |
+
"learning_rate": 3.2142857142857147e-06,
|
| 17 |
+
"loss": 1.1722795486450195,
|
| 18 |
+
"mean_token_accuracy": 0.7258133076131343,
|
| 19 |
+
"num_tokens": 710093.0,
|
| 20 |
+
"step": 10
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"entropy": 0.9760579235851765,
|
| 24 |
+
"epoch": 0.10582010582010581,
|
| 25 |
+
"grad_norm": 2.65625,
|
| 26 |
+
"learning_rate": 6.785714285714287e-06,
|
| 27 |
+
"loss": 0.9763177871704102,
|
| 28 |
+
"mean_token_accuracy": 0.7567757397890091,
|
| 29 |
+
"num_tokens": 1429271.0,
|
| 30 |
+
"step": 20
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"entropy": 0.794147289544344,
|
| 34 |
+
"epoch": 0.15873015873015872,
|
| 35 |
+
"grad_norm": 2.46875,
|
| 36 |
+
"learning_rate": 1.0357142857142859e-05,
|
| 37 |
+
"loss": 0.8046525001525879,
|
| 38 |
+
"mean_token_accuracy": 0.7873034350574016,
|
| 39 |
+
"num_tokens": 2149735.0,
|
| 40 |
+
"step": 30
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"entropy": 0.7088500954210758,
|
| 44 |
+
"epoch": 0.21164021164021163,
|
| 45 |
+
"grad_norm": 1.4609375,
|
| 46 |
+
"learning_rate": 1.3928571428571429e-05,
|
| 47 |
+
"loss": 0.7121071815490723,
|
| 48 |
+
"mean_token_accuracy": 0.8070594437420369,
|
| 49 |
+
"num_tokens": 2868867.0,
|
| 50 |
+
"step": 40
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"entropy": 0.683020292967558,
|
| 54 |
+
"epoch": 0.26455026455026454,
|
| 55 |
+
"grad_norm": 1.46875,
|
| 56 |
+
"learning_rate": 1.7500000000000002e-05,
|
| 57 |
+
"loss": 0.68443603515625,
|
| 58 |
+
"mean_token_accuracy": 0.8138657048344612,
|
| 59 |
+
"num_tokens": 3582476.0,
|
| 60 |
+
"step": 50
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"entropy": 0.6564815938472748,
|
| 64 |
+
"epoch": 0.31746031746031744,
|
| 65 |
+
"grad_norm": 1.4296875,
|
| 66 |
+
"learning_rate": 1.999986795783372e-05,
|
| 67 |
+
"loss": 0.6578450202941895,
|
| 68 |
+
"mean_token_accuracy": 0.8192978233098984,
|
| 69 |
+
"num_tokens": 4287689.0,
|
| 70 |
+
"step": 60
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"entropy": 0.6446133196353913,
|
| 74 |
+
"epoch": 0.37037037037037035,
|
| 75 |
+
"grad_norm": 1.5859375,
|
| 76 |
+
"learning_rate": 1.9997520638548385e-05,
|
| 77 |
+
"loss": 0.651158332824707,
|
| 78 |
+
"mean_token_accuracy": 0.8207244381308556,
|
| 79 |
+
"num_tokens": 5011191.0,
|
| 80 |
+
"step": 70
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"entropy": 0.6360202118754387,
|
| 84 |
+
"epoch": 0.42328042328042326,
|
| 85 |
+
"grad_norm": 1.3984375,
|
| 86 |
+
"learning_rate": 1.9992239841688418e-05,
|
| 87 |
+
"loss": 0.6350794792175293,
|
| 88 |
+
"mean_token_accuracy": 0.8251068785786628,
|
| 89 |
+
"num_tokens": 5714842.0,
|
| 90 |
+
"step": 80
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"entropy": 0.6189912840723991,
|
| 94 |
+
"epoch": 0.47619047619047616,
|
| 95 |
+
"grad_norm": 1.328125,
|
| 96 |
+
"learning_rate": 1.9984027116747914e-05,
|
| 97 |
+
"loss": 0.622182559967041,
|
| 98 |
+
"mean_token_accuracy": 0.8279523886740208,
|
| 99 |
+
"num_tokens": 6424614.0,
|
| 100 |
+
"step": 90
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"entropy": 0.6159785229712724,
|
| 104 |
+
"epoch": 0.5291005291005291,
|
| 105 |
+
"grad_norm": 1.3671875,
|
| 106 |
+
"learning_rate": 1.997288487350878e-05,
|
| 107 |
+
"loss": 0.617555046081543,
|
| 108 |
+
"mean_token_accuracy": 0.8284852005541324,
|
| 109 |
+
"num_tokens": 7139778.0,
|
| 110 |
+
"step": 100
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"entropy": 0.6129939660429955,
|
| 114 |
+
"epoch": 0.582010582010582,
|
| 115 |
+
"grad_norm": 1.328125,
|
| 116 |
+
"learning_rate": 1.9958816381333684e-05,
|
| 117 |
+
"loss": 0.6128347873687744,
|
| 118 |
+
"mean_token_accuracy": 0.8294584318995476,
|
| 119 |
+
"num_tokens": 7852540.0,
|
| 120 |
+
"step": 110
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"entropy": 0.6052542962133884,
|
| 124 |
+
"epoch": 0.6349206349206349,
|
| 125 |
+
"grad_norm": 1.3359375,
|
| 126 |
+
"learning_rate": 1.994182576820673e-05,
|
| 127 |
+
"loss": 0.6046356201171875,
|
| 128 |
+
"mean_token_accuracy": 0.831394524872303,
|
| 129 |
+
"num_tokens": 8568056.0,
|
| 130 |
+
"step": 120
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"entropy": 0.6013224326074124,
|
| 134 |
+
"epoch": 0.6878306878306878,
|
| 135 |
+
"grad_norm": 1.3203125,
|
| 136 |
+
"learning_rate": 1.9921918019522238e-05,
|
| 137 |
+
"loss": 0.6063410758972168,
|
| 138 |
+
"mean_token_accuracy": 0.8313738636672496,
|
| 139 |
+
"num_tokens": 9276742.0,
|
| 140 |
+
"step": 130
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"entropy": 0.5983927462249994,
|
| 144 |
+
"epoch": 0.7407407407407407,
|
| 145 |
+
"grad_norm": 1.3125,
|
| 146 |
+
"learning_rate": 1.9899098976621922e-05,
|
| 147 |
+
"loss": 0.5977112770080566,
|
| 148 |
+
"mean_token_accuracy": 0.8335464030504227,
|
| 149 |
+
"num_tokens": 9990163.0,
|
| 150 |
+
"step": 140
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"entropy": 0.5922725383192301,
|
| 154 |
+
"epoch": 0.7936507936507936,
|
| 155 |
+
"grad_norm": 1.5078125,
|
| 156 |
+
"learning_rate": 1.9873375335080915e-05,
|
| 157 |
+
"loss": 0.5917873382568359,
|
| 158 |
+
"mean_token_accuracy": 0.8347524181008339,
|
| 159 |
+
"num_tokens": 10710006.0,
|
| 160 |
+
"step": 150
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"entropy": 0.5920293003320694,
|
| 164 |
+
"epoch": 0.8465608465608465,
|
| 165 |
+
"grad_norm": 1.3046875,
|
| 166 |
+
"learning_rate": 1.9844754642743164e-05,
|
| 167 |
+
"loss": 0.5962053298950195,
|
| 168 |
+
"mean_token_accuracy": 0.8335559628903866,
|
| 169 |
+
"num_tokens": 11416822.0,
|
| 170 |
+
"step": 160
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"entropy": 0.5966673269867897,
|
| 174 |
+
"epoch": 0.8994708994708994,
|
| 175 |
+
"grad_norm": 1.3828125,
|
| 176 |
+
"learning_rate": 1.981324529750672e-05,
|
| 177 |
+
"loss": 0.6019061088562012,
|
| 178 |
+
"mean_token_accuracy": 0.83258865326643,
|
| 179 |
+
"num_tokens": 12123118.0,
|
| 180 |
+
"step": 170
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"entropy": 0.5854565776884556,
|
| 184 |
+
"epoch": 0.9523809523809523,
|
| 185 |
+
"grad_norm": 1.359375,
|
| 186 |
+
"learning_rate": 1.9778856544859647e-05,
|
| 187 |
+
"loss": 0.5845203399658203,
|
| 188 |
+
"mean_token_accuracy": 0.8360438510775566,
|
| 189 |
+
"num_tokens": 12831058.0,
|
| 190 |
+
"step": 180
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"entropy": 0.5759805988520383,
|
| 194 |
+
"epoch": 1.0052910052910053,
|
| 195 |
+
"grad_norm": 1.3046875,
|
| 196 |
+
"learning_rate": 1.9741598475167173e-05,
|
| 197 |
+
"loss": 0.5696067810058594,
|
| 198 |
+
"mean_token_accuracy": 0.839682175219059,
|
| 199 |
+
"num_tokens": 13547943.0,
|
| 200 |
+
"step": 190
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"entropy": 0.5275494448840619,
|
| 204 |
+
"epoch": 1.0582010582010581,
|
| 205 |
+
"grad_norm": 1.3984375,
|
| 206 |
+
"learning_rate": 1.9701482020711004e-05,
|
| 207 |
+
"loss": 0.5299928665161133,
|
| 208 |
+
"mean_token_accuracy": 0.8484233327209949,
|
| 209 |
+
"num_tokens": 14264772.0,
|
| 210 |
+
"step": 200
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"entropy": 0.5196751751005649,
|
| 214 |
+
"epoch": 1.1111111111111112,
|
| 215 |
+
"grad_norm": 1.2109375,
|
| 216 |
+
"learning_rate": 1.9658518952481543e-05,
|
| 217 |
+
"loss": 0.5208037853240967,
|
| 218 |
+
"mean_token_accuracy": 0.8509362854063511,
|
| 219 |
+
"num_tokens": 14985565.0,
|
| 220 |
+
"step": 210
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"entropy": 0.5303940393030644,
|
| 224 |
+
"epoch": 1.164021164021164,
|
| 225 |
+
"grad_norm": 1.3359375,
|
| 226 |
+
"learning_rate": 1.9612721876724054e-05,
|
| 227 |
+
"loss": 0.5318955421447754,
|
| 228 |
+
"mean_token_accuracy": 0.8480072498321534,
|
| 229 |
+
"num_tokens": 15701796.0,
|
| 230 |
+
"step": 220
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"entropy": 0.5232694145292044,
|
| 234 |
+
"epoch": 1.216931216931217,
|
| 235 |
+
"grad_norm": 1.359375,
|
| 236 |
+
"learning_rate": 1.9564104231239726e-05,
|
| 237 |
+
"loss": 0.5231654167175293,
|
| 238 |
+
"mean_token_accuracy": 0.8490844376385212,
|
| 239 |
+
"num_tokens": 16412522.0,
|
| 240 |
+
"step": 230
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"entropy": 0.529466836899519,
|
| 244 |
+
"epoch": 1.2698412698412698,
|
| 245 |
+
"grad_norm": 1.3046875,
|
| 246 |
+
"learning_rate": 1.9512680281442745e-05,
|
| 247 |
+
"loss": 0.5309067726135254,
|
| 248 |
+
"mean_token_accuracy": 0.8485323786735535,
|
| 249 |
+
"num_tokens": 17126523.0,
|
| 250 |
+
"step": 240
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"entropy": 0.527790617197752,
|
| 254 |
+
"epoch": 1.3227513227513228,
|
| 255 |
+
"grad_norm": 1.3125,
|
| 256 |
+
"learning_rate": 1.9458465116174534e-05,
|
| 257 |
+
"loss": 0.5262090682983398,
|
| 258 |
+
"mean_token_accuracy": 0.8493455089628696,
|
| 259 |
+
"num_tokens": 17834934.0,
|
| 260 |
+
"step": 250
|
| 261 |
+
},
|
| 262 |
+
{
|
| 263 |
+
"entropy": 0.528411227837205,
|
| 264 |
+
"epoch": 1.3756613756613756,
|
| 265 |
+
"grad_norm": 1.265625,
|
| 266 |
+
"learning_rate": 1.940147464327637e-05,
|
| 267 |
+
"loss": 0.529714298248291,
|
| 268 |
+
"mean_token_accuracy": 0.8480914957821369,
|
| 269 |
+
"num_tokens": 18553413.0,
|
| 270 |
+
"step": 260
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"entropy": 0.516933124884963,
|
| 274 |
+
"epoch": 1.4285714285714286,
|
| 275 |
+
"grad_norm": 1.296875,
|
| 276 |
+
"learning_rate": 1.9341725584921712e-05,
|
| 277 |
+
"loss": 0.5172879219055175,
|
| 278 |
+
"mean_token_accuracy": 0.8517736725509166,
|
| 279 |
+
"num_tokens": 19270191.0,
|
| 280 |
+
"step": 270
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"entropy": 0.5223661050200462,
|
| 284 |
+
"epoch": 1.4814814814814814,
|
| 285 |
+
"grad_norm": 1.2421875,
|
| 286 |
+
"learning_rate": 1.9279235472709554e-05,
|
| 287 |
+
"loss": 0.5231949329376221,
|
| 288 |
+
"mean_token_accuracy": 0.8496842503547668,
|
| 289 |
+
"num_tokens": 19976552.0,
|
| 290 |
+
"step": 280
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"entropy": 0.5293067336082459,
|
| 294 |
+
"epoch": 1.5343915343915344,
|
| 295 |
+
"grad_norm": 1.2421875,
|
| 296 |
+
"learning_rate": 1.92140226425203e-05,
|
| 297 |
+
"loss": 0.5295753479003906,
|
| 298 |
+
"mean_token_accuracy": 0.8479710258543491,
|
| 299 |
+
"num_tokens": 20676613.0,
|
| 300 |
+
"step": 290
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"entropy": 0.5302139949053526,
|
| 304 |
+
"epoch": 1.5873015873015874,
|
| 305 |
+
"grad_norm": 1.28125,
|
| 306 |
+
"learning_rate": 1.914610622913566e-05,
|
| 307 |
+
"loss": 0.530374813079834,
|
| 308 |
+
"mean_token_accuracy": 0.8484688423573971,
|
| 309 |
+
"num_tokens": 21385978.0,
|
| 310 |
+
"step": 300
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"entropy": 0.5183596257120371,
|
| 314 |
+
"epoch": 1.6402116402116402,
|
| 315 |
+
"grad_norm": 1.1953125,
|
| 316 |
+
"learning_rate": 1.9075506160624068e-05,
|
| 317 |
+
"loss": 0.519154167175293,
|
| 318 |
+
"mean_token_accuracy": 0.8509341597557067,
|
| 319 |
+
"num_tokens": 22094336.0,
|
| 320 |
+
"step": 310
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"entropy": 0.5201449614018202,
|
| 324 |
+
"epoch": 1.693121693121693,
|
| 325 |
+
"grad_norm": 1.328125,
|
| 326 |
+
"learning_rate": 1.900224315249343e-05,
|
| 327 |
+
"loss": 0.5171724796295166,
|
| 328 |
+
"mean_token_accuracy": 0.8508495308458806,
|
| 329 |
+
"num_tokens": 22798906.0,
|
| 330 |
+
"step": 320
|
| 331 |
+
},
|
| 332 |
+
{
|
| 333 |
+
"entropy": 0.5111908499151468,
|
| 334 |
+
"epoch": 1.746031746031746,
|
| 335 |
+
"grad_norm": 1.2265625,
|
| 336 |
+
"learning_rate": 1.8926338701612738e-05,
|
| 337 |
+
"loss": 0.511273717880249,
|
| 338 |
+
"mean_token_accuracy": 0.8524932019412518,
|
| 339 |
+
"num_tokens": 23511239.0,
|
| 340 |
+
"step": 330
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"entropy": 0.5265866108238697,
|
| 344 |
+
"epoch": 1.798941798941799,
|
| 345 |
+
"grad_norm": 1.265625,
|
| 346 |
+
"learning_rate": 1.884781507990445e-05,
|
| 347 |
+
"loss": 0.5289421558380127,
|
| 348 |
+
"mean_token_accuracy": 0.8486531592905522,
|
| 349 |
+
"num_tokens": 24231185.0,
|
| 350 |
+
"step": 340
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"entropy": 0.5189403794705868,
|
| 354 |
+
"epoch": 1.8518518518518519,
|
| 355 |
+
"grad_norm": 1.2578125,
|
| 356 |
+
"learning_rate": 1.8766695327809463e-05,
|
| 357 |
+
"loss": 0.5158460140228271,
|
| 358 |
+
"mean_token_accuracy": 0.8517816573381424,
|
| 359 |
+
"num_tokens": 24944285.0,
|
| 360 |
+
"step": 350
|
| 361 |
+
},
|
| 362 |
+
{
|
| 363 |
+
"entropy": 0.5055529039353133,
|
| 364 |
+
"epoch": 1.9047619047619047,
|
| 365 |
+
"grad_norm": 1.1953125,
|
| 366 |
+
"learning_rate": 1.8683003247526567e-05,
|
| 367 |
+
"loss": 0.5064782619476318,
|
| 368 |
+
"mean_token_accuracy": 0.8533773042261601,
|
| 369 |
+
"num_tokens": 25670441.0,
|
| 370 |
+
"step": 360
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"entropy": 0.5245815236121416,
|
| 374 |
+
"epoch": 1.9576719576719577,
|
| 375 |
+
"grad_norm": 1.2421875,
|
| 376 |
+
"learning_rate": 1.8596763396028384e-05,
|
| 377 |
+
"loss": 0.5262872219085694,
|
| 378 |
+
"mean_token_accuracy": 0.8492341041564941,
|
| 379 |
+
"num_tokens": 26379786.0,
|
| 380 |
+
"step": 370
|
| 381 |
+
}
|
| 382 |
+
],
|
| 383 |
+
"logging_steps": 10,
|
| 384 |
+
"max_steps": 1890,
|
| 385 |
+
"num_input_tokens_seen": 0,
|
| 386 |
+
"num_train_epochs": 10,
|
| 387 |
+
"save_steps": 500,
|
| 388 |
+
"stateful_callbacks": {
|
| 389 |
+
"TrainerControl": {
|
| 390 |
+
"args": {
|
| 391 |
+
"should_epoch_stop": false,
|
| 392 |
+
"should_evaluate": false,
|
| 393 |
+
"should_log": false,
|
| 394 |
+
"should_save": true,
|
| 395 |
+
"should_training_stop": false
|
| 396 |
+
},
|
| 397 |
+
"attributes": {}
|
| 398 |
+
}
|
| 399 |
+
},
|
| 400 |
+
"total_flos": 4.860945833530491e+17,
|
| 401 |
+
"train_batch_size": 8,
|
| 402 |
+
"trial_name": null,
|
| 403 |
+
"trial_params": null
|
| 404 |
+
}
|
checkpoint-378/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b8c85992cf63551e842ab98a6f49581a6e79e2e3e8210ccdf817e4d5ce49c466
|
| 3 |
+
size 5841
|