Upload folder using huggingface_hub
Browse files- knowledge_instruct/5_128_e3_3e-5/adapter_config.json +39 -0
- knowledge_instruct/5_128_e3_3e-5/adapter_model.safetensors +3 -0
- knowledge_instruct/5_128_e3_3e-5/added_tokens.json +9 -0
- knowledge_instruct/5_128_e3_3e-5/all_results.json +9 -0
- knowledge_instruct/5_128_e3_3e-5/chat_template.jinja +62 -0
- knowledge_instruct/5_128_e3_3e-5/config.json +32 -0
- knowledge_instruct/5_128_e3_3e-5/merges.txt +0 -0
- knowledge_instruct/5_128_e3_3e-5/special_tokens_map.json +39 -0
- knowledge_instruct/5_128_e3_3e-5/tokenizer.json +0 -0
- knowledge_instruct/5_128_e3_3e-5/tokenizer_config.json +234 -0
- knowledge_instruct/5_128_e3_3e-5/train_results.json +9 -0
- knowledge_instruct/5_128_e3_3e-5/trainer_state.json +449 -0
- knowledge_instruct/5_128_e3_3e-5/training_args.bin +3 -0
- knowledge_instruct/5_128_e3_3e-5/vocab.json +0 -0
knowledge_instruct/5_128_e3_3e-5/adapter_config.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "ibm-granite/granite-3.3-8b-instruct",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"corda_config": null,
|
| 7 |
+
"eva_config": null,
|
| 8 |
+
"exclude_modules": null,
|
| 9 |
+
"fan_in_fan_out": false,
|
| 10 |
+
"inference_mode": true,
|
| 11 |
+
"init_lora_weights": true,
|
| 12 |
+
"layer_replication": null,
|
| 13 |
+
"layers_pattern": null,
|
| 14 |
+
"layers_to_transform": null,
|
| 15 |
+
"loftq_config": {},
|
| 16 |
+
"lora_alpha": 256,
|
| 17 |
+
"lora_bias": false,
|
| 18 |
+
"lora_dropout": 0.05,
|
| 19 |
+
"megatron_config": null,
|
| 20 |
+
"megatron_core": "megatron.core",
|
| 21 |
+
"modules_to_save": null,
|
| 22 |
+
"peft_type": "LORA",
|
| 23 |
+
"r": 128,
|
| 24 |
+
"rank_pattern": {},
|
| 25 |
+
"revision": null,
|
| 26 |
+
"target_modules": [
|
| 27 |
+
"q_proj",
|
| 28 |
+
"down_proj",
|
| 29 |
+
"v_proj",
|
| 30 |
+
"up_proj",
|
| 31 |
+
"k_proj",
|
| 32 |
+
"gate_proj",
|
| 33 |
+
"o_proj"
|
| 34 |
+
],
|
| 35 |
+
"task_type": "CAUSAL_LM",
|
| 36 |
+
"trainable_token_indices": null,
|
| 37 |
+
"use_dora": false,
|
| 38 |
+
"use_rslora": false
|
| 39 |
+
}
|
knowledge_instruct/5_128_e3_3e-5/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f1e2ea0cc171989abb72725895da7fd3d6def25ff8159b3bea539e4d3df94839
|
| 3 |
+
size 791751704
|
knowledge_instruct/5_128_e3_3e-5/added_tokens.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"<|end_of_cite|>": 49156,
|
| 3 |
+
"<|end_of_plugin|>": 49158,
|
| 4 |
+
"<|end_of_role|>": 49153,
|
| 5 |
+
"<|start_of_cite|>": 49155,
|
| 6 |
+
"<|start_of_plugin|>": 49157,
|
| 7 |
+
"<|start_of_role|>": 49152,
|
| 8 |
+
"<|tool_call|>": 49154
|
| 9 |
+
}
|
knowledge_instruct/5_128_e3_3e-5/all_results.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 3.0,
|
| 3 |
+
"total_flos": 5.884765552110469e+17,
|
| 4 |
+
"train_loss": 0.8399706845430984,
|
| 5 |
+
"train_runtime": 290.3844,
|
| 6 |
+
"train_samples": 3090,
|
| 7 |
+
"train_samples_per_second": 31.923,
|
| 8 |
+
"train_steps_per_second": 1.002
|
| 9 |
+
}
|
knowledge_instruct/5_128_e3_3e-5/chat_template.jinja
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{# Alias tools -> available_tools #}
|
| 2 |
+
{%- if tools and not available_tools -%}
|
| 3 |
+
{%- set available_tools = tools -%}
|
| 4 |
+
{%- endif -%}
|
| 5 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 6 |
+
{%- set system_message = messages[0]['content'] %}
|
| 7 |
+
{%- set loop_messages = messages[1:] %}
|
| 8 |
+
{%- else %}
|
| 9 |
+
{%- set system_message = "Knowledge Cutoff Date: April 2024.
|
| 10 |
+
Today's Date: " + strftime_now('%B %d, %Y') + ".
|
| 11 |
+
You are Granite, developed by IBM." %}
|
| 12 |
+
{%- if available_tools and documents %}
|
| 13 |
+
{%- set system_message = system_message + " You are a helpful assistant with access to the following tools. When a tool is required to answer the user's query, respond only with <|tool_call|> followed by a JSON list of tools used. If a tool does not exist in the provided list of tools, notify the user that you do not have the ability to fulfill the request.
|
| 14 |
+
Write the response to the user's input by strictly aligning with the facts in the provided documents. If the information needed to answer the question is not available in the documents, inform the user that the question cannot be answered based on the available data." %}
|
| 15 |
+
{%- elif available_tools %}
|
| 16 |
+
{%- set system_message = system_message + " You are a helpful assistant with access to the following tools. When a tool is required to answer the user's query, respond only with <|tool_call|> followed by a JSON list of tools used. If a tool does not exist in the provided list of tools, notify the user that you do not have the ability to fulfill the request." %}
|
| 17 |
+
{%- elif documents %}
|
| 18 |
+
{%- set system_message = system_message + " Write the response to the user's input by strictly aligning with the facts in the provided documents. If the information needed to answer the question is not available in the documents, inform the user that the question cannot be answered based on the available data." %}
|
| 19 |
+
{%- elif thinking %}
|
| 20 |
+
{%- set system_message = system_message + " You are a helpful AI assistant.
|
| 21 |
+
Respond to every user query in a comprehensive and detailed way. You can write down your thoughts and reasoning process before responding. In the thought process, engage in a comprehensive cycle of analysis, summarization, exploration, reassessment, reflection, backtracing, and iteration to develop well-considered thinking process. In the response section, based on various attempts, explorations, and reflections from the thoughts section, systematically present the final solution that you deem correct. The response should summarize the thought process. Write your thoughts between <think></think> and write your response between <response></response> for each user query." %}
|
| 22 |
+
{%- else %}
|
| 23 |
+
{%- set system_message = system_message + " You are a helpful AI assistant." %}
|
| 24 |
+
{%- endif %}
|
| 25 |
+
{%- if 'citations' in controls and documents %}
|
| 26 |
+
{%- set system_message = system_message + '
|
| 27 |
+
Use the symbols <|start_of_cite|> and <|end_of_cite|> to indicate when a fact comes from a document in the search result, e.g <|start_of_cite|> {document_id: 1}my fact <|end_of_cite|> for a fact from document 1. Afterwards, list all the citations with their corresponding documents in an ordered list.' %}
|
| 28 |
+
{%- endif %}
|
| 29 |
+
{%- if 'hallucinations' in controls and documents %}
|
| 30 |
+
{%- set system_message = system_message + '
|
| 31 |
+
Finally, after the response is written, include a numbered list of sentences from the response with a corresponding risk value that are hallucinated and not based in the documents.' %}
|
| 32 |
+
{%- endif %}
|
| 33 |
+
{%- set loop_messages = messages %}
|
| 34 |
+
{%- endif %}
|
| 35 |
+
{{- '<|start_of_role|>system<|end_of_role|>' + system_message + '<|end_of_text|>
|
| 36 |
+
' }}
|
| 37 |
+
{%- if available_tools %}
|
| 38 |
+
{{- '<|start_of_role|>available_tools<|end_of_role|>' }}
|
| 39 |
+
{{- available_tools | tojson(indent=4) }}
|
| 40 |
+
{{- '<|end_of_text|>
|
| 41 |
+
' }}
|
| 42 |
+
{%- endif %}
|
| 43 |
+
{%- if documents %}
|
| 44 |
+
{%- for document in documents %}
|
| 45 |
+
{{- '<|start_of_role|>document {"document_id": "' + document['doc_id'] | string + '"}<|end_of_role|>
|
| 46 |
+
' }}
|
| 47 |
+
{{- document['text'] }}
|
| 48 |
+
{{- '<|end_of_text|>
|
| 49 |
+
' }}
|
| 50 |
+
{%- endfor %}
|
| 51 |
+
{%- endif %}
|
| 52 |
+
{%- for message in loop_messages %}
|
| 53 |
+
{{- '<|start_of_role|>' + message['role'] + '<|end_of_role|>' + message['content'] + '<|end_of_text|>
|
| 54 |
+
' }}
|
| 55 |
+
{%- if loop.last and add_generation_prompt %}
|
| 56 |
+
{{- '<|start_of_role|>assistant' }}
|
| 57 |
+
{%- if controls %}
|
| 58 |
+
{{- ' ' + controls | tojson()}}
|
| 59 |
+
{%- endif %}
|
| 60 |
+
{{- '<|end_of_role|>' }}
|
| 61 |
+
{%- endif %}
|
| 62 |
+
{%- endfor %}
|
knowledge_instruct/5_128_e3_3e-5/config.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"GraniteForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"attention_multiplier": 0.0078125,
|
| 8 |
+
"bos_token_id": 0,
|
| 9 |
+
"embedding_multiplier": 12.0,
|
| 10 |
+
"eos_token_id": 0,
|
| 11 |
+
"hidden_act": "silu",
|
| 12 |
+
"hidden_size": 4096,
|
| 13 |
+
"initializer_range": 0.02,
|
| 14 |
+
"intermediate_size": 12800,
|
| 15 |
+
"logits_scaling": 16.0,
|
| 16 |
+
"max_position_embeddings": 131072,
|
| 17 |
+
"mlp_bias": false,
|
| 18 |
+
"model_type": "granite",
|
| 19 |
+
"num_attention_heads": 32,
|
| 20 |
+
"num_hidden_layers": 40,
|
| 21 |
+
"num_key_value_heads": 8,
|
| 22 |
+
"pad_token_id": 0,
|
| 23 |
+
"residual_multiplier": 0.22,
|
| 24 |
+
"rms_norm_eps": 1e-05,
|
| 25 |
+
"rope_scaling": null,
|
| 26 |
+
"rope_theta": 10000000.0,
|
| 27 |
+
"tie_word_embeddings": true,
|
| 28 |
+
"torch_dtype": "bfloat16",
|
| 29 |
+
"transformers_version": "4.52.4",
|
| 30 |
+
"use_cache": true,
|
| 31 |
+
"vocab_size": 49159
|
| 32 |
+
}
|
knowledge_instruct/5_128_e3_3e-5/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
knowledge_instruct/5_128_e3_3e-5/special_tokens_map.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|start_of_role|>",
|
| 4 |
+
"<|end_of_role|>",
|
| 5 |
+
"<|tool_call|>",
|
| 6 |
+
"<|start_of_cite|>",
|
| 7 |
+
"<|end_of_cite|>",
|
| 8 |
+
"<|start_of_plugin|>",
|
| 9 |
+
"<|end_of_plugin|>"
|
| 10 |
+
],
|
| 11 |
+
"bos_token": {
|
| 12 |
+
"content": "<|end_of_text|>",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false
|
| 17 |
+
},
|
| 18 |
+
"eos_token": {
|
| 19 |
+
"content": "<|end_of_text|>",
|
| 20 |
+
"lstrip": false,
|
| 21 |
+
"normalized": false,
|
| 22 |
+
"rstrip": false,
|
| 23 |
+
"single_word": false
|
| 24 |
+
},
|
| 25 |
+
"pad_token": {
|
| 26 |
+
"content": "<|end_of_text|>",
|
| 27 |
+
"lstrip": false,
|
| 28 |
+
"normalized": false,
|
| 29 |
+
"rstrip": false,
|
| 30 |
+
"single_word": false
|
| 31 |
+
},
|
| 32 |
+
"unk_token": {
|
| 33 |
+
"content": "<|end_of_text|>",
|
| 34 |
+
"lstrip": false,
|
| 35 |
+
"normalized": false,
|
| 36 |
+
"rstrip": false,
|
| 37 |
+
"single_word": false
|
| 38 |
+
}
|
| 39 |
+
}
|
knowledge_instruct/5_128_e3_3e-5/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
knowledge_instruct/5_128_e3_3e-5/tokenizer_config.json
ADDED
|
@@ -0,0 +1,234 @@
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_prefix_space": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"0": {
|
| 6 |
+
"content": "<|end_of_text|>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"1": {
|
| 14 |
+
"content": "<fim_prefix>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"2": {
|
| 22 |
+
"content": "<fim_middle>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": false,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": false,
|
| 27 |
+
"special": true
|
| 28 |
+
},
|
| 29 |
+
"3": {
|
| 30 |
+
"content": "<fim_suffix>",
|
| 31 |
+
"lstrip": false,
|
| 32 |
+
"normalized": false,
|
| 33 |
+
"rstrip": false,
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"special": true
|
| 36 |
+
},
|
| 37 |
+
"4": {
|
| 38 |
+
"content": "<fim_pad>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false,
|
| 43 |
+
"special": true
|
| 44 |
+
},
|
| 45 |
+
"5": {
|
| 46 |
+
"content": "<filename>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false,
|
| 51 |
+
"special": true
|
| 52 |
+
},
|
| 53 |
+
"6": {
|
| 54 |
+
"content": "<gh_stars>",
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"normalized": false,
|
| 57 |
+
"rstrip": false,
|
| 58 |
+
"single_word": false,
|
| 59 |
+
"special": true
|
| 60 |
+
},
|
| 61 |
+
"7": {
|
| 62 |
+
"content": "<issue_start>",
|
| 63 |
+
"lstrip": false,
|
| 64 |
+
"normalized": false,
|
| 65 |
+
"rstrip": false,
|
| 66 |
+
"single_word": false,
|
| 67 |
+
"special": true
|
| 68 |
+
},
|
| 69 |
+
"8": {
|
| 70 |
+
"content": "<issue_comment>",
|
| 71 |
+
"lstrip": false,
|
| 72 |
+
"normalized": false,
|
| 73 |
+
"rstrip": false,
|
| 74 |
+
"single_word": false,
|
| 75 |
+
"special": true
|
| 76 |
+
},
|
| 77 |
+
"9": {
|
| 78 |
+
"content": "<issue_closed>",
|
| 79 |
+
"lstrip": false,
|
| 80 |
+
"normalized": false,
|
| 81 |
+
"rstrip": false,
|
| 82 |
+
"single_word": false,
|
| 83 |
+
"special": true
|
| 84 |
+
},
|
| 85 |
+
"10": {
|
| 86 |
+
"content": "<jupyter_start>",
|
| 87 |
+
"lstrip": false,
|
| 88 |
+
"normalized": false,
|
| 89 |
+
"rstrip": false,
|
| 90 |
+
"single_word": false,
|
| 91 |
+
"special": true
|
| 92 |
+
},
|
| 93 |
+
"11": {
|
| 94 |
+
"content": "<jupyter_text>",
|
| 95 |
+
"lstrip": false,
|
| 96 |
+
"normalized": false,
|
| 97 |
+
"rstrip": false,
|
| 98 |
+
"single_word": false,
|
| 99 |
+
"special": true
|
| 100 |
+
},
|
| 101 |
+
"12": {
|
| 102 |
+
"content": "<jupyter_code>",
|
| 103 |
+
"lstrip": false,
|
| 104 |
+
"normalized": false,
|
| 105 |
+
"rstrip": false,
|
| 106 |
+
"single_word": false,
|
| 107 |
+
"special": true
|
| 108 |
+
},
|
| 109 |
+
"13": {
|
| 110 |
+
"content": "<jupyter_output>",
|
| 111 |
+
"lstrip": false,
|
| 112 |
+
"normalized": false,
|
| 113 |
+
"rstrip": false,
|
| 114 |
+
"single_word": false,
|
| 115 |
+
"special": true
|
| 116 |
+
},
|
| 117 |
+
"14": {
|
| 118 |
+
"content": "<empty_output>",
|
| 119 |
+
"lstrip": false,
|
| 120 |
+
"normalized": false,
|
| 121 |
+
"rstrip": false,
|
| 122 |
+
"single_word": false,
|
| 123 |
+
"special": true
|
| 124 |
+
},
|
| 125 |
+
"15": {
|
| 126 |
+
"content": "<commit_before>",
|
| 127 |
+
"lstrip": false,
|
| 128 |
+
"normalized": false,
|
| 129 |
+
"rstrip": false,
|
| 130 |
+
"single_word": false,
|
| 131 |
+
"special": true
|
| 132 |
+
},
|
| 133 |
+
"16": {
|
| 134 |
+
"content": "<commit_msg>",
|
| 135 |
+
"lstrip": false,
|
| 136 |
+
"normalized": false,
|
| 137 |
+
"rstrip": false,
|
| 138 |
+
"single_word": false,
|
| 139 |
+
"special": true
|
| 140 |
+
},
|
| 141 |
+
"17": {
|
| 142 |
+
"content": "<commit_after>",
|
| 143 |
+
"lstrip": false,
|
| 144 |
+
"normalized": false,
|
| 145 |
+
"rstrip": false,
|
| 146 |
+
"single_word": false,
|
| 147 |
+
"special": true
|
| 148 |
+
},
|
| 149 |
+
"18": {
|
| 150 |
+
"content": "<reponame>",
|
| 151 |
+
"lstrip": false,
|
| 152 |
+
"normalized": false,
|
| 153 |
+
"rstrip": false,
|
| 154 |
+
"single_word": false,
|
| 155 |
+
"special": true
|
| 156 |
+
},
|
| 157 |
+
"49152": {
|
| 158 |
+
"content": "<|start_of_role|>",
|
| 159 |
+
"lstrip": false,
|
| 160 |
+
"normalized": false,
|
| 161 |
+
"rstrip": false,
|
| 162 |
+
"single_word": false,
|
| 163 |
+
"special": true
|
| 164 |
+
},
|
| 165 |
+
"49153": {
|
| 166 |
+
"content": "<|end_of_role|>",
|
| 167 |
+
"lstrip": false,
|
| 168 |
+
"normalized": false,
|
| 169 |
+
"rstrip": false,
|
| 170 |
+
"single_word": false,
|
| 171 |
+
"special": true
|
| 172 |
+
},
|
| 173 |
+
"49154": {
|
| 174 |
+
"content": "<|tool_call|>",
|
| 175 |
+
"lstrip": false,
|
| 176 |
+
"normalized": false,
|
| 177 |
+
"rstrip": false,
|
| 178 |
+
"single_word": false,
|
| 179 |
+
"special": true
|
| 180 |
+
},
|
| 181 |
+
"49155": {
|
| 182 |
+
"content": "<|start_of_cite|>",
|
| 183 |
+
"lstrip": false,
|
| 184 |
+
"normalized": false,
|
| 185 |
+
"rstrip": false,
|
| 186 |
+
"single_word": false,
|
| 187 |
+
"special": true
|
| 188 |
+
},
|
| 189 |
+
"49156": {
|
| 190 |
+
"content": "<|end_of_cite|>",
|
| 191 |
+
"lstrip": false,
|
| 192 |
+
"normalized": false,
|
| 193 |
+
"rstrip": false,
|
| 194 |
+
"single_word": false,
|
| 195 |
+
"special": true
|
| 196 |
+
},
|
| 197 |
+
"49157": {
|
| 198 |
+
"content": "<|start_of_plugin|>",
|
| 199 |
+
"lstrip": false,
|
| 200 |
+
"normalized": false,
|
| 201 |
+
"rstrip": false,
|
| 202 |
+
"single_word": false,
|
| 203 |
+
"special": true
|
| 204 |
+
},
|
| 205 |
+
"49158": {
|
| 206 |
+
"content": "<|end_of_plugin|>",
|
| 207 |
+
"lstrip": false,
|
| 208 |
+
"normalized": false,
|
| 209 |
+
"rstrip": false,
|
| 210 |
+
"single_word": false,
|
| 211 |
+
"special": true
|
| 212 |
+
}
|
| 213 |
+
},
|
| 214 |
+
"additional_special_tokens": [
|
| 215 |
+
"<|start_of_role|>",
|
| 216 |
+
"<|end_of_role|>",
|
| 217 |
+
"<|tool_call|>",
|
| 218 |
+
"<|start_of_cite|>",
|
| 219 |
+
"<|end_of_cite|>",
|
| 220 |
+
"<|start_of_plugin|>",
|
| 221 |
+
"<|end_of_plugin|>"
|
| 222 |
+
],
|
| 223 |
+
"bos_token": "<|end_of_text|>",
|
| 224 |
+
"clean_up_tokenization_spaces": true,
|
| 225 |
+
"eos_token": "<|end_of_text|>",
|
| 226 |
+
"errors": "replace",
|
| 227 |
+
"extra_special_tokens": {},
|
| 228 |
+
"model_max_length": 8192,
|
| 229 |
+
"pad_token": "<|end_of_text|>",
|
| 230 |
+
"padding_side": "left",
|
| 231 |
+
"tokenizer_class": "GPT2Tokenizer",
|
| 232 |
+
"unk_token": "<|end_of_text|>",
|
| 233 |
+
"vocab_size": 49152
|
| 234 |
+
}
|
knowledge_instruct/5_128_e3_3e-5/train_results.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 3.0,
|
| 3 |
+
"total_flos": 5.884765552110469e+17,
|
| 4 |
+
"train_loss": 0.8399706845430984,
|
| 5 |
+
"train_runtime": 290.3844,
|
| 6 |
+
"train_samples": 3090,
|
| 7 |
+
"train_samples_per_second": 31.923,
|
| 8 |
+
"train_steps_per_second": 1.002
|
| 9 |
+
}
|
knowledge_instruct/5_128_e3_3e-5/trainer_state.json
ADDED
|
@@ -0,0 +1,449 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 3.0,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 291,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"epoch": 0.05154639175257732,
|
| 14 |
+
"grad_norm": 1.8595497608184814,
|
| 15 |
+
"learning_rate": 4e-06,
|
| 16 |
+
"loss": 2.2116,
|
| 17 |
+
"step": 5
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.10309278350515463,
|
| 21 |
+
"grad_norm": 0.7187277674674988,
|
| 22 |
+
"learning_rate": 9e-06,
|
| 23 |
+
"loss": 2.1583,
|
| 24 |
+
"step": 10
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.15463917525773196,
|
| 28 |
+
"grad_norm": 0.4991365373134613,
|
| 29 |
+
"learning_rate": 1.4e-05,
|
| 30 |
+
"loss": 2.0481,
|
| 31 |
+
"step": 15
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.20618556701030927,
|
| 35 |
+
"grad_norm": 0.43598854541778564,
|
| 36 |
+
"learning_rate": 1.9e-05,
|
| 37 |
+
"loss": 2.046,
|
| 38 |
+
"step": 20
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.25773195876288657,
|
| 42 |
+
"grad_norm": 0.4219966530799866,
|
| 43 |
+
"learning_rate": 2.4e-05,
|
| 44 |
+
"loss": 1.9525,
|
| 45 |
+
"step": 25
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.30927835051546393,
|
| 49 |
+
"grad_norm": 0.40158355236053467,
|
| 50 |
+
"learning_rate": 2.9e-05,
|
| 51 |
+
"loss": 1.9796,
|
| 52 |
+
"step": 30
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 0.36082474226804123,
|
| 56 |
+
"grad_norm": 0.4179352819919586,
|
| 57 |
+
"learning_rate": 2.9982617346265313e-05,
|
| 58 |
+
"loss": 1.8933,
|
| 59 |
+
"step": 35
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"epoch": 0.41237113402061853,
|
| 63 |
+
"grad_norm": 0.4129480719566345,
|
| 64 |
+
"learning_rate": 2.9912069357315394e-05,
|
| 65 |
+
"loss": 1.7639,
|
| 66 |
+
"step": 40
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"epoch": 0.4639175257731959,
|
| 70 |
+
"grad_norm": 0.45385804772377014,
|
| 71 |
+
"learning_rate": 2.97875248742675e-05,
|
| 72 |
+
"loss": 1.743,
|
| 73 |
+
"step": 45
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"epoch": 0.5154639175257731,
|
| 77 |
+
"grad_norm": 0.4642479121685028,
|
| 78 |
+
"learning_rate": 2.9609434871784003e-05,
|
| 79 |
+
"loss": 1.6803,
|
| 80 |
+
"step": 50
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"epoch": 0.5670103092783505,
|
| 84 |
+
"grad_norm": 0.5181566476821899,
|
| 85 |
+
"learning_rate": 2.937844421246162e-05,
|
| 86 |
+
"loss": 1.6192,
|
| 87 |
+
"step": 55
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"epoch": 0.6185567010309279,
|
| 91 |
+
"grad_norm": 0.5830377340316772,
|
| 92 |
+
"learning_rate": 2.9095389311788626e-05,
|
| 93 |
+
"loss": 1.5512,
|
| 94 |
+
"step": 60
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"epoch": 0.6701030927835051,
|
| 98 |
+
"grad_norm": 0.72371506690979,
|
| 99 |
+
"learning_rate": 2.8761295109490516e-05,
|
| 100 |
+
"loss": 1.5069,
|
| 101 |
+
"step": 65
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"epoch": 0.7216494845360825,
|
| 105 |
+
"grad_norm": 0.8011057376861572,
|
| 106 |
+
"learning_rate": 2.8377371358230733e-05,
|
| 107 |
+
"loss": 1.4145,
|
| 108 |
+
"step": 70
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"epoch": 0.7731958762886598,
|
| 112 |
+
"grad_norm": 0.7392259240150452,
|
| 113 |
+
"learning_rate": 2.7945008243105147e-05,
|
| 114 |
+
"loss": 1.3734,
|
| 115 |
+
"step": 75
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"epoch": 0.8247422680412371,
|
| 119 |
+
"grad_norm": 0.8304237723350525,
|
| 120 |
+
"learning_rate": 2.7465771347791953e-05,
|
| 121 |
+
"loss": 1.2567,
|
| 122 |
+
"step": 80
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"epoch": 0.8762886597938144,
|
| 126 |
+
"grad_norm": 0.9671931862831116,
|
| 127 |
+
"learning_rate": 2.6941395985584656e-05,
|
| 128 |
+
"loss": 1.1742,
|
| 129 |
+
"step": 85
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"epoch": 0.9278350515463918,
|
| 133 |
+
"grad_norm": 0.9449904561042786,
|
| 134 |
+
"learning_rate": 2.6373780915835296e-05,
|
| 135 |
+
"loss": 1.1762,
|
| 136 |
+
"step": 90
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"epoch": 0.979381443298969,
|
| 140 |
+
"grad_norm": 0.9646089673042297,
|
| 141 |
+
"learning_rate": 2.5764981468560743e-05,
|
| 142 |
+
"loss": 1.0987,
|
| 143 |
+
"step": 95
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"epoch": 1.0309278350515463,
|
| 147 |
+
"grad_norm": 1.2730003595352173,
|
| 148 |
+
"learning_rate": 2.5117202102107707e-05,
|
| 149 |
+
"loss": 1.0353,
|
| 150 |
+
"step": 100
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"epoch": 1.0824742268041236,
|
| 154 |
+
"grad_norm": 1.1882948875427246,
|
| 155 |
+
"learning_rate": 2.4432788420825228e-05,
|
| 156 |
+
"loss": 0.9294,
|
| 157 |
+
"step": 105
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"epoch": 1.134020618556701,
|
| 161 |
+
"grad_norm": 1.161271333694458,
|
| 162 |
+
"learning_rate": 2.3714218681648423e-05,
|
| 163 |
+
"loss": 0.8356,
|
| 164 |
+
"step": 110
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"epoch": 1.1855670103092784,
|
| 168 |
+
"grad_norm": 1.3885468244552612,
|
| 169 |
+
"learning_rate": 2.2964094820348302e-05,
|
| 170 |
+
"loss": 0.8007,
|
| 171 |
+
"step": 115
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"epoch": 1.2371134020618557,
|
| 175 |
+
"grad_norm": 1.3265362977981567,
|
| 176 |
+
"learning_rate": 2.2185133029941333e-05,
|
| 177 |
+
"loss": 0.7967,
|
| 178 |
+
"step": 120
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"epoch": 1.2886597938144329,
|
| 182 |
+
"grad_norm": 1.46563720703125,
|
| 183 |
+
"learning_rate": 2.13801539253744e-05,
|
| 184 |
+
"loss": 0.743,
|
| 185 |
+
"step": 125
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"epoch": 1.3402061855670104,
|
| 189 |
+
"grad_norm": 1.6424047946929932,
|
| 190 |
+
"learning_rate": 2.055207233009872e-05,
|
| 191 |
+
"loss": 0.674,
|
| 192 |
+
"step": 130
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"epoch": 1.3917525773195876,
|
| 196 |
+
"grad_norm": 1.5041648149490356,
|
| 197 |
+
"learning_rate": 1.9703886721515405e-05,
|
| 198 |
+
"loss": 0.6971,
|
| 199 |
+
"step": 135
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"epoch": 1.443298969072165,
|
| 203 |
+
"grad_norm": 1.6263974905014038,
|
| 204 |
+
"learning_rate": 1.8838668373510768e-05,
|
| 205 |
+
"loss": 0.6118,
|
| 206 |
+
"step": 140
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"epoch": 1.4948453608247423,
|
| 210 |
+
"grad_norm": 1.8897602558135986,
|
| 211 |
+
"learning_rate": 1.7959550235396002e-05,
|
| 212 |
+
"loss": 0.6105,
|
| 213 |
+
"step": 145
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"epoch": 1.5463917525773194,
|
| 217 |
+
"grad_norm": 1.5758143663406372,
|
| 218 |
+
"learning_rate": 1.7069715587520648e-05,
|
| 219 |
+
"loss": 0.5716,
|
| 220 |
+
"step": 150
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"epoch": 1.597938144329897,
|
| 224 |
+
"grad_norm": 1.5561025142669678,
|
| 225 |
+
"learning_rate": 1.6172386514637726e-05,
|
| 226 |
+
"loss": 0.5958,
|
| 227 |
+
"step": 155
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"epoch": 1.6494845360824741,
|
| 231 |
+
"grad_norm": 1.4899718761444092,
|
| 232 |
+
"learning_rate": 1.5270812238758407e-05,
|
| 233 |
+
"loss": 0.5521,
|
| 234 |
+
"step": 160
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"epoch": 1.7010309278350515,
|
| 238 |
+
"grad_norm": 1.4869754314422607,
|
| 239 |
+
"learning_rate": 1.4368257353742863e-05,
|
| 240 |
+
"loss": 0.5042,
|
| 241 |
+
"step": 165
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"epoch": 1.7525773195876289,
|
| 245 |
+
"grad_norm": 1.5662310123443604,
|
| 246 |
+
"learning_rate": 1.3467990004229784e-05,
|
| 247 |
+
"loss": 0.474,
|
| 248 |
+
"step": 170
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"epoch": 1.8041237113402062,
|
| 252 |
+
"grad_norm": 1.580654263496399,
|
| 253 |
+
"learning_rate": 1.2573270051708529e-05,
|
| 254 |
+
"loss": 0.4553,
|
| 255 |
+
"step": 175
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"epoch": 1.8556701030927836,
|
| 259 |
+
"grad_norm": 1.4640189409255981,
|
| 260 |
+
"learning_rate": 1.1687337270584518e-05,
|
| 261 |
+
"loss": 0.4115,
|
| 262 |
+
"step": 180
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"epoch": 1.9072164948453607,
|
| 266 |
+
"grad_norm": 1.4783064126968384,
|
| 267 |
+
"learning_rate": 1.08133996169798e-05,
|
| 268 |
+
"loss": 0.4133,
|
| 269 |
+
"step": 185
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"epoch": 1.9587628865979383,
|
| 273 |
+
"grad_norm": 1.4590730667114258,
|
| 274 |
+
"learning_rate": 9.954621612747371e-06,
|
| 275 |
+
"loss": 0.3911,
|
| 276 |
+
"step": 190
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"epoch": 2.0103092783505154,
|
| 280 |
+
"grad_norm": 1.398895025253296,
|
| 281 |
+
"learning_rate": 9.114112886760748e-06,
|
| 282 |
+
"loss": 0.3952,
|
| 283 |
+
"step": 195
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"epoch": 2.0618556701030926,
|
| 287 |
+
"grad_norm": 1.3660659790039062,
|
| 288 |
+
"learning_rate": 8.294916914970466e-06,
|
| 289 |
+
"loss": 0.2832,
|
| 290 |
+
"step": 200
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"epoch": 2.11340206185567,
|
| 294 |
+
"grad_norm": 1.3053184747695923,
|
| 295 |
+
"learning_rate": 7.500000000000004e-06,
|
| 296 |
+
"loss": 0.2563,
|
| 297 |
+
"step": 205
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"epoch": 2.1649484536082473,
|
| 301 |
+
"grad_norm": 1.1678050756454468,
|
| 302 |
+
"learning_rate": 6.732240530185607e-06,
|
| 303 |
+
"loss": 0.2824,
|
| 304 |
+
"step": 210
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"epoch": 2.216494845360825,
|
| 308 |
+
"grad_norm": 1.4996545314788818,
|
| 309 |
+
"learning_rate": 5.994418556953226e-06,
|
| 310 |
+
"loss": 0.2644,
|
| 311 |
+
"step": 215
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"epoch": 2.268041237113402,
|
| 315 |
+
"grad_norm": 1.2885499000549316,
|
| 316 |
+
"learning_rate": 5.289205728272587e-06,
|
| 317 |
+
"loss": 0.2509,
|
| 318 |
+
"step": 220
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"epoch": 2.319587628865979,
|
| 322 |
+
"grad_norm": 1.2604013681411743,
|
| 323 |
+
"learning_rate": 4.619155614639457e-06,
|
| 324 |
+
"loss": 0.2894,
|
| 325 |
+
"step": 225
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"epoch": 2.3711340206185567,
|
| 329 |
+
"grad_norm": 1.4047455787658691,
|
| 330 |
+
"learning_rate": 3.986694462615552e-06,
|
| 331 |
+
"loss": 0.2639,
|
| 332 |
+
"step": 230
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"epoch": 2.422680412371134,
|
| 336 |
+
"grad_norm": 1.2980202436447144,
|
| 337 |
+
"learning_rate": 3.394112409407455e-06,
|
| 338 |
+
"loss": 0.259,
|
| 339 |
+
"step": 235
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"epoch": 2.4742268041237114,
|
| 343 |
+
"grad_norm": 1.2632694244384766,
|
| 344 |
+
"learning_rate": 2.843555190296568e-06,
|
| 345 |
+
"loss": 0.2402,
|
| 346 |
+
"step": 240
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"epoch": 2.5257731958762886,
|
| 350 |
+
"grad_norm": 1.1902369260787964,
|
| 351 |
+
"learning_rate": 2.3370163689473232e-06,
|
| 352 |
+
"loss": 0.2437,
|
| 353 |
+
"step": 245
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"epoch": 2.5773195876288657,
|
| 357 |
+
"grad_norm": 1.2253056764602661,
|
| 358 |
+
"learning_rate": 1.8763301187277554e-06,
|
| 359 |
+
"loss": 0.2473,
|
| 360 |
+
"step": 250
|
| 361 |
+
},
|
| 362 |
+
{
|
| 363 |
+
"epoch": 2.6288659793814433,
|
| 364 |
+
"grad_norm": 1.2000309228897095,
|
| 365 |
+
"learning_rate": 1.4631645811811257e-06,
|
| 366 |
+
"loss": 0.2359,
|
| 367 |
+
"step": 255
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"epoch": 2.680412371134021,
|
| 371 |
+
"grad_norm": 1.1158047914505005,
|
| 372 |
+
"learning_rate": 1.099015825697608e-06,
|
| 373 |
+
"loss": 0.2114,
|
| 374 |
+
"step": 260
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"epoch": 2.731958762886598,
|
| 378 |
+
"grad_norm": 1.2220821380615234,
|
| 379 |
+
"learning_rate": 7.852024322579649e-07,
|
| 380 |
+
"loss": 0.2385,
|
| 381 |
+
"step": 265
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"epoch": 2.783505154639175,
|
| 385 |
+
"grad_norm": 1.0926647186279297,
|
| 386 |
+
"learning_rate": 5.228607168650701e-07,
|
| 387 |
+
"loss": 0.2113,
|
| 388 |
+
"step": 270
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"epoch": 2.8350515463917527,
|
| 392 |
+
"grad_norm": 1.1882318258285522,
|
| 393 |
+
"learning_rate": 3.129406169519816e-07,
|
| 394 |
+
"loss": 0.2435,
|
| 395 |
+
"step": 275
|
| 396 |
+
},
|
| 397 |
+
{
|
| 398 |
+
"epoch": 2.88659793814433,
|
| 399 |
+
"grad_norm": 1.0925195217132568,
|
| 400 |
+
"learning_rate": 1.5620225166544155e-07,
|
| 401 |
+
"loss": 0.2177,
|
| 402 |
+
"step": 280
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"epoch": 2.9381443298969074,
|
| 406 |
+
"grad_norm": 1.2150771617889404,
|
| 407 |
+
"learning_rate": 5.3213169479996994e-08,
|
| 408 |
+
"loss": 0.2416,
|
| 409 |
+
"step": 285
|
| 410 |
+
},
|
| 411 |
+
{
|
| 412 |
+
"epoch": 2.9896907216494846,
|
| 413 |
+
"grad_norm": 1.1398199796676636,
|
| 414 |
+
"learning_rate": 4.346293109130928e-09,
|
| 415 |
+
"loss": 0.1996,
|
| 416 |
+
"step": 290
|
| 417 |
+
},
|
| 418 |
+
{
|
| 419 |
+
"epoch": 3.0,
|
| 420 |
+
"step": 291,
|
| 421 |
+
"total_flos": 5.884765552110469e+17,
|
| 422 |
+
"train_loss": 0.8399706845430984,
|
| 423 |
+
"train_runtime": 290.3844,
|
| 424 |
+
"train_samples_per_second": 31.923,
|
| 425 |
+
"train_steps_per_second": 1.002
|
| 426 |
+
}
|
| 427 |
+
],
|
| 428 |
+
"logging_steps": 5,
|
| 429 |
+
"max_steps": 291,
|
| 430 |
+
"num_input_tokens_seen": 0,
|
| 431 |
+
"num_train_epochs": 3,
|
| 432 |
+
"save_steps": 500,
|
| 433 |
+
"stateful_callbacks": {
|
| 434 |
+
"TrainerControl": {
|
| 435 |
+
"args": {
|
| 436 |
+
"should_epoch_stop": false,
|
| 437 |
+
"should_evaluate": false,
|
| 438 |
+
"should_log": false,
|
| 439 |
+
"should_save": false,
|
| 440 |
+
"should_training_stop": false
|
| 441 |
+
},
|
| 442 |
+
"attributes": {}
|
| 443 |
+
}
|
| 444 |
+
},
|
| 445 |
+
"total_flos": 5.884765552110469e+17,
|
| 446 |
+
"train_batch_size": 2,
|
| 447 |
+
"trial_name": null,
|
| 448 |
+
"trial_params": null
|
| 449 |
+
}
|
knowledge_instruct/5_128_e3_3e-5/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f073940b6d2c3f430d6b0ecf141ffcea44e315c189fbc5e2b73cde24c8aea9a0
|
| 3 |
+
size 8017
|
knowledge_instruct/5_128_e3_3e-5/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|