Upload folder using huggingface_hub
Browse files- knowledge_instruct/6_128_e3_3e-5/adapter_config.json +39 -0
- knowledge_instruct/6_128_e3_3e-5/adapter_model.safetensors +3 -0
- knowledge_instruct/6_128_e3_3e-5/added_tokens.json +9 -0
- knowledge_instruct/6_128_e3_3e-5/all_results.json +9 -0
- knowledge_instruct/6_128_e3_3e-5/chat_template.jinja +62 -0
- knowledge_instruct/6_128_e3_3e-5/config.json +32 -0
- knowledge_instruct/6_128_e3_3e-5/merges.txt +0 -0
- knowledge_instruct/6_128_e3_3e-5/special_tokens_map.json +39 -0
- knowledge_instruct/6_128_e3_3e-5/tokenizer.json +0 -0
- knowledge_instruct/6_128_e3_3e-5/tokenizer_config.json +234 -0
- knowledge_instruct/6_128_e3_3e-5/train_results.json +9 -0
- knowledge_instruct/6_128_e3_3e-5/trainer_state.json +428 -0
- knowledge_instruct/6_128_e3_3e-5/training_args.bin +3 -0
- knowledge_instruct/6_128_e3_3e-5/vocab.json +0 -0
knowledge_instruct/6_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 |
+
"k_proj",
|
| 28 |
+
"down_proj",
|
| 29 |
+
"q_proj",
|
| 30 |
+
"up_proj",
|
| 31 |
+
"gate_proj",
|
| 32 |
+
"o_proj",
|
| 33 |
+
"v_proj"
|
| 34 |
+
],
|
| 35 |
+
"task_type": "CAUSAL_LM",
|
| 36 |
+
"trainable_token_indices": null,
|
| 37 |
+
"use_dora": false,
|
| 38 |
+
"use_rslora": false
|
| 39 |
+
}
|
knowledge_instruct/6_128_e3_3e-5/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b8333e1f7d6fb98f78e9e0a3e8895d186b0ef89101efc63aeae65f249480c25b
|
| 3 |
+
size 791751704
|
knowledge_instruct/6_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/6_128_e3_3e-5/all_results.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 3.0,
|
| 3 |
+
"total_flos": 5.5760721704229274e+17,
|
| 4 |
+
"train_loss": 0.8313630627047631,
|
| 5 |
+
"train_runtime": 279.1709,
|
| 6 |
+
"train_samples": 2970,
|
| 7 |
+
"train_samples_per_second": 31.916,
|
| 8 |
+
"train_steps_per_second": 0.999
|
| 9 |
+
}
|
knowledge_instruct/6_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/6_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/6_128_e3_3e-5/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
knowledge_instruct/6_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/6_128_e3_3e-5/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
knowledge_instruct/6_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/6_128_e3_3e-5/train_results.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 3.0,
|
| 3 |
+
"total_flos": 5.5760721704229274e+17,
|
| 4 |
+
"train_loss": 0.8313630627047631,
|
| 5 |
+
"train_runtime": 279.1709,
|
| 6 |
+
"train_samples": 2970,
|
| 7 |
+
"train_samples_per_second": 31.916,
|
| 8 |
+
"train_steps_per_second": 0.999
|
| 9 |
+
}
|
knowledge_instruct/6_128_e3_3e-5/trainer_state.json
ADDED
|
@@ -0,0 +1,428 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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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": 279,
|
| 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.053763440860215055,
|
| 14 |
+
"grad_norm": 1.8901408910751343,
|
| 15 |
+
"learning_rate": 4.2857142857142855e-06,
|
| 16 |
+
"loss": 2.1344,
|
| 17 |
+
"step": 5
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.10752688172043011,
|
| 21 |
+
"grad_norm": 0.693505048751831,
|
| 22 |
+
"learning_rate": 9.642857142857144e-06,
|
| 23 |
+
"loss": 2.1165,
|
| 24 |
+
"step": 10
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.16129032258064516,
|
| 28 |
+
"grad_norm": 0.46624282002449036,
|
| 29 |
+
"learning_rate": 1.5e-05,
|
| 30 |
+
"loss": 2.0379,
|
| 31 |
+
"step": 15
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.21505376344086022,
|
| 35 |
+
"grad_norm": 0.4417343735694885,
|
| 36 |
+
"learning_rate": 2.0357142857142858e-05,
|
| 37 |
+
"loss": 1.9831,
|
| 38 |
+
"step": 20
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.26881720430107525,
|
| 42 |
+
"grad_norm": 0.39847996830940247,
|
| 43 |
+
"learning_rate": 2.5714285714285714e-05,
|
| 44 |
+
"loss": 1.9271,
|
| 45 |
+
"step": 25
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.3225806451612903,
|
| 49 |
+
"grad_norm": 0.3791571259498596,
|
| 50 |
+
"learning_rate": 2.999882508108334e-05,
|
| 51 |
+
"loss": 1.8613,
|
| 52 |
+
"step": 30
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 0.3763440860215054,
|
| 56 |
+
"grad_norm": 0.3974868655204773,
|
| 57 |
+
"learning_rate": 2.995772224185354e-05,
|
| 58 |
+
"loss": 1.8402,
|
| 59 |
+
"step": 35
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"epoch": 0.43010752688172044,
|
| 63 |
+
"grad_norm": 0.4030809700489044,
|
| 64 |
+
"learning_rate": 2.9858057385153234e-05,
|
| 65 |
+
"loss": 1.7658,
|
| 66 |
+
"step": 40
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"epoch": 0.4838709677419355,
|
| 70 |
+
"grad_norm": 0.4384458363056183,
|
| 71 |
+
"learning_rate": 2.9700220715786658e-05,
|
| 72 |
+
"loss": 1.7092,
|
| 73 |
+
"step": 45
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"epoch": 0.5376344086021505,
|
| 77 |
+
"grad_norm": 0.4635663330554962,
|
| 78 |
+
"learning_rate": 2.948483019106306e-05,
|
| 79 |
+
"loss": 1.6682,
|
| 80 |
+
"step": 50
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"epoch": 0.5913978494623656,
|
| 84 |
+
"grad_norm": 0.5029993057250977,
|
| 85 |
+
"learning_rate": 2.9212729101389083e-05,
|
| 86 |
+
"loss": 1.5679,
|
| 87 |
+
"step": 55
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"epoch": 0.6451612903225806,
|
| 91 |
+
"grad_norm": 0.6692967414855957,
|
| 92 |
+
"learning_rate": 2.8884982768643927e-05,
|
| 93 |
+
"loss": 1.5239,
|
| 94 |
+
"step": 60
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"epoch": 0.6989247311827957,
|
| 98 |
+
"grad_norm": 0.6214091777801514,
|
| 99 |
+
"learning_rate": 2.8502874375263646e-05,
|
| 100 |
+
"loss": 1.4239,
|
| 101 |
+
"step": 65
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"epoch": 0.7526881720430108,
|
| 105 |
+
"grad_norm": 0.7570476531982422,
|
| 106 |
+
"learning_rate": 2.806789994036445e-05,
|
| 107 |
+
"loss": 1.4009,
|
| 108 |
+
"step": 70
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"epoch": 0.8064516129032258,
|
| 112 |
+
"grad_norm": 0.8813644051551819,
|
| 113 |
+
"learning_rate": 2.7581762462574335e-05,
|
| 114 |
+
"loss": 1.3039,
|
| 115 |
+
"step": 75
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"epoch": 0.8602150537634409,
|
| 119 |
+
"grad_norm": 0.8986539244651794,
|
| 120 |
+
"learning_rate": 2.7046365252504835e-05,
|
| 121 |
+
"loss": 1.2307,
|
| 122 |
+
"step": 80
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"epoch": 0.9139784946236559,
|
| 126 |
+
"grad_norm": 1.0496151447296143,
|
| 127 |
+
"learning_rate": 2.6463804480967445e-05,
|
| 128 |
+
"loss": 1.1621,
|
| 129 |
+
"step": 85
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"epoch": 0.967741935483871,
|
| 133 |
+
"grad_norm": 1.0627660751342773,
|
| 134 |
+
"learning_rate": 2.5836360972109643e-05,
|
| 135 |
+
"loss": 1.1229,
|
| 136 |
+
"step": 90
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"epoch": 1.021505376344086,
|
| 140 |
+
"grad_norm": 1.0072591304779053,
|
| 141 |
+
"learning_rate": 2.5166491273601802e-05,
|
| 142 |
+
"loss": 1.0327,
|
| 143 |
+
"step": 95
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"epoch": 1.075268817204301,
|
| 147 |
+
"grad_norm": 1.2624021768569946,
|
| 148 |
+
"learning_rate": 2.445681803883678e-05,
|
| 149 |
+
"loss": 0.8667,
|
| 150 |
+
"step": 100
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"epoch": 1.129032258064516,
|
| 154 |
+
"grad_norm": 1.2391031980514526,
|
| 155 |
+
"learning_rate": 2.371011975879742e-05,
|
| 156 |
+
"loss": 0.8421,
|
| 157 |
+
"step": 105
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"epoch": 1.1827956989247312,
|
| 161 |
+
"grad_norm": 1.2177045345306396,
|
| 162 |
+
"learning_rate": 2.292931988379344e-05,
|
| 163 |
+
"loss": 0.8447,
|
| 164 |
+
"step": 110
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"epoch": 1.2365591397849462,
|
| 168 |
+
"grad_norm": 1.389898419380188,
|
| 169 |
+
"learning_rate": 2.211747537765808e-05,
|
| 170 |
+
"loss": 0.7628,
|
| 171 |
+
"step": 115
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"epoch": 1.2903225806451613,
|
| 175 |
+
"grad_norm": 1.2135525941848755,
|
| 176 |
+
"learning_rate": 2.1277764749216613e-05,
|
| 177 |
+
"loss": 0.783,
|
| 178 |
+
"step": 120
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"epoch": 1.3440860215053765,
|
| 182 |
+
"grad_norm": 1.2660590410232544,
|
| 183 |
+
"learning_rate": 2.0413475607885617e-05,
|
| 184 |
+
"loss": 0.7113,
|
| 185 |
+
"step": 125
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"epoch": 1.3978494623655915,
|
| 189 |
+
"grad_norm": 1.8949875831604004,
|
| 190 |
+
"learning_rate": 1.9527991792124977e-05,
|
| 191 |
+
"loss": 0.6371,
|
| 192 |
+
"step": 130
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"epoch": 1.4516129032258065,
|
| 196 |
+
"grad_norm": 1.3420690298080444,
|
| 197 |
+
"learning_rate": 1.862478012113684e-05,
|
| 198 |
+
"loss": 0.6326,
|
| 199 |
+
"step": 135
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"epoch": 1.5053763440860215,
|
| 203 |
+
"grad_norm": 1.6737028360366821,
|
| 204 |
+
"learning_rate": 1.770737682168091e-05,
|
| 205 |
+
"loss": 0.605,
|
| 206 |
+
"step": 140
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"epoch": 1.5591397849462365,
|
| 210 |
+
"grad_norm": 1.6843336820602417,
|
| 211 |
+
"learning_rate": 1.6779373683147424e-05,
|
| 212 |
+
"loss": 0.5684,
|
| 213 |
+
"step": 145
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"epoch": 1.6129032258064515,
|
| 217 |
+
"grad_norm": 1.5508371591567993,
|
| 218 |
+
"learning_rate": 1.5844403995092943e-05,
|
| 219 |
+
"loss": 0.5454,
|
| 220 |
+
"step": 150
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"epoch": 1.6666666666666665,
|
| 224 |
+
"grad_norm": 1.3189584016799927,
|
| 225 |
+
"learning_rate": 1.4906128322296054e-05,
|
| 226 |
+
"loss": 0.5034,
|
| 227 |
+
"step": 155
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"epoch": 1.7204301075268817,
|
| 231 |
+
"grad_norm": 1.5926172733306885,
|
| 232 |
+
"learning_rate": 1.3968220173025866e-05,
|
| 233 |
+
"loss": 0.4963,
|
| 234 |
+
"step": 160
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"epoch": 1.7741935483870968,
|
| 238 |
+
"grad_norm": 1.5618916749954224,
|
| 239 |
+
"learning_rate": 1.303435161663459e-05,
|
| 240 |
+
"loss": 0.4497,
|
| 241 |
+
"step": 165
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"epoch": 1.827956989247312,
|
| 245 |
+
"grad_norm": 1.4634692668914795,
|
| 246 |
+
"learning_rate": 1.2108178906783734e-05,
|
| 247 |
+
"loss": 0.4365,
|
| 248 |
+
"step": 170
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"epoch": 1.881720430107527,
|
| 252 |
+
"grad_norm": 1.7487046718597412,
|
| 253 |
+
"learning_rate": 1.119332816659137e-05,
|
| 254 |
+
"loss": 0.3944,
|
| 255 |
+
"step": 175
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"epoch": 1.935483870967742,
|
| 259 |
+
"grad_norm": 1.5313727855682373,
|
| 260 |
+
"learning_rate": 1.0293381191745638e-05,
|
| 261 |
+
"loss": 0.4129,
|
| 262 |
+
"step": 180
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"epoch": 1.989247311827957,
|
| 266 |
+
"grad_norm": 1.546604871749878,
|
| 267 |
+
"learning_rate": 9.411861427167567e-06,
|
| 268 |
+
"loss": 0.4093,
|
| 269 |
+
"step": 185
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"epoch": 2.043010752688172,
|
| 273 |
+
"grad_norm": 1.6795084476470947,
|
| 274 |
+
"learning_rate": 8.552220172127148e-06,
|
| 275 |
+
"loss": 0.3009,
|
| 276 |
+
"step": 190
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"epoch": 2.096774193548387,
|
| 280 |
+
"grad_norm": 1.319639801979065,
|
| 281 |
+
"learning_rate": 7.717823067821737e-06,
|
| 282 |
+
"loss": 0.3004,
|
| 283 |
+
"step": 195
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"epoch": 2.150537634408602,
|
| 287 |
+
"grad_norm": 1.3082141876220703,
|
| 288 |
+
"learning_rate": 6.911936920320457e-06,
|
| 289 |
+
"loss": 0.299,
|
| 290 |
+
"step": 200
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"epoch": 2.204301075268817,
|
| 294 |
+
"grad_norm": 1.4522005319595337,
|
| 295 |
+
"learning_rate": 6.137716910464735e-06,
|
| 296 |
+
"loss": 0.2872,
|
| 297 |
+
"step": 205
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"epoch": 2.258064516129032,
|
| 301 |
+
"grad_norm": 1.3859058618545532,
|
| 302 |
+
"learning_rate": 5.398194240800684e-06,
|
| 303 |
+
"loss": 0.2623,
|
| 304 |
+
"step": 210
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"epoch": 2.3118279569892475,
|
| 308 |
+
"grad_norm": 1.1976573467254639,
|
| 309 |
+
"learning_rate": 4.696264267907346e-06,
|
| 310 |
+
"loss": 0.2346,
|
| 311 |
+
"step": 215
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"epoch": 2.3655913978494625,
|
| 315 |
+
"grad_norm": 1.2653303146362305,
|
| 316 |
+
"learning_rate": 4.034675166585079e-06,
|
| 317 |
+
"loss": 0.2616,
|
| 318 |
+
"step": 220
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"epoch": 2.4193548387096775,
|
| 322 |
+
"grad_norm": 1.3980467319488525,
|
| 323 |
+
"learning_rate": 3.4160171702854287e-06,
|
| 324 |
+
"loss": 0.2617,
|
| 325 |
+
"step": 225
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"epoch": 2.4731182795698925,
|
| 329 |
+
"grad_norm": 1.1251455545425415,
|
| 330 |
+
"learning_rate": 2.8427124299082374e-06,
|
| 331 |
+
"loss": 0.2447,
|
| 332 |
+
"step": 230
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"epoch": 2.5268817204301075,
|
| 336 |
+
"grad_norm": 1.205810308456421,
|
| 337 |
+
"learning_rate": 2.3170055306703516e-06,
|
| 338 |
+
"loss": 0.2473,
|
| 339 |
+
"step": 235
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"epoch": 2.5806451612903225,
|
| 343 |
+
"grad_norm": 1.1898740530014038,
|
| 344 |
+
"learning_rate": 1.8409547041741437e-06,
|
| 345 |
+
"loss": 0.2224,
|
| 346 |
+
"step": 240
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"epoch": 2.6344086021505375,
|
| 350 |
+
"grad_norm": 1.1233065128326416,
|
| 351 |
+
"learning_rate": 1.416423770081941e-06,
|
| 352 |
+
"loss": 0.2128,
|
| 353 |
+
"step": 245
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"epoch": 2.688172043010753,
|
| 357 |
+
"grad_norm": 1.2096344232559204,
|
| 358 |
+
"learning_rate": 1.0450748389462183e-06,
|
| 359 |
+
"loss": 0.2202,
|
| 360 |
+
"step": 250
|
| 361 |
+
},
|
| 362 |
+
{
|
| 363 |
+
"epoch": 2.741935483870968,
|
| 364 |
+
"grad_norm": 1.1284255981445312,
|
| 365 |
+
"learning_rate": 7.283618047650808e-07,
|
| 366 |
+
"loss": 0.2119,
|
| 367 |
+
"step": 255
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"epoch": 2.795698924731183,
|
| 371 |
+
"grad_norm": 1.1083765029907227,
|
| 372 |
+
"learning_rate": 4.675246527408872e-07,
|
| 373 |
+
"loss": 0.2167,
|
| 374 |
+
"step": 260
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"epoch": 2.849462365591398,
|
| 378 |
+
"grad_norm": 1.038658857345581,
|
| 379 |
+
"learning_rate": 2.635846045280277e-07,
|
| 380 |
+
"loss": 0.2472,
|
| 381 |
+
"step": 265
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"epoch": 2.903225806451613,
|
| 385 |
+
"grad_norm": 1.072514295578003,
|
| 386 |
+
"learning_rate": 1.1734011997709626e-07,
|
| 387 |
+
"loss": 0.2139,
|
| 388 |
+
"step": 270
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"epoch": 2.956989247311828,
|
| 392 |
+
"grad_norm": 1.045924186706543,
|
| 393 |
+
"learning_rate": 2.9363771029242705e-08,
|
| 394 |
+
"loss": 0.2304,
|
| 395 |
+
"step": 275
|
| 396 |
+
},
|
| 397 |
+
{
|
| 398 |
+
"epoch": 3.0,
|
| 399 |
+
"step": 279,
|
| 400 |
+
"total_flos": 5.5760721704229274e+17,
|
| 401 |
+
"train_loss": 0.8313630627047631,
|
| 402 |
+
"train_runtime": 279.1709,
|
| 403 |
+
"train_samples_per_second": 31.916,
|
| 404 |
+
"train_steps_per_second": 0.999
|
| 405 |
+
}
|
| 406 |
+
],
|
| 407 |
+
"logging_steps": 5,
|
| 408 |
+
"max_steps": 279,
|
| 409 |
+
"num_input_tokens_seen": 0,
|
| 410 |
+
"num_train_epochs": 3,
|
| 411 |
+
"save_steps": 500,
|
| 412 |
+
"stateful_callbacks": {
|
| 413 |
+
"TrainerControl": {
|
| 414 |
+
"args": {
|
| 415 |
+
"should_epoch_stop": false,
|
| 416 |
+
"should_evaluate": false,
|
| 417 |
+
"should_log": false,
|
| 418 |
+
"should_save": false,
|
| 419 |
+
"should_training_stop": false
|
| 420 |
+
},
|
| 421 |
+
"attributes": {}
|
| 422 |
+
}
|
| 423 |
+
},
|
| 424 |
+
"total_flos": 5.5760721704229274e+17,
|
| 425 |
+
"train_batch_size": 2,
|
| 426 |
+
"trial_name": null,
|
| 427 |
+
"trial_params": null
|
| 428 |
+
}
|
knowledge_instruct/6_128_e3_3e-5/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a506b9c901b0fa97836a9119f6163c4541d30342b1ff667629d00e5de69b82bb
|
| 3 |
+
size 8017
|
knowledge_instruct/6_128_e3_3e-5/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|