Upload folder using huggingface_hub
Browse files- knowledge_instruct/3_128_e3_3e-5/adapter_config.json +39 -0
- knowledge_instruct/3_128_e3_3e-5/adapter_model.safetensors +3 -0
- knowledge_instruct/3_128_e3_3e-5/added_tokens.json +9 -0
- knowledge_instruct/3_128_e3_3e-5/all_results.json +9 -0
- knowledge_instruct/3_128_e3_3e-5/chat_template.jinja +62 -0
- knowledge_instruct/3_128_e3_3e-5/config.json +32 -0
- knowledge_instruct/3_128_e3_3e-5/merges.txt +0 -0
- knowledge_instruct/3_128_e3_3e-5/special_tokens_map.json +39 -0
- knowledge_instruct/3_128_e3_3e-5/tokenizer.json +0 -0
- knowledge_instruct/3_128_e3_3e-5/tokenizer_config.json +234 -0
- knowledge_instruct/3_128_e3_3e-5/train_results.json +9 -0
- knowledge_instruct/3_128_e3_3e-5/trainer_state.json +456 -0
- knowledge_instruct/3_128_e3_3e-5/training_args.bin +3 -0
- knowledge_instruct/3_128_e3_3e-5/vocab.json +0 -0
knowledge_instruct/3_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 |
+
"up_proj",
|
| 28 |
+
"k_proj",
|
| 29 |
+
"v_proj",
|
| 30 |
+
"o_proj",
|
| 31 |
+
"down_proj",
|
| 32 |
+
"gate_proj",
|
| 33 |
+
"q_proj"
|
| 34 |
+
],
|
| 35 |
+
"task_type": "CAUSAL_LM",
|
| 36 |
+
"trainable_token_indices": null,
|
| 37 |
+
"use_dora": false,
|
| 38 |
+
"use_rslora": false
|
| 39 |
+
}
|
knowledge_instruct/3_128_e3_3e-5/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c7ca16b9897cc073274c068afd934d412a29ab7a91cab7cc618f1f046de7f1ae
|
| 3 |
+
size 791751704
|
knowledge_instruct/3_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/3_128_e3_3e-5/all_results.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 3.0,
|
| 3 |
+
"total_flos": 6.038573103762637e+17,
|
| 4 |
+
"train_loss": 0.8445117444502385,
|
| 5 |
+
"train_runtime": 295.9583,
|
| 6 |
+
"train_samples": 3150,
|
| 7 |
+
"train_samples_per_second": 31.93,
|
| 8 |
+
"train_steps_per_second": 1.004
|
| 9 |
+
}
|
knowledge_instruct/3_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/3_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/3_128_e3_3e-5/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
knowledge_instruct/3_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/3_128_e3_3e-5/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
knowledge_instruct/3_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/3_128_e3_3e-5/train_results.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 3.0,
|
| 3 |
+
"total_flos": 6.038573103762637e+17,
|
| 4 |
+
"train_loss": 0.8445117444502385,
|
| 5 |
+
"train_runtime": 295.9583,
|
| 6 |
+
"train_samples": 3150,
|
| 7 |
+
"train_samples_per_second": 31.93,
|
| 8 |
+
"train_steps_per_second": 1.004
|
| 9 |
+
}
|
knowledge_instruct/3_128_e3_3e-5/trainer_state.json
ADDED
|
@@ -0,0 +1,456 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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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": 297,
|
| 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.050761421319796954,
|
| 14 |
+
"grad_norm": 1.9612222909927368,
|
| 15 |
+
"learning_rate": 4e-06,
|
| 16 |
+
"loss": 2.1889,
|
| 17 |
+
"step": 5
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.10152284263959391,
|
| 21 |
+
"grad_norm": 0.7346660494804382,
|
| 22 |
+
"learning_rate": 9e-06,
|
| 23 |
+
"loss": 2.1176,
|
| 24 |
+
"step": 10
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.15228426395939088,
|
| 28 |
+
"grad_norm": 0.47165292501449585,
|
| 29 |
+
"learning_rate": 1.4e-05,
|
| 30 |
+
"loss": 2.099,
|
| 31 |
+
"step": 15
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.20304568527918782,
|
| 35 |
+
"grad_norm": 0.4515688717365265,
|
| 36 |
+
"learning_rate": 1.9e-05,
|
| 37 |
+
"loss": 2.0683,
|
| 38 |
+
"step": 20
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.25380710659898476,
|
| 42 |
+
"grad_norm": 0.35172808170318604,
|
| 43 |
+
"learning_rate": 2.4e-05,
|
| 44 |
+
"loss": 1.9933,
|
| 45 |
+
"step": 25
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.30456852791878175,
|
| 49 |
+
"grad_norm": 0.36833542585372925,
|
| 50 |
+
"learning_rate": 2.9e-05,
|
| 51 |
+
"loss": 1.9341,
|
| 52 |
+
"step": 30
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 0.3553299492385787,
|
| 56 |
+
"grad_norm": 0.3994852900505066,
|
| 57 |
+
"learning_rate": 2.998338966852224e-05,
|
| 58 |
+
"loss": 1.8736,
|
| 59 |
+
"step": 35
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"epoch": 0.40609137055837563,
|
| 63 |
+
"grad_norm": 0.3932099938392639,
|
| 64 |
+
"learning_rate": 2.991597324011973e-05,
|
| 65 |
+
"loss": 1.853,
|
| 66 |
+
"step": 40
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"epoch": 0.45685279187817257,
|
| 70 |
+
"grad_norm": 0.42668986320495605,
|
| 71 |
+
"learning_rate": 2.979694565876292e-05,
|
| 72 |
+
"loss": 1.7833,
|
| 73 |
+
"step": 45
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"epoch": 0.5076142131979695,
|
| 77 |
+
"grad_norm": 0.4589649736881256,
|
| 78 |
+
"learning_rate": 2.96267187749297e-05,
|
| 79 |
+
"loss": 1.7204,
|
| 80 |
+
"step": 50
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"epoch": 0.5583756345177665,
|
| 84 |
+
"grad_norm": 0.5168870687484741,
|
| 85 |
+
"learning_rate": 2.940588159515669e-05,
|
| 86 |
+
"loss": 1.6579,
|
| 87 |
+
"step": 55
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"epoch": 0.6091370558375635,
|
| 91 |
+
"grad_norm": 0.570078432559967,
|
| 92 |
+
"learning_rate": 2.913519824400216e-05,
|
| 93 |
+
"loss": 1.5639,
|
| 94 |
+
"step": 60
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"epoch": 0.6598984771573604,
|
| 98 |
+
"grad_norm": 0.6450158953666687,
|
| 99 |
+
"learning_rate": 2.8815605320078453e-05,
|
| 100 |
+
"loss": 1.4968,
|
| 101 |
+
"step": 65
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"epoch": 0.7106598984771574,
|
| 105 |
+
"grad_norm": 0.6575930714607239,
|
| 106 |
+
"learning_rate": 2.8448208655302427e-05,
|
| 107 |
+
"loss": 1.4341,
|
| 108 |
+
"step": 70
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"epoch": 0.7614213197969543,
|
| 112 |
+
"grad_norm": 0.8733814358711243,
|
| 113 |
+
"learning_rate": 2.80342794885772e-05,
|
| 114 |
+
"loss": 1.3362,
|
| 115 |
+
"step": 75
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"epoch": 0.8121827411167513,
|
| 119 |
+
"grad_norm": 0.9495199918746948,
|
| 120 |
+
"learning_rate": 2.757525006714484e-05,
|
| 121 |
+
"loss": 1.3167,
|
| 122 |
+
"step": 80
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"epoch": 0.8629441624365483,
|
| 126 |
+
"grad_norm": 1.0274912118911743,
|
| 127 |
+
"learning_rate": 2.7072708690829888e-05,
|
| 128 |
+
"loss": 1.2091,
|
| 129 |
+
"step": 85
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"epoch": 0.9137055837563451,
|
| 133 |
+
"grad_norm": 1.0070005655288696,
|
| 134 |
+
"learning_rate": 2.6528394216321165e-05,
|
| 135 |
+
"loss": 1.1595,
|
| 136 |
+
"step": 90
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"epoch": 0.9644670050761421,
|
| 140 |
+
"grad_norm": 1.2203947305679321,
|
| 141 |
+
"learning_rate": 2.5944190040507823e-05,
|
| 142 |
+
"loss": 1.0834,
|
| 143 |
+
"step": 95
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"epoch": 1.0101522842639594,
|
| 147 |
+
"grad_norm": 1.211737871170044,
|
| 148 |
+
"learning_rate": 2.532211758368803e-05,
|
| 149 |
+
"loss": 1.0668,
|
| 150 |
+
"step": 100
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"epoch": 1.0609137055837563,
|
| 154 |
+
"grad_norm": 1.2077553272247314,
|
| 155 |
+
"learning_rate": 2.4664329295199198e-05,
|
| 156 |
+
"loss": 0.9287,
|
| 157 |
+
"step": 105
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"epoch": 1.1116751269035534,
|
| 161 |
+
"grad_norm": 1.6031734943389893,
|
| 162 |
+
"learning_rate": 2.397310120567119e-05,
|
| 163 |
+
"loss": 0.8702,
|
| 164 |
+
"step": 110
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"epoch": 1.1624365482233503,
|
| 168 |
+
"grad_norm": 1.2754663228988647,
|
| 169 |
+
"learning_rate": 2.325082505167262e-05,
|
| 170 |
+
"loss": 0.8153,
|
| 171 |
+
"step": 115
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"epoch": 1.2131979695431472,
|
| 175 |
+
"grad_norm": 1.357539176940918,
|
| 176 |
+
"learning_rate": 2.25e-05,
|
| 177 |
+
"loss": 0.7832,
|
| 178 |
+
"step": 120
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"epoch": 1.263959390862944,
|
| 182 |
+
"grad_norm": 1.5531888008117676,
|
| 183 |
+
"learning_rate": 2.1723224000244682e-05,
|
| 184 |
+
"loss": 0.7575,
|
| 185 |
+
"step": 125
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"epoch": 1.3147208121827412,
|
| 189 |
+
"grad_norm": 1.3341542482376099,
|
| 190 |
+
"learning_rate": 2.092318479555887e-05,
|
| 191 |
+
"loss": 0.778,
|
| 192 |
+
"step": 130
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"epoch": 1.365482233502538,
|
| 196 |
+
"grad_norm": 1.4141639471054077,
|
| 197 |
+
"learning_rate": 2.0102650622724555e-05,
|
| 198 |
+
"loss": 0.6897,
|
| 199 |
+
"step": 135
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"epoch": 1.4162436548223352,
|
| 203 |
+
"grad_norm": 1.4088115692138672,
|
| 204 |
+
"learning_rate": 1.9264460633704307e-05,
|
| 205 |
+
"loss": 0.6892,
|
| 206 |
+
"step": 140
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"epoch": 1.467005076142132,
|
| 210 |
+
"grad_norm": 1.4188754558563232,
|
| 211 |
+
"learning_rate": 1.84115150718166e-05,
|
| 212 |
+
"loss": 0.6021,
|
| 213 |
+
"step": 145
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"epoch": 1.517766497461929,
|
| 217 |
+
"grad_norm": 1.5411732196807861,
|
| 218 |
+
"learning_rate": 1.754676523652728e-05,
|
| 219 |
+
"loss": 0.633,
|
| 220 |
+
"step": 150
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"epoch": 1.5685279187817258,
|
| 224 |
+
"grad_norm": 1.5560009479522705,
|
| 225 |
+
"learning_rate": 1.667320327158037e-05,
|
| 226 |
+
"loss": 0.5543,
|
| 227 |
+
"step": 155
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"epoch": 1.6192893401015227,
|
| 231 |
+
"grad_norm": 1.5500757694244385,
|
| 232 |
+
"learning_rate": 1.5793851811802445e-05,
|
| 233 |
+
"loss": 0.5868,
|
| 234 |
+
"step": 160
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"epoch": 1.6700507614213198,
|
| 238 |
+
"grad_norm": 1.5830318927764893,
|
| 239 |
+
"learning_rate": 1.4911753524404069e-05,
|
| 240 |
+
"loss": 0.5491,
|
| 241 |
+
"step": 165
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"epoch": 1.720812182741117,
|
| 245 |
+
"grad_norm": 1.5392558574676514,
|
| 246 |
+
"learning_rate": 1.4029960580966573e-05,
|
| 247 |
+
"loss": 0.4973,
|
| 248 |
+
"step": 170
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"epoch": 1.7715736040609138,
|
| 252 |
+
"grad_norm": 1.4676629304885864,
|
| 253 |
+
"learning_rate": 1.3151524096542622e-05,
|
| 254 |
+
"loss": 0.472,
|
| 255 |
+
"step": 175
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"epoch": 1.8223350253807107,
|
| 259 |
+
"grad_norm": 1.5905554294586182,
|
| 260 |
+
"learning_rate": 1.227948357241236e-05,
|
| 261 |
+
"loss": 0.4543,
|
| 262 |
+
"step": 180
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"epoch": 1.8730964467005076,
|
| 266 |
+
"grad_norm": 1.7352855205535889,
|
| 267 |
+
"learning_rate": 1.1416856379024835e-05,
|
| 268 |
+
"loss": 0.4765,
|
| 269 |
+
"step": 185
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"epoch": 1.9238578680203045,
|
| 273 |
+
"grad_norm": 1.5292367935180664,
|
| 274 |
+
"learning_rate": 1.056662731551474e-05,
|
| 275 |
+
"loss": 0.4558,
|
| 276 |
+
"step": 190
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"epoch": 1.9746192893401016,
|
| 280 |
+
"grad_norm": 1.789367914199829,
|
| 281 |
+
"learning_rate": 9.731738281920162e-06,
|
| 282 |
+
"loss": 0.3849,
|
| 283 |
+
"step": 195
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"epoch": 2.020304568527919,
|
| 287 |
+
"grad_norm": 1.5248783826828003,
|
| 288 |
+
"learning_rate": 8.915078099836506e-06,
|
| 289 |
+
"loss": 0.3768,
|
| 290 |
+
"step": 200
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"epoch": 2.0710659898477157,
|
| 294 |
+
"grad_norm": 1.5763195753097534,
|
| 295 |
+
"learning_rate": 8.11947251672864e-06,
|
| 296 |
+
"loss": 0.3062,
|
| 297 |
+
"step": 205
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"epoch": 2.1218274111675126,
|
| 301 |
+
"grad_norm": 1.4099059104919434,
|
| 302 |
+
"learning_rate": 7.3476744284874446e-06,
|
| 303 |
+
"loss": 0.3039,
|
| 304 |
+
"step": 210
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"epoch": 2.1725888324873095,
|
| 308 |
+
"grad_norm": 1.3048628568649292,
|
| 309 |
+
"learning_rate": 6.602354354062003e-06,
|
| 310 |
+
"loss": 0.2816,
|
| 311 |
+
"step": 215
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"epoch": 2.223350253807107,
|
| 315 |
+
"grad_norm": 1.3664716482162476,
|
| 316 |
+
"learning_rate": 5.8860911951265186e-06,
|
| 317 |
+
"loss": 0.2728,
|
| 318 |
+
"step": 220
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"epoch": 2.2741116751269037,
|
| 322 |
+
"grad_norm": 1.592854380607605,
|
| 323 |
+
"learning_rate": 5.201363312754458e-06,
|
| 324 |
+
"loss": 0.2728,
|
| 325 |
+
"step": 225
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"epoch": 2.3248730964467006,
|
| 329 |
+
"grad_norm": 1.303808331489563,
|
| 330 |
+
"learning_rate": 4.550539951975996e-06,
|
| 331 |
+
"loss": 0.2621,
|
| 332 |
+
"step": 230
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"epoch": 2.3756345177664975,
|
| 336 |
+
"grad_norm": 1.2744121551513672,
|
| 337 |
+
"learning_rate": 3.9358730438906675e-06,
|
| 338 |
+
"loss": 0.2678,
|
| 339 |
+
"step": 235
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"epoch": 2.4263959390862944,
|
| 343 |
+
"grad_norm": 1.3587069511413574,
|
| 344 |
+
"learning_rate": 3.3594894137011207e-06,
|
| 345 |
+
"loss": 0.248,
|
| 346 |
+
"step": 240
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"epoch": 2.4771573604060912,
|
| 350 |
+
"grad_norm": 1.368149995803833,
|
| 351 |
+
"learning_rate": 2.8233834216290637e-06,
|
| 352 |
+
"loss": 0.2349,
|
| 353 |
+
"step": 245
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"epoch": 2.527918781725888,
|
| 357 |
+
"grad_norm": 1.1613805294036865,
|
| 358 |
+
"learning_rate": 2.329410062176771e-06,
|
| 359 |
+
"loss": 0.2092,
|
| 360 |
+
"step": 250
|
| 361 |
+
},
|
| 362 |
+
{
|
| 363 |
+
"epoch": 2.5786802030456855,
|
| 364 |
+
"grad_norm": 1.1356263160705566,
|
| 365 |
+
"learning_rate": 1.8792785456116257e-06,
|
| 366 |
+
"loss": 0.2314,
|
| 367 |
+
"step": 255
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"epoch": 2.6294416243654823,
|
| 371 |
+
"grad_norm": 1.2699198722839355,
|
| 372 |
+
"learning_rate": 1.474546383882534e-06,
|
| 373 |
+
"loss": 0.2367,
|
| 374 |
+
"step": 260
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"epoch": 2.6802030456852792,
|
| 378 |
+
"grad_norm": 1.1539772748947144,
|
| 379 |
+
"learning_rate": 1.116614001431685e-06,
|
| 380 |
+
"loss": 0.2573,
|
| 381 |
+
"step": 265
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"epoch": 2.730964467005076,
|
| 385 |
+
"grad_norm": 1.1576775312423706,
|
| 386 |
+
"learning_rate": 8.06719889548957e-07,
|
| 387 |
+
"loss": 0.2568,
|
| 388 |
+
"step": 270
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"epoch": 2.781725888324873,
|
| 392 |
+
"grad_norm": 1.109298586845398,
|
| 393 |
+
"learning_rate": 5.459363210354984e-07,
|
| 394 |
+
"loss": 0.2296,
|
| 395 |
+
"step": 275
|
| 396 |
+
},
|
| 397 |
+
{
|
| 398 |
+
"epoch": 2.8324873096446703,
|
| 399 |
+
"grad_norm": 1.1718854904174805,
|
| 400 |
+
"learning_rate": 3.3516564000428404e-07,
|
| 401 |
+
"loss": 0.2375,
|
| 402 |
+
"step": 280
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"epoch": 2.8832487309644668,
|
| 406 |
+
"grad_norm": 1.1500661373138428,
|
| 407 |
+
"learning_rate": 1.7513713965542244e-07,
|
| 408 |
+
"loss": 0.2113,
|
| 409 |
+
"step": 285
|
| 410 |
+
},
|
| 411 |
+
{
|
| 412 |
+
"epoch": 2.934010152284264,
|
| 413 |
+
"grad_norm": 1.16874361038208,
|
| 414 |
+
"learning_rate": 6.64045388294826e-08,
|
| 415 |
+
"loss": 0.2192,
|
| 416 |
+
"step": 290
|
| 417 |
+
},
|
| 418 |
+
{
|
| 419 |
+
"epoch": 2.984771573604061,
|
| 420 |
+
"grad_norm": 1.106729507446289,
|
| 421 |
+
"learning_rate": 9.344066070327007e-09,
|
| 422 |
+
"loss": 0.2387,
|
| 423 |
+
"step": 295
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"epoch": 3.0,
|
| 427 |
+
"step": 297,
|
| 428 |
+
"total_flos": 6.038573103762637e+17,
|
| 429 |
+
"train_loss": 0.8445117444502385,
|
| 430 |
+
"train_runtime": 295.9583,
|
| 431 |
+
"train_samples_per_second": 31.93,
|
| 432 |
+
"train_steps_per_second": 1.004
|
| 433 |
+
}
|
| 434 |
+
],
|
| 435 |
+
"logging_steps": 5,
|
| 436 |
+
"max_steps": 297,
|
| 437 |
+
"num_input_tokens_seen": 0,
|
| 438 |
+
"num_train_epochs": 3,
|
| 439 |
+
"save_steps": 500,
|
| 440 |
+
"stateful_callbacks": {
|
| 441 |
+
"TrainerControl": {
|
| 442 |
+
"args": {
|
| 443 |
+
"should_epoch_stop": false,
|
| 444 |
+
"should_evaluate": false,
|
| 445 |
+
"should_log": false,
|
| 446 |
+
"should_save": false,
|
| 447 |
+
"should_training_stop": false
|
| 448 |
+
},
|
| 449 |
+
"attributes": {}
|
| 450 |
+
}
|
| 451 |
+
},
|
| 452 |
+
"total_flos": 6.038573103762637e+17,
|
| 453 |
+
"train_batch_size": 2,
|
| 454 |
+
"trial_name": null,
|
| 455 |
+
"trial_params": null
|
| 456 |
+
}
|
knowledge_instruct/3_128_e3_3e-5/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8eb57f8ac96d058fd12f8f3af6e7501c7cfb132faed24f96e113003e9c13fed1
|
| 3 |
+
size 8017
|
knowledge_instruct/3_128_e3_3e-5/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|