Upload folder using huggingface_hub
Browse files- knowledge_instruct/4_128_e3_3e-5/adapter_config.json +39 -0
- knowledge_instruct/4_128_e3_3e-5/adapter_model.safetensors +3 -0
- knowledge_instruct/4_128_e3_3e-5/added_tokens.json +9 -0
- knowledge_instruct/4_128_e3_3e-5/all_results.json +9 -0
- knowledge_instruct/4_128_e3_3e-5/chat_template.jinja +62 -0
- knowledge_instruct/4_128_e3_3e-5/config.json +32 -0
- knowledge_instruct/4_128_e3_3e-5/merges.txt +0 -0
- knowledge_instruct/4_128_e3_3e-5/special_tokens_map.json +39 -0
- knowledge_instruct/4_128_e3_3e-5/tokenizer.json +0 -0
- knowledge_instruct/4_128_e3_3e-5/tokenizer_config.json +234 -0
- knowledge_instruct/4_128_e3_3e-5/train_results.json +9 -0
- knowledge_instruct/4_128_e3_3e-5/trainer_state.json +421 -0
- knowledge_instruct/4_128_e3_3e-5/training_args.bin +3 -0
- knowledge_instruct/4_128_e3_3e-5/vocab.json +0 -0
knowledge_instruct/4_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 |
+
"o_proj",
|
| 28 |
+
"v_proj",
|
| 29 |
+
"k_proj",
|
| 30 |
+
"q_proj",
|
| 31 |
+
"down_proj",
|
| 32 |
+
"gate_proj",
|
| 33 |
+
"up_proj"
|
| 34 |
+
],
|
| 35 |
+
"task_type": "CAUSAL_LM",
|
| 36 |
+
"trainable_token_indices": null,
|
| 37 |
+
"use_dora": false,
|
| 38 |
+
"use_rslora": false
|
| 39 |
+
}
|
knowledge_instruct/4_128_e3_3e-5/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:497ca41e8dcd013efe9fd8c22d4c30e30fc18896af15f035c21ab0ffef1938c9
|
| 3 |
+
size 791751704
|
knowledge_instruct/4_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/4_128_e3_3e-5/all_results.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 3.0,
|
| 3 |
+
"total_flos": 5.2365658773100954e+17,
|
| 4 |
+
"train_loss": 0.8230276898101524,
|
| 5 |
+
"train_runtime": 262.0255,
|
| 6 |
+
"train_samples": 2868,
|
| 7 |
+
"train_samples_per_second": 32.836,
|
| 8 |
+
"train_steps_per_second": 1.03
|
| 9 |
+
}
|
knowledge_instruct/4_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/4_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/4_128_e3_3e-5/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
knowledge_instruct/4_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/4_128_e3_3e-5/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
knowledge_instruct/4_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/4_128_e3_3e-5/train_results.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 3.0,
|
| 3 |
+
"total_flos": 5.2365658773100954e+17,
|
| 4 |
+
"train_loss": 0.8230276898101524,
|
| 5 |
+
"train_runtime": 262.0255,
|
| 6 |
+
"train_samples": 2868,
|
| 7 |
+
"train_samples_per_second": 32.836,
|
| 8 |
+
"train_steps_per_second": 1.03
|
| 9 |
+
}
|
knowledge_instruct/4_128_e3_3e-5/trainer_state.json
ADDED
|
@@ -0,0 +1,421 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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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": 270,
|
| 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.05555555555555555,
|
| 14 |
+
"grad_norm": 1.9157058000564575,
|
| 15 |
+
"learning_rate": 4.444444444444444e-06,
|
| 16 |
+
"loss": 2.0899,
|
| 17 |
+
"step": 5
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.1111111111111111,
|
| 21 |
+
"grad_norm": 0.7075327634811401,
|
| 22 |
+
"learning_rate": 9.999999999999999e-06,
|
| 23 |
+
"loss": 2.0896,
|
| 24 |
+
"step": 10
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.16666666666666666,
|
| 28 |
+
"grad_norm": 0.5801419019699097,
|
| 29 |
+
"learning_rate": 1.5555555555555555e-05,
|
| 30 |
+
"loss": 1.9933,
|
| 31 |
+
"step": 15
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.2222222222222222,
|
| 35 |
+
"grad_norm": 0.42678016424179077,
|
| 36 |
+
"learning_rate": 2.111111111111111e-05,
|
| 37 |
+
"loss": 1.9571,
|
| 38 |
+
"step": 20
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.2777777777777778,
|
| 42 |
+
"grad_norm": 0.40450266003608704,
|
| 43 |
+
"learning_rate": 2.6666666666666667e-05,
|
| 44 |
+
"loss": 1.8953,
|
| 45 |
+
"step": 25
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.3333333333333333,
|
| 49 |
+
"grad_norm": 0.3730352222919464,
|
| 50 |
+
"learning_rate": 2.9994986000845313e-05,
|
| 51 |
+
"loss": 1.8018,
|
| 52 |
+
"step": 30
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 0.3888888888888889,
|
| 56 |
+
"grad_norm": 0.3861108124256134,
|
| 57 |
+
"learning_rate": 2.993861699919014e-05,
|
| 58 |
+
"loss": 1.7543,
|
| 59 |
+
"step": 35
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"epoch": 0.4444444444444444,
|
| 63 |
+
"grad_norm": 0.38230639696121216,
|
| 64 |
+
"learning_rate": 2.981984774215214e-05,
|
| 65 |
+
"loss": 1.7447,
|
| 66 |
+
"step": 40
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"epoch": 0.5,
|
| 70 |
+
"grad_norm": 0.39263877272605896,
|
| 71 |
+
"learning_rate": 2.9639174342053556e-05,
|
| 72 |
+
"loss": 1.6465,
|
| 73 |
+
"step": 45
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"epoch": 0.5555555555555556,
|
| 77 |
+
"grad_norm": 0.49719008803367615,
|
| 78 |
+
"learning_rate": 2.9397351491668677e-05,
|
| 79 |
+
"loss": 1.583,
|
| 80 |
+
"step": 50
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"epoch": 0.6111111111111112,
|
| 84 |
+
"grad_norm": 0.5734861493110657,
|
| 85 |
+
"learning_rate": 2.9095389311788626e-05,
|
| 86 |
+
"loss": 1.5536,
|
| 87 |
+
"step": 55
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"epoch": 0.6666666666666666,
|
| 91 |
+
"grad_norm": 0.5833670496940613,
|
| 92 |
+
"learning_rate": 2.873454913183509e-05,
|
| 93 |
+
"loss": 1.5291,
|
| 94 |
+
"step": 60
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"epoch": 0.7222222222222222,
|
| 98 |
+
"grad_norm": 0.6324998736381531,
|
| 99 |
+
"learning_rate": 2.831633822114784e-05,
|
| 100 |
+
"loss": 1.4761,
|
| 101 |
+
"step": 65
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"epoch": 0.7777777777777778,
|
| 105 |
+
"grad_norm": 0.6822621822357178,
|
| 106 |
+
"learning_rate": 2.7842503492953996e-05,
|
| 107 |
+
"loss": 1.3273,
|
| 108 |
+
"step": 70
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"epoch": 0.8333333333333334,
|
| 112 |
+
"grad_norm": 0.7704163193702698,
|
| 113 |
+
"learning_rate": 2.731502420731828e-05,
|
| 114 |
+
"loss": 1.249,
|
| 115 |
+
"step": 75
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"epoch": 0.8888888888888888,
|
| 119 |
+
"grad_norm": 0.9308582544326782,
|
| 120 |
+
"learning_rate": 2.6736103703554797e-05,
|
| 121 |
+
"loss": 1.2003,
|
| 122 |
+
"step": 80
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"epoch": 0.9444444444444444,
|
| 126 |
+
"grad_norm": 1.069375991821289,
|
| 127 |
+
"learning_rate": 2.610816019663507e-05,
|
| 128 |
+
"loss": 1.1245,
|
| 129 |
+
"step": 85
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"epoch": 1.0,
|
| 133 |
+
"grad_norm": 0.9918310046195984,
|
| 134 |
+
"learning_rate": 2.5433816676036627e-05,
|
| 135 |
+
"loss": 1.0769,
|
| 136 |
+
"step": 90
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"epoch": 1.0555555555555556,
|
| 140 |
+
"grad_norm": 1.115438461303711,
|
| 141 |
+
"learning_rate": 2.471588994922588e-05,
|
| 142 |
+
"loss": 0.9052,
|
| 143 |
+
"step": 95
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"epoch": 1.1111111111111112,
|
| 147 |
+
"grad_norm": 1.3108888864517212,
|
| 148 |
+
"learning_rate": 2.3957378875541795e-05,
|
| 149 |
+
"loss": 0.8798,
|
| 150 |
+
"step": 100
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"epoch": 1.1666666666666667,
|
| 154 |
+
"grad_norm": 1.4582504034042358,
|
| 155 |
+
"learning_rate": 2.316145183962874e-05,
|
| 156 |
+
"loss": 0.7983,
|
| 157 |
+
"step": 105
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"epoch": 1.2222222222222223,
|
| 161 |
+
"grad_norm": 1.181402325630188,
|
| 162 |
+
"learning_rate": 2.2331433516743462e-05,
|
| 163 |
+
"loss": 0.7757,
|
| 164 |
+
"step": 110
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"epoch": 1.2777777777777777,
|
| 168 |
+
"grad_norm": 1.2574639320373535,
|
| 169 |
+
"learning_rate": 2.1470790985218804e-05,
|
| 170 |
+
"loss": 0.7431,
|
| 171 |
+
"step": 115
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"epoch": 1.3333333333333333,
|
| 175 |
+
"grad_norm": 1.2823652029037476,
|
| 176 |
+
"learning_rate": 2.058311924409405e-05,
|
| 177 |
+
"loss": 0.6726,
|
| 178 |
+
"step": 120
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"epoch": 1.3888888888888888,
|
| 182 |
+
"grad_norm": 1.484898328781128,
|
| 183 |
+
"learning_rate": 1.967212619640637e-05,
|
| 184 |
+
"loss": 0.6759,
|
| 185 |
+
"step": 125
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"epoch": 1.4444444444444444,
|
| 189 |
+
"grad_norm": 1.6044461727142334,
|
| 190 |
+
"learning_rate": 1.874161716086972e-05,
|
| 191 |
+
"loss": 0.6098,
|
| 192 |
+
"step": 130
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"epoch": 1.5,
|
| 196 |
+
"grad_norm": 1.5158940553665161,
|
| 197 |
+
"learning_rate": 1.7795478976637735e-05,
|
| 198 |
+
"loss": 0.5665,
|
| 199 |
+
"step": 135
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"epoch": 1.5555555555555556,
|
| 203 |
+
"grad_norm": 1.6436837911605835,
|
| 204 |
+
"learning_rate": 1.6837663767546683e-05,
|
| 205 |
+
"loss": 0.6229,
|
| 206 |
+
"step": 140
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"epoch": 1.6111111111111112,
|
| 210 |
+
"grad_norm": 1.5658854246139526,
|
| 211 |
+
"learning_rate": 1.587217243365714e-05,
|
| 212 |
+
"loss": 0.5295,
|
| 213 |
+
"step": 145
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"epoch": 1.6666666666666665,
|
| 217 |
+
"grad_norm": 1.5813871622085571,
|
| 218 |
+
"learning_rate": 1.4903037939051909e-05,
|
| 219 |
+
"loss": 0.4871,
|
| 220 |
+
"step": 150
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"epoch": 1.7222222222222223,
|
| 224 |
+
"grad_norm": 1.3716639280319214,
|
| 225 |
+
"learning_rate": 1.3934308465699053e-05,
|
| 226 |
+
"loss": 0.4889,
|
| 227 |
+
"step": 155
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"epoch": 1.7777777777777777,
|
| 231 |
+
"grad_norm": 1.5294026136398315,
|
| 232 |
+
"learning_rate": 1.2970030503748039e-05,
|
| 233 |
+
"loss": 0.5,
|
| 234 |
+
"step": 160
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"epoch": 1.8333333333333335,
|
| 238 |
+
"grad_norm": 1.4085655212402344,
|
| 239 |
+
"learning_rate": 1.2014231948892893e-05,
|
| 240 |
+
"loss": 0.4625,
|
| 241 |
+
"step": 165
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"epoch": 1.8888888888888888,
|
| 245 |
+
"grad_norm": 2.1450812816619873,
|
| 246 |
+
"learning_rate": 1.1070905277406412e-05,
|
| 247 |
+
"loss": 0.449,
|
| 248 |
+
"step": 170
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"epoch": 1.9444444444444444,
|
| 252 |
+
"grad_norm": 1.3694984912872314,
|
| 253 |
+
"learning_rate": 1.0143990869125185e-05,
|
| 254 |
+
"loss": 0.4071,
|
| 255 |
+
"step": 175
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"epoch": 2.0,
|
| 259 |
+
"grad_norm": 1.6811888217926025,
|
| 260 |
+
"learning_rate": 9.237360548047235e-06,
|
| 261 |
+
"loss": 0.3532,
|
| 262 |
+
"step": 180
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"epoch": 2.0555555555555554,
|
| 266 |
+
"grad_norm": 1.4080991744995117,
|
| 267 |
+
"learning_rate": 8.354801409294976e-06,
|
| 268 |
+
"loss": 0.3069,
|
| 269 |
+
"step": 185
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"epoch": 2.111111111111111,
|
| 273 |
+
"grad_norm": 1.5429209470748901,
|
| 274 |
+
"learning_rate": 7.500000000000004e-06,
|
| 275 |
+
"loss": 0.2661,
|
| 276 |
+
"step": 190
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"epoch": 2.1666666666666665,
|
| 280 |
+
"grad_norm": 1.6966108083724976,
|
| 281 |
+
"learning_rate": 6.676526920188048e-06,
|
| 282 |
+
"loss": 0.2749,
|
| 283 |
+
"step": 195
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"epoch": 2.2222222222222223,
|
| 287 |
+
"grad_norm": 1.2298492193222046,
|
| 288 |
+
"learning_rate": 5.887821907987745e-06,
|
| 289 |
+
"loss": 0.2561,
|
| 290 |
+
"step": 200
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"epoch": 2.2777777777777777,
|
| 294 |
+
"grad_norm": 1.4452238082885742,
|
| 295 |
+
"learning_rate": 5.137179471464047e-06,
|
| 296 |
+
"loss": 0.2725,
|
| 297 |
+
"step": 205
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"epoch": 2.3333333333333335,
|
| 301 |
+
"grad_norm": 1.2945327758789062,
|
| 302 |
+
"learning_rate": 4.427735127093659e-06,
|
| 303 |
+
"loss": 0.2784,
|
| 304 |
+
"step": 210
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"epoch": 2.388888888888889,
|
| 308 |
+
"grad_norm": 1.4335517883300781,
|
| 309 |
+
"learning_rate": 3.7624523023659597e-06,
|
| 310 |
+
"loss": 0.2647,
|
| 311 |
+
"step": 215
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"epoch": 2.4444444444444446,
|
| 315 |
+
"grad_norm": 1.2376583814620972,
|
| 316 |
+
"learning_rate": 3.144109957218612e-06,
|
| 317 |
+
"loss": 0.2477,
|
| 318 |
+
"step": 220
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"epoch": 2.5,
|
| 322 |
+
"grad_norm": 1.2082992792129517,
|
| 323 |
+
"learning_rate": 2.575290976014554e-06,
|
| 324 |
+
"loss": 0.2327,
|
| 325 |
+
"step": 225
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"epoch": 2.5555555555555554,
|
| 329 |
+
"grad_norm": 1.142353892326355,
|
| 330 |
+
"learning_rate": 2.0583713785483736e-06,
|
| 331 |
+
"loss": 0.2315,
|
| 332 |
+
"step": 230
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"epoch": 2.611111111111111,
|
| 336 |
+
"grad_norm": 1.0009113550186157,
|
| 337 |
+
"learning_rate": 1.5955103951488177e-06,
|
| 338 |
+
"loss": 0.2274,
|
| 339 |
+
"step": 235
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"epoch": 2.6666666666666665,
|
| 343 |
+
"grad_norm": 1.0898774862289429,
|
| 344 |
+
"learning_rate": 1.1886414473349256e-06,
|
| 345 |
+
"loss": 0.2229,
|
| 346 |
+
"step": 240
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"epoch": 2.7222222222222223,
|
| 350 |
+
"grad_norm": 1.166425347328186,
|
| 351 |
+
"learning_rate": 8.394640717005003e-07,
|
| 352 |
+
"loss": 0.2258,
|
| 353 |
+
"step": 245
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"epoch": 2.7777777777777777,
|
| 357 |
+
"grad_norm": 1.1602253913879395,
|
| 358 |
+
"learning_rate": 5.49436820761795e-07,
|
| 359 |
+
"loss": 0.2179,
|
| 360 |
+
"step": 250
|
| 361 |
+
},
|
| 362 |
+
{
|
| 363 |
+
"epoch": 2.8333333333333335,
|
| 364 |
+
"grad_norm": 1.0741126537322998,
|
| 365 |
+
"learning_rate": 3.1977117042233827e-07,
|
| 366 |
+
"loss": 0.2051,
|
| 367 |
+
"step": 255
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"epoch": 2.888888888888889,
|
| 371 |
+
"grad_norm": 0.9538036584854126,
|
| 372 |
+
"learning_rate": 1.514264595040954e-07,
|
| 373 |
+
"loss": 0.2408,
|
| 374 |
+
"step": 260
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"epoch": 2.9444444444444446,
|
| 378 |
+
"grad_norm": 1.1190361976623535,
|
| 379 |
+
"learning_rate": 4.5105882483119643e-08,
|
| 380 |
+
"loss": 0.229,
|
| 381 |
+
"step": 265
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"epoch": 3.0,
|
| 385 |
+
"grad_norm": 1.0676954984664917,
|
| 386 |
+
"learning_rate": 1.253552168440919e-09,
|
| 387 |
+
"loss": 0.2236,
|
| 388 |
+
"step": 270
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"epoch": 3.0,
|
| 392 |
+
"step": 270,
|
| 393 |
+
"total_flos": 5.2365658773100954e+17,
|
| 394 |
+
"train_loss": 0.8230276898101524,
|
| 395 |
+
"train_runtime": 262.0255,
|
| 396 |
+
"train_samples_per_second": 32.836,
|
| 397 |
+
"train_steps_per_second": 1.03
|
| 398 |
+
}
|
| 399 |
+
],
|
| 400 |
+
"logging_steps": 5,
|
| 401 |
+
"max_steps": 270,
|
| 402 |
+
"num_input_tokens_seen": 0,
|
| 403 |
+
"num_train_epochs": 3,
|
| 404 |
+
"save_steps": 500,
|
| 405 |
+
"stateful_callbacks": {
|
| 406 |
+
"TrainerControl": {
|
| 407 |
+
"args": {
|
| 408 |
+
"should_epoch_stop": false,
|
| 409 |
+
"should_evaluate": false,
|
| 410 |
+
"should_log": false,
|
| 411 |
+
"should_save": false,
|
| 412 |
+
"should_training_stop": false
|
| 413 |
+
},
|
| 414 |
+
"attributes": {}
|
| 415 |
+
}
|
| 416 |
+
},
|
| 417 |
+
"total_flos": 5.2365658773100954e+17,
|
| 418 |
+
"train_batch_size": 2,
|
| 419 |
+
"trial_name": null,
|
| 420 |
+
"trial_params": null
|
| 421 |
+
}
|
knowledge_instruct/4_128_e3_3e-5/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:24fcaa046c5e07c540e8d2cb34763bbee0943e2875a039e80f54c41e6f929178
|
| 3 |
+
size 8017
|
knowledge_instruct/4_128_e3_3e-5/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|