Run this model with HF Jobs
Run finalform/foamGranite3.3-8B-Instruct on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/finalform/foamGranite3.3-8B-Instruct. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/finalform/foamGranite3.3-8B-Instruct on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use finalform/foamGranite3.3-8B-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use finalform/foamGranite3.3-8B-Instruct with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("ibm-granite/granite-3.3-8b-instruct") model = PeftModel.from_pretrained(base_model, "finalform/foamGranite3.3-8B-Instruct") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse filesFiles changed (36)
- README.md+78-3
- adapter_config.jsonAdded+39
- adapter_model.safetensorsAdded+3
- added_tokens.jsonAdded+9
- all_results.jsonAdded+13
- checkpoint-369/README.mdAdded+202
- checkpoint-369/adapter_config.jsonAdded+39
- checkpoint-369/adapter_model.safetensorsAdded+3
- checkpoint-369/added_tokens.jsonAdded+9
- checkpoint-369/merges.txtAdded
- checkpoint-369/optimizer.ptAdded+3
- checkpoint-369/rng_state_0.pthAdded+3
- checkpoint-369/rng_state_1.pthAdded+3
- checkpoint-369/rng_state_2.pthAdded+3
- checkpoint-369/scheduler.ptAdded+3
- checkpoint-369/special_tokens_map.jsonAdded+39
- checkpoint-369/tokenizer.jsonAdded
- checkpoint-369/tokenizer_config.jsonAdded+236
- checkpoint-369/trainer_state.jsonAdded+358
- checkpoint-369/training_args.binAdded+3
- checkpoint-369/vocab.jsonAdded
- eval_results.jsonAdded+8
- merges.txtAdded
- runs/Aug01_12-31-04_pan/events.out.tfevents.1754066012.panAdded+3
- runs/Aug01_12-31-04_pan/events.out.tfevents.1754069165.panAdded+3
- special_tokens_map.jsonAdded+39
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+236
- train_results.jsonAdded+8
- trainer_log.jsonlAdded+46
- trainer_state.jsonAdded+376
- training_args.binAdded+3
- training_eval_accuracy.pngAdded
- training_eval_loss.pngAdded
- training_loss.pngAdded
- vocab.jsonAdded
123---license: mit---123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778---library_name: peftlicense: otherbase_model: ibm-granite/granite-3.3-8b-instructtags:- llama-factory- lora- generated_from_trainermetrics:- accuracymodel-index:- name: factory_granite_resultsresults: []---<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. --># factory_granite_resultsThis model is a fine-tuned version of [ibm-granite/granite-3.3-8b-instruct](https://huggingface.co/ibm-granite/granite-3.3-8b-instruct) on the train dataset.It achieves the following results on the evaluation set:- Loss: 0.2540- Accuracy: 0.9496## Model descriptionMore information needed## Intended uses & limitationsMore information needed## Training and evaluation dataMore information needed## Training procedure### Training hyperparametersThe following hyperparameters were used during training:- learning_rate: 0.0001- train_batch_size: 2- eval_batch_size: 2- seed: 42- distributed_type: multi-GPU- num_devices: 3- gradient_accumulation_steps: 4- total_train_batch_size: 24- total_eval_batch_size: 6- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: cosine- lr_scheduler_warmup_ratio: 0.03- num_epochs: 9.0### Training results| Training Loss | Epoch | Step | Validation Loss | Accuracy ||:-------------:|:------:|:----:|:---------------:|:--------:|| 0.4349 | 1.0 | 42 | 0.3939 | 0.9056 || 0.2652 | 2.0 | 84 | 0.2977 | 0.9272 || 0.215 | 3.0 | 126 | 0.2550 | 0.9369 || 0.2215 | 4.0 | 168 | 0.2335 | 0.9431 || 0.1367 | 5.0 | 210 | 0.2275 | 0.9462 || 0.1033 | 6.0 | 252 | 0.2333 | 0.9480 || 0.0617 | 7.0 | 294 | 0.2434 | 0.9494 || 0.0564 | 8.0 | 336 | 0.2531 | 0.9497 || 0.0384 | 8.7904 | 369 | 0.2540 | 0.9496 |### Framework versions- PEFT 0.15.2- Transformers 4.51.3- Pytorch 2.7.1+cu126- Datasets 3.6.0- Tokenizers 0.21.1
123456789101112131415161718192021222324252627282930313233343536373839{ "alpha_pattern": {}, "auto_mapping": null, "base_model_name_or_path": "ibm-granite/granite-3.3-8b-instruct", "bias": "none", "corda_config": null, "eva_config": null, "exclude_modules": null, "fan_in_fan_out": false, "inference_mode": true, "init_lora_weights": true, "layer_replication": null, "layers_pattern": null, "layers_to_transform": null, "loftq_config": {}, "lora_alpha": 16, "lora_bias": false, "lora_dropout": 0.1, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": null, "peft_type": "LORA", "r": 32, "rank_pattern": {}, "revision": null, "target_modules": [ "q_proj", "k_proj", "down_proj", "o_proj", "gate_proj", "v_proj", "up_proj" ], "task_type": "CAUSAL_LM", "trainable_token_indices": null, "use_dora": false, "use_rslora": false}123version https://git-lfs.github.com/spec/v1oid sha256:2950fd3d0458a07005b293e39398226721e5cef632387fd35b751893fd68b5c7size 395912984123456789{ "<|end_of_cite|>": 49156, "<|end_of_plugin|>": 49158, "<|end_of_role|>": 49153, "<|start_of_cite|>": 49155, "<|start_of_plugin|>": 49157, "<|start_of_role|>": 49152, "<|tool_call|>": 49154}12345678910111213{ "epoch": 8.790419161676647, "eval_accuracy": 0.9495727484192179, "eval_loss": 0.25400951504707336, "eval_runtime": 33.9895, "eval_samples_per_second": 11.327, "eval_steps_per_second": 1.912, "total_flos": 3.618115695725773e+17, "train_loss": 0.2042977515113386, "train_runtime": 3121.1368, "train_samples_per_second": 2.884, "train_steps_per_second": 0.118}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202---base_model: ibm-granite/granite-3.3-8b-instructlibrary_name: peft---
# Model Card for Model ID
<!-- Provide a quick summary of what the model is/does. -->
## Model Details
### Model Description
<!-- Provide a longer summary of what this model is. -->
- **Developed by:** [More Information Needed]- **Funded by [optional]:** [More Information Needed]- **Shared by [optional]:** [More Information Needed]- **Model type:** [More Information Needed]- **Language(s) (NLP):** [More Information Needed]- **License:** [More Information Needed]- **Finetuned from model [optional]:** [More Information Needed]
### Model Sources [optional]
<!-- Provide the basic links for the model. -->
- **Repository:** [More Information Needed]- **Paper [optional]:** [More Information Needed]- **Demo [optional]:** [More Information Needed]
## Uses
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
### Direct Use
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
[More Information Needed]
### Downstream Use [optional]
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
[More Information Needed]
### Out-of-Scope Use
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
[More Information Needed]
## Bias, Risks, and Limitations
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
[More Information Needed]
### Recommendations
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
## How to Get Started with the Model
Use the code below to get started with the model.
[More Information Needed]
## Training Details
### Training Data
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
[More Information Needed]
### Training Procedure
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
#### Preprocessing [optional]
[More Information Needed]
#### Training Hyperparameters
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
#### Speeds, Sizes, Times [optional]
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
[More Information Needed]
## Evaluation
<!-- This section describes the evaluation protocols and provides the results. -->
### Testing Data, Factors & Metrics
#### Testing Data
<!-- This should link to a Dataset Card if possible. -->
[More Information Needed]
#### Factors
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
[More Information Needed]
#### Metrics
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
[More Information Needed]
### Results
[More Information Needed]
#### Summary
## Model Examination [optional]
<!-- Relevant interpretability work for the model goes here -->
[More Information Needed]
## Environmental Impact
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
- **Hardware Type:** [More Information Needed]- **Hours used:** [More Information Needed]- **Cloud Provider:** [More Information Needed]- **Compute Region:** [More Information Needed]- **Carbon Emitted:** [More Information Needed]
## Technical Specifications [optional]
### Model Architecture and Objective
[More Information Needed]
### Compute Infrastructure
[More Information Needed]
#### Hardware
[More Information Needed]
#### Software
[More Information Needed]
## Citation [optional]
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
**BibTeX:**
[More Information Needed]
**APA:**
[More Information Needed]
## Glossary [optional]
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
[More Information Needed]
## More Information [optional]
[More Information Needed]
## Model Card Authors [optional]
[More Information Needed]
## Model Card Contact
[More Information Needed]### Framework versions
- PEFT 0.15.2123456789101112131415161718192021222324252627282930313233343536373839{ "alpha_pattern": {}, "auto_mapping": null, "base_model_name_or_path": "ibm-granite/granite-3.3-8b-instruct", "bias": "none", "corda_config": null, "eva_config": null, "exclude_modules": null, "fan_in_fan_out": false, "inference_mode": true, "init_lora_weights": true, "layer_replication": null, "layers_pattern": null, "layers_to_transform": null, "loftq_config": {}, "lora_alpha": 16, "lora_bias": false, "lora_dropout": 0.1, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": null, "peft_type": "LORA", "r": 32, "rank_pattern": {}, "revision": null, "target_modules": [ "q_proj", "k_proj", "down_proj", "o_proj", "gate_proj", "v_proj", "up_proj" ], "task_type": "CAUSAL_LM", "trainable_token_indices": null, "use_dora": false, "use_rslora": false}123version https://git-lfs.github.com/spec/v1oid sha256:2950fd3d0458a07005b293e39398226721e5cef632387fd35b751893fd68b5c7size 395912984123456789{ "<|end_of_cite|>": 49156, "<|end_of_plugin|>": 49158, "<|end_of_role|>": 49153, "<|start_of_cite|>": 49155, "<|start_of_plugin|>": 49157, "<|start_of_role|>": 49152, "<|tool_call|>": 49154}123version https://git-lfs.github.com/spec/v1oid sha256:01e823f594349bdb36de7294be2f939e2cee4fd780afdb56ab468428cfbba9f4size 792148467123version https://git-lfs.github.com/spec/v1oid sha256:2a6d8e2ef978849a1f1c4c4a289f1e07bd9129a419b444a5c2f242edfb872fb7size 15173123version https://git-lfs.github.com/spec/v1oid sha256:73a48e13acdbf7120b5fafb92eb2e511f4219ca116702e88e0a753e4b4e74536size 15173123version https://git-lfs.github.com/spec/v1oid sha256:b805832676e0d21fa9217b0cab5995a8ad6994df2bb59c31b1a59607a7008de6size 15173123version https://git-lfs.github.com/spec/v1oid sha256:424755b5494adc5c2f757e98ba4ae1e8a1e2f36783c0fc67336778e50397db71size 1465123456789101112131415161718192021222324252627282930313233343536373839{ "additional_special_tokens": [ "<|start_of_role|>", "<|end_of_role|>", "<|tool_call|>", "<|start_of_cite|>", "<|end_of_cite|>", "<|start_of_plugin|>", "<|end_of_plugin|>" ], "bos_token": { "content": "<|end_of_text|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "<|end_of_text|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": { "content": "<|end_of_text|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "unk_token": { "content": "<|end_of_text|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236{ "add_bos_token": false, "add_prefix_space": false, "added_tokens_decoder": { "0": { "content": "<|end_of_text|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "1": { "content": "<fim_prefix>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "2": { "content": "<fim_middle>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "3": { "content": "<fim_suffix>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "4": { "content": "<fim_pad>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "5": { "content": "<filename>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "6": { "content": "<gh_stars>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "7": { "content": "<issue_start>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "8": { "content": "<issue_comment>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "9": { "content": "<issue_closed>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "10": { "content": "<jupyter_start>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "11": { "content": "<jupyter_text>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "12": { "content": "<jupyter_code>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "13": { "content": "<jupyter_output>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "14": { "content": "<empty_output>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "15": { "content": "<commit_before>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "16": { "content": "<commit_msg>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "17": { "content": "<commit_after>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "18": { "content": "<reponame>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "49152": { "content": "<|start_of_role|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "49153": { "content": "<|end_of_role|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "49154": { "content": "<|tool_call|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "49155": { "content": "<|start_of_cite|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "49156": { "content": "<|end_of_cite|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "49157": { "content": "<|start_of_plugin|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "49158": { "content": "<|end_of_plugin|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "additional_special_tokens": [ "<|start_of_role|>", "<|end_of_role|>", "<|tool_call|>", "<|start_of_cite|>", "<|end_of_cite|>", "<|start_of_plugin|>", "<|end_of_plugin|>" ], "bos_token": "<|end_of_text|>", "chat_template": "{# Alias tools -> available_tools #}\n{%- if tools and not available_tools -%}\n {%- set available_tools = tools -%}\n{%- endif -%}\n{%- if messages[0]['role'] == 'system' %}\n {%- set system_message = messages[0]['content'] %}\n {%- set loop_messages = messages[1:] %}\n {%- else %}\n {%- set system_message = \"Knowledge Cutoff Date: April 2024.\nToday's Date: \" + strftime_now('%B %d, %Y') + \".\nYou are Granite, developed by IBM.\" %}\n {%- if available_tools and documents %}\n {%- 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.\nWrite 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.\" %}\n {%- elif available_tools %}\n {%- 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.\" %}\n {%- elif documents %}\n {%- 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.\" %}\n {%- elif thinking %}\n {%- set system_message = system_message + \" You are a helpful AI assistant.\nRespond 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.\" %}\n {%- else %}\n {%- set system_message = system_message + \" You are a helpful AI assistant.\" %}\n {%- endif %}\n {%- if 'citations' in controls and documents %}\n {%- set system_message = system_message + '\nUse 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.' %}\n {%- endif %}\n {%- if 'hallucinations' in controls and documents %}\n {%- set system_message = system_message + '\nFinally, 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.' %}\n {%- endif %}\n {%- set loop_messages = messages %}\n {%- endif %}\n {{- '<|start_of_role|>system<|end_of_role|>' + system_message + '<|end_of_text|>\n' }}\n {%- if available_tools %}\n {{- '<|start_of_role|>available_tools<|end_of_role|>' }}\n {{- available_tools | tojson(indent=4) }}\n {{- '<|end_of_text|>\n' }}\n {%- endif %}\n {%- if documents %}\n {%- for document in documents %}\n {{- '<|start_of_role|>document {\"document_id\": \"' + document['doc_id'] | string + '\"}<|end_of_role|>\n' }}\n {{- document['text'] }}\n {{- '<|end_of_text|>\n' }}\n {%- endfor %}\n {%- endif %}\n {%- for message in loop_messages %}\n {{- '<|start_of_role|>' + message['role'] + '<|end_of_role|>' + message['content'] + '<|end_of_text|>\n' }}\n {%- if loop.last and add_generation_prompt %}\n {{- '<|start_of_role|>assistant' }}\n {%- if controls %}\n {{- ' ' + controls | tojson()}}\n {%- endif %}\n {{- '<|end_of_role|>' }}\n {%- endif %}\n {%- endfor %}", "clean_up_tokenization_spaces": true, "eos_token": "<|end_of_text|>", "errors": "replace", "extra_special_tokens": {}, "model_max_length": 9223372036854775807, "pad_token": "<|end_of_text|>", "padding_side": "right", "split_special_tokens": false, "tokenizer_class": "GPT2Tokenizer", "unk_token": "<|end_of_text|>", "vocab_size": 49152}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358{ "best_global_step": null, "best_metric": null, "best_model_checkpoint": null, "epoch": 8.790419161676647, "eval_steps": 500, "global_step": 369, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [ { "epoch": 0.23952095808383234, "grad_norm": 0.6599951386451721, "learning_rate": 7.500000000000001e-05, "loss": 1.1227, "step": 10 }, { "epoch": 0.47904191616766467, "grad_norm": 0.3134297728538513, "learning_rate": 9.990516643685222e-05, "loss": 0.6198, "step": 20 }, { "epoch": 0.718562874251497, "grad_norm": 0.31411099433898926, "learning_rate": 9.944154131125642e-05, "loss": 0.4961, "step": 30 }, { "epoch": 0.9580838323353293, "grad_norm": 0.2758181095123291, "learning_rate": 9.859528969650738e-05, "loss": 0.4349, "step": 40 }, { "epoch": 1.0, "eval_accuracy": 0.9055674652789968, "eval_loss": 0.3939231336116791, "eval_runtime": 34.0075, "eval_samples_per_second": 11.321, "eval_steps_per_second": 1.911, "step": 42 }, { "epoch": 1.1916167664670658, "grad_norm": 0.2843815088272095, "learning_rate": 9.737296070648186e-05, "loss": 0.3507, "step": 50 }, { "epoch": 1.4311377245508983, "grad_norm": 0.3070734441280365, "learning_rate": 9.57840139057007e-05, "loss": 0.3524, "step": 60 }, { "epoch": 1.6706586826347305, "grad_norm": 0.4232611358165741, "learning_rate": 9.384074610206495e-05, "loss": 0.357, "step": 70 }, { "epoch": 1.910179640718563, "grad_norm": 0.30136531591415405, "learning_rate": 9.155819618225708e-05, "loss": 0.2652, "step": 80 }, { "epoch": 2.0, "eval_accuracy": 0.9271648627710736, "eval_loss": 0.29773712158203125, "eval_runtime": 33.9022, "eval_samples_per_second": 11.356, "eval_steps_per_second": 1.917, "step": 84 }, { "epoch": 2.143712574850299, "grad_norm": 0.292621910572052, "learning_rate": 8.895402872628352e-05, "loss": 0.2932, "step": 90 }, { "epoch": 2.3832335329341316, "grad_norm": 0.32854172587394714, "learning_rate": 8.604839730186125e-05, "loss": 0.2338, "step": 100 }, { "epoch": 2.622754491017964, "grad_norm": 0.4840235412120819, "learning_rate": 8.286378849660896e-05, "loss": 0.266, "step": 110 }, { "epoch": 2.8622754491017965, "grad_norm": 0.4044960141181946, "learning_rate": 7.942484789507283e-05, "loss": 0.215, "step": 120 }, { "epoch": 3.0, "eval_accuracy": 0.9369269990688386, "eval_loss": 0.2550356090068817, "eval_runtime": 33.8759, "eval_samples_per_second": 11.365, "eval_steps_per_second": 1.919, "step": 126 }, { "epoch": 3.095808383233533, "grad_norm": 0.33432769775390625, "learning_rate": 7.57581893473448e-05, "loss": 0.2036, "step": 130 }, { "epoch": 3.3353293413173652, "grad_norm": 0.38244879245758057, "learning_rate": 7.18921890053375e-05, "loss": 0.1607, "step": 140 }, { "epoch": 3.5748502994011977, "grad_norm": 0.4296240508556366, "learning_rate": 6.785676572066225e-05, "loss": 0.1785, "step": 150 }, { "epoch": 3.81437125748503, "grad_norm": 0.47172796726226807, "learning_rate": 6.368314950360415e-05, "loss": 0.2215, "step": 160 }, { "epoch": 4.0, "eval_accuracy": 0.9431379888235244, "eval_loss": 0.23346135020256042, "eval_runtime": 33.8413, "eval_samples_per_second": 11.377, "eval_steps_per_second": 1.921, "step": 168 }, { "epoch": 4.047904191616767, "grad_norm": 0.32000893354415894, "learning_rate": 5.940363983508257e-05, "loss": 0.1491, "step": 170 }, { "epoch": 4.287425149700598, "grad_norm": 0.4597998857498169, "learning_rate": 5.5051355702012893e-05, "loss": 0.1478, "step": 180 }, { "epoch": 4.526946107784431, "grad_norm": 0.5424521565437317, "learning_rate": 5.0659979290537954e-05, "loss": 0.1245, "step": 190 }, { "epoch": 4.766467065868263, "grad_norm": 0.433849036693573, "learning_rate": 4.626349532067879e-05, "loss": 0.1218, "step": 200 }, { "epoch": 5.0, "grad_norm": 0.4479747712612152, "learning_rate": 4.189592803968563e-05, "loss": 0.1367, "step": 210 }, { "epoch": 5.0, "eval_accuracy": 0.946174871725565, "eval_loss": 0.22747232019901276, "eval_runtime": 33.9356, "eval_samples_per_second": 11.345, "eval_steps_per_second": 1.915, "step": 210 }, { "epoch": 5.2395209580838324, "grad_norm": 0.43904465436935425, "learning_rate": 3.759107790948882e-05, "loss": 0.0976, "step": 220 }, { "epoch": 5.479041916167665, "grad_norm": 0.4111030697822571, "learning_rate": 3.338226002601703e-05, "loss": 0.099, "step": 230 }, { "epoch": 5.718562874251497, "grad_norm": 0.44493556022644043, "learning_rate": 2.9302046294747497e-05, "loss": 0.0875, "step": 240 }, { "epoch": 5.95808383233533, "grad_norm": 0.47588449716567993, "learning_rate": 2.5382013357782893e-05, "loss": 0.1033, "step": 250 }, { "epoch": 6.0, "eval_accuracy": 0.9480128674164685, "eval_loss": 0.2333451360464096, "eval_runtime": 33.8321, "eval_samples_per_second": 11.38, "eval_steps_per_second": 1.921, "step": 252 }, { "epoch": 6.191616766467066, "grad_norm": 0.4177131652832031, "learning_rate": 2.1652498223239427e-05, "loss": 0.0766, "step": 260 }, { "epoch": 6.431137724550898, "grad_norm": 0.45009317994117737, "learning_rate": 1.814236348812211e-05, "loss": 0.094, "step": 270 }, { "epoch": 6.6706586826347305, "grad_norm": 0.5086281299591064, "learning_rate": 1.4878773971620074e-05, "loss": 0.0606, "step": 280 }, { "epoch": 6.910179640718563, "grad_norm": 0.4297720491886139, "learning_rate": 1.1886986487449475e-05, "loss": 0.0617, "step": 290 }, { "epoch": 7.0, "eval_accuracy": 0.9493654377729795, "eval_loss": 0.24343566596508026, "eval_runtime": 33.8884, "eval_samples_per_second": 11.361, "eval_steps_per_second": 1.918, "step": 294 }, { "epoch": 7.1437125748503, "grad_norm": 0.29749608039855957, "learning_rate": 9.190154382188921e-06, "loss": 0.0483, "step": 300 }, { "epoch": 7.383233532934132, "grad_norm": 0.28365468978881836, "learning_rate": 6.809148352279182e-06, "loss": 0.0471, "step": 310 }, { "epoch": 7.6227544910179645, "grad_norm": 0.296616792678833, "learning_rate": 4.762394926378477e-06, "loss": 0.0706, "step": 320 }, { "epoch": 7.862275449101796, "grad_norm": 0.2559482455253601, "learning_rate": 3.065733863053072e-06, "loss": 0.0564, "step": 330 }, { "epoch": 8.0, "eval_accuracy": 0.9497456075317338, "eval_loss": 0.253061980009079, "eval_runtime": 33.94, "eval_samples_per_second": 11.344, "eval_steps_per_second": 1.915, "step": 336 }, { "epoch": 8.095808383233534, "grad_norm": 0.30027979612350464, "learning_rate": 1.7322955673980678e-06, "loss": 0.0555, "step": 340 }, { "epoch": 8.335329341317365, "grad_norm": 0.29456067085266113, "learning_rate": 7.723994752570462e-07, "loss": 0.0552, "step": 350 }, { "epoch": 8.574850299401197, "grad_norm": 0.33900371193885803, "learning_rate": 1.9347419144180035e-07, "loss": 0.0384, "step": 360 } ], "logging_steps": 10, "max_steps": 369, "num_input_tokens_seen": 0, "num_train_epochs": 9, "save_steps": 500, "stateful_callbacks": { "TrainerControl": { "args": { "should_epoch_stop": false, "should_evaluate": false, "should_log": false, "should_save": true, "should_training_stop": true }, "attributes": {} } }, "total_flos": 3.618115695725773e+17, "train_batch_size": 2, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:4df1c5c14e27e66bb39c5dd5e4000b3188c1e5705981baf17c8fd406c4f864edsize 609712345678{ "epoch": 8.790419161676647, "eval_accuracy": 0.9495727484192179, "eval_loss": 0.25400951504707336, "eval_runtime": 33.9895, "eval_samples_per_second": 11.327, "eval_steps_per_second": 1.912}123version https://git-lfs.github.com/spec/v1oid sha256:18cebf0844a3748e101f5ca9861434022443e46c3e4d815f133fd307e238730asize 16267123version https://git-lfs.github.com/spec/v1oid sha256:3456d45a74ac41bcb5512673df67d54d9488fbb3506ac0236001dfba9363c6a8size 363123456789101112131415161718192021222324252627282930313233343536373839{ "additional_special_tokens": [ "<|start_of_role|>", "<|end_of_role|>", "<|tool_call|>", "<|start_of_cite|>", "<|end_of_cite|>", "<|start_of_plugin|>", "<|end_of_plugin|>" ], "bos_token": { "content": "<|end_of_text|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "<|end_of_text|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": { "content": "<|end_of_text|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "unk_token": { "content": "<|end_of_text|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236{ "add_bos_token": false, "add_prefix_space": false, "added_tokens_decoder": { "0": { "content": "<|end_of_text|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "1": { "content": "<fim_prefix>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "2": { "content": "<fim_middle>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "3": { "content": "<fim_suffix>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "4": { "content": "<fim_pad>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "5": { "content": "<filename>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "6": { "content": "<gh_stars>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "7": { "content": "<issue_start>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "8": { "content": "<issue_comment>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "9": { "content": "<issue_closed>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "10": { "content": "<jupyter_start>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "11": { "content": "<jupyter_text>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "12": { "content": "<jupyter_code>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "13": { "content": "<jupyter_output>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "14": { "content": "<empty_output>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "15": { "content": "<commit_before>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "16": { "content": "<commit_msg>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "17": { "content": "<commit_after>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "18": { "content": "<reponame>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "49152": { "content": "<|start_of_role|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "49153": { "content": "<|end_of_role|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "49154": { "content": "<|tool_call|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "49155": { "content": "<|start_of_cite|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "49156": { "content": "<|end_of_cite|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "49157": { "content": "<|start_of_plugin|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "49158": { "content": "<|end_of_plugin|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "additional_special_tokens": [ "<|start_of_role|>", "<|end_of_role|>", "<|tool_call|>", "<|start_of_cite|>", "<|end_of_cite|>", "<|start_of_plugin|>", "<|end_of_plugin|>" ], "bos_token": "<|end_of_text|>", "chat_template": "{# Alias tools -> available_tools #}\n{%- if tools and not available_tools -%}\n {%- set available_tools = tools -%}\n{%- endif -%}\n{%- if messages[0]['role'] == 'system' %}\n {%- set system_message = messages[0]['content'] %}\n {%- set loop_messages = messages[1:] %}\n {%- else %}\n {%- set system_message = \"Knowledge Cutoff Date: April 2024.\nToday's Date: \" + strftime_now('%B %d, %Y') + \".\nYou are Granite, developed by IBM.\" %}\n {%- if available_tools and documents %}\n {%- 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.\nWrite 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.\" %}\n {%- elif available_tools %}\n {%- 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.\" %}\n {%- elif documents %}\n {%- 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.\" %}\n {%- elif thinking %}\n {%- set system_message = system_message + \" You are a helpful AI assistant.\nRespond 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.\" %}\n {%- else %}\n {%- set system_message = system_message + \" You are a helpful AI assistant.\" %}\n {%- endif %}\n {%- if 'citations' in controls and documents %}\n {%- set system_message = system_message + '\nUse 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.' %}\n {%- endif %}\n {%- if 'hallucinations' in controls and documents %}\n {%- set system_message = system_message + '\nFinally, 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.' %}\n {%- endif %}\n {%- set loop_messages = messages %}\n {%- endif %}\n {{- '<|start_of_role|>system<|end_of_role|>' + system_message + '<|end_of_text|>\n' }}\n {%- if available_tools %}\n {{- '<|start_of_role|>available_tools<|end_of_role|>' }}\n {{- available_tools | tojson(indent=4) }}\n {{- '<|end_of_text|>\n' }}\n {%- endif %}\n {%- if documents %}\n {%- for document in documents %}\n {{- '<|start_of_role|>document {\"document_id\": \"' + document['doc_id'] | string + '\"}<|end_of_role|>\n' }}\n {{- document['text'] }}\n {{- '<|end_of_text|>\n' }}\n {%- endfor %}\n {%- endif %}\n {%- for message in loop_messages %}\n {{- '<|start_of_role|>' + message['role'] + '<|end_of_role|>' + message['content'] + '<|end_of_text|>\n' }}\n {%- if loop.last and add_generation_prompt %}\n {{- '<|start_of_role|>assistant' }}\n {%- if controls %}\n {{- ' ' + controls | tojson()}}\n {%- endif %}\n {{- '<|end_of_role|>' }}\n {%- endif %}\n {%- endfor %}", "clean_up_tokenization_spaces": true, "eos_token": "<|end_of_text|>", "errors": "replace", "extra_special_tokens": {}, "model_max_length": 9223372036854775807, "pad_token": "<|end_of_text|>", "padding_side": "right", "split_special_tokens": false, "tokenizer_class": "GPT2Tokenizer", "unk_token": "<|end_of_text|>", "vocab_size": 49152}12345678{ "epoch": 8.790419161676647, "total_flos": 3.618115695725773e+17, "train_loss": 0.2042977515113386, "train_runtime": 3121.1368, "train_samples_per_second": 2.884, "train_steps_per_second": 0.118}12345678910111213141516171819202122232425262728293031323334353637383940414243444546{"current_steps": 10, "total_steps": 369, "loss": 1.1227, "lr": 7.500000000000001e-05, "epoch": 0.23952095808383234, "percentage": 2.71, "elapsed_time": "0:01:15", "remaining_time": "0:45:18"}{"current_steps": 20, "total_steps": 369, "loss": 0.6198, "lr": 9.990516643685222e-05, "epoch": 0.47904191616766467, "percentage": 5.42, "elapsed_time": "0:02:30", "remaining_time": "0:43:37"}{"current_steps": 30, "total_steps": 369, "loss": 0.4961, "lr": 9.944154131125642e-05, "epoch": 0.718562874251497, "percentage": 8.13, "elapsed_time": "0:03:46", "remaining_time": "0:42:34"}{"current_steps": 40, "total_steps": 369, "loss": 0.4349, "lr": 9.859528969650738e-05, "epoch": 0.9580838323353293, "percentage": 10.84, "elapsed_time": "0:05:03", "remaining_time": "0:41:37"}{"current_steps": 42, "total_steps": 369, "eval_loss": 0.3939231336116791, "epoch": 1.0, "percentage": 11.38, "elapsed_time": "0:05:51", "remaining_time": "0:45:37"}{"current_steps": 50, "total_steps": 369, "loss": 0.3507, "lr": 9.737296070648186e-05, "epoch": 1.1916167664670658, "percentage": 13.55, "elapsed_time": "0:06:54", "remaining_time": "0:44:03"}{"current_steps": 60, "total_steps": 369, "loss": 0.3524, "lr": 9.57840139057007e-05, "epoch": 1.4311377245508983, "percentage": 16.26, "elapsed_time": "0:08:10", "remaining_time": "0:42:06"}{"current_steps": 70, "total_steps": 369, "loss": 0.357, "lr": 9.384074610206495e-05, "epoch": 1.6706586826347305, "percentage": 18.97, "elapsed_time": "0:09:27", "remaining_time": "0:40:24"}{"current_steps": 80, "total_steps": 369, "loss": 0.2652, "lr": 9.155819618225708e-05, "epoch": 1.910179640718563, "percentage": 21.68, "elapsed_time": "0:10:45", "remaining_time": "0:38:50"}{"current_steps": 84, "total_steps": 369, "eval_loss": 0.29773712158203125, "epoch": 2.0, "percentage": 22.76, "elapsed_time": "0:11:46", "remaining_time": "0:39:58"}{"current_steps": 90, "total_steps": 369, "loss": 0.2932, "lr": 8.895402872628352e-05, "epoch": 2.143712574850299, "percentage": 24.39, "elapsed_time": "0:12:33", "remaining_time": "0:38:57"}{"current_steps": 100, "total_steps": 369, "loss": 0.2338, "lr": 8.604839730186125e-05, "epoch": 2.3832335329341316, "percentage": 27.1, "elapsed_time": "0:13:50", "remaining_time": "0:37:13"}{"current_steps": 110, "total_steps": 369, "loss": 0.266, "lr": 8.286378849660896e-05, "epoch": 2.622754491017964, "percentage": 29.81, "elapsed_time": "0:15:07", "remaining_time": "0:35:35"}{"current_steps": 120, "total_steps": 369, "loss": 0.215, "lr": 7.942484789507283e-05, "epoch": 2.8622754491017965, "percentage": 32.52, "elapsed_time": "0:16:23", "remaining_time": "0:34:00"}{"current_steps": 126, "total_steps": 369, "eval_loss": 0.2550356090068817, "epoch": 3.0, "percentage": 34.15, "elapsed_time": "0:17:40", "remaining_time": "0:34:05"}{"current_steps": 130, "total_steps": 369, "loss": 0.2036, "lr": 7.57581893473448e-05, "epoch": 3.095808383233533, "percentage": 35.23, "elapsed_time": "0:18:11", "remaining_time": "0:33:26"}{"current_steps": 140, "total_steps": 369, "loss": 0.1607, "lr": 7.18921890053375e-05, "epoch": 3.3353293413173652, "percentage": 37.94, "elapsed_time": "0:19:28", "remaining_time": "0:31:50"}{"current_steps": 150, "total_steps": 369, "loss": 0.1785, "lr": 6.785676572066225e-05, "epoch": 3.5748502994011977, "percentage": 40.65, "elapsed_time": "0:20:45", "remaining_time": "0:30:18"}{"current_steps": 160, "total_steps": 369, "loss": 0.2215, "lr": 6.368314950360415e-05, "epoch": 3.81437125748503, "percentage": 43.36, "elapsed_time": "0:22:00", "remaining_time": "0:28:44"}{"current_steps": 168, "total_steps": 369, "eval_loss": 0.23346135020256042, "epoch": 4.0, "percentage": 45.53, "elapsed_time": "0:23:34", "remaining_time": "0:28:12"}{"current_steps": 170, "total_steps": 369, "loss": 0.1491, "lr": 5.940363983508257e-05, "epoch": 4.047904191616767, "percentage": 46.07, "elapsed_time": "0:23:50", "remaining_time": "0:27:54"}{"current_steps": 180, "total_steps": 369, "loss": 0.1478, "lr": 5.5051355702012893e-05, "epoch": 4.287425149700598, "percentage": 48.78, "elapsed_time": "0:25:07", "remaining_time": "0:26:23"}{"current_steps": 190, "total_steps": 369, "loss": 0.1245, "lr": 5.0659979290537954e-05, "epoch": 4.526946107784431, "percentage": 51.49, "elapsed_time": "0:26:23", "remaining_time": "0:24:51"}{"current_steps": 200, "total_steps": 369, "loss": 0.1218, "lr": 4.626349532067879e-05, "epoch": 4.766467065868263, "percentage": 54.2, "elapsed_time": "0:27:39", "remaining_time": "0:23:22"}{"current_steps": 210, "total_steps": 369, "loss": 0.1367, "lr": 4.189592803968563e-05, "epoch": 5.0, "percentage": 56.91, "elapsed_time": "0:28:53", "remaining_time": "0:21:52"}{"current_steps": 210, "total_steps": 369, "eval_loss": 0.22747232019901276, "epoch": 5.0, "percentage": 56.91, "elapsed_time": "0:29:27", "remaining_time": "0:22:18"}{"current_steps": 220, "total_steps": 369, "loss": 0.0976, "lr": 3.759107790948882e-05, "epoch": 5.2395209580838324, "percentage": 59.62, "elapsed_time": "0:30:44", "remaining_time": "0:20:49"}{"current_steps": 230, "total_steps": 369, "loss": 0.099, "lr": 3.338226002601703e-05, "epoch": 5.479041916167665, "percentage": 62.33, "elapsed_time": "0:32:01", "remaining_time": "0:19:21"}{"current_steps": 240, "total_steps": 369, "loss": 0.0875, "lr": 2.9302046294747497e-05, "epoch": 5.718562874251497, "percentage": 65.04, "elapsed_time": "0:33:15", "remaining_time": "0:17:52"}{"current_steps": 250, "total_steps": 369, "loss": 0.1033, "lr": 2.5382013357782893e-05, "epoch": 5.95808383233533, "percentage": 67.75, "elapsed_time": "0:34:32", "remaining_time": "0:16:26"}{"current_steps": 252, "total_steps": 369, "eval_loss": 0.2333451360464096, "epoch": 6.0, "percentage": 68.29, "elapsed_time": "0:35:19", "remaining_time": "0:16:24"}{"current_steps": 260, "total_steps": 369, "loss": 0.0766, "lr": 2.1652498223239427e-05, "epoch": 6.191616766467066, "percentage": 70.46, "elapsed_time": "0:36:21", "remaining_time": "0:15:14"}{"current_steps": 270, "total_steps": 369, "loss": 0.094, "lr": 1.814236348812211e-05, "epoch": 6.431137724550898, "percentage": 73.17, "elapsed_time": "0:37:40", "remaining_time": "0:13:48"}{"current_steps": 280, "total_steps": 369, "loss": 0.0606, "lr": 1.4878773971620074e-05, "epoch": 6.6706586826347305, "percentage": 75.88, "elapsed_time": "0:38:54", "remaining_time": "0:12:22"}{"current_steps": 290, "total_steps": 369, "loss": 0.0617, "lr": 1.1886986487449475e-05, "epoch": 6.910179640718563, "percentage": 78.59, "elapsed_time": "0:40:10", "remaining_time": "0:10:56"}{"current_steps": 294, "total_steps": 369, "eval_loss": 0.24343566596508026, "epoch": 7.0, "percentage": 79.67, "elapsed_time": "0:41:12", "remaining_time": "0:10:30"}{"current_steps": 300, "total_steps": 369, "loss": 0.0483, "lr": 9.190154382188921e-06, "epoch": 7.1437125748503, "percentage": 81.3, "elapsed_time": "0:41:59", "remaining_time": "0:09:39"}{"current_steps": 310, "total_steps": 369, "loss": 0.0471, "lr": 6.809148352279182e-06, "epoch": 7.383233532934132, "percentage": 84.01, "elapsed_time": "0:43:16", "remaining_time": "0:08:14"}{"current_steps": 320, "total_steps": 369, "loss": 0.0706, "lr": 4.762394926378477e-06, "epoch": 7.6227544910179645, "percentage": 86.72, "elapsed_time": "0:44:33", "remaining_time": "0:06:49"}{"current_steps": 330, "total_steps": 369, "loss": 0.0564, "lr": 3.065733863053072e-06, "epoch": 7.862275449101796, "percentage": 89.43, "elapsed_time": "0:45:51", "remaining_time": "0:05:25"}{"current_steps": 336, "total_steps": 369, "eval_loss": 0.253061980009079, "epoch": 8.0, "percentage": 91.06, "elapsed_time": "0:47:09", "remaining_time": "0:04:37"}{"current_steps": 340, "total_steps": 369, "loss": 0.0555, "lr": 1.7322955673980678e-06, "epoch": 8.095808383233534, "percentage": 92.14, "elapsed_time": "0:47:39", "remaining_time": "0:04:03"}{"current_steps": 350, "total_steps": 369, "loss": 0.0552, "lr": 7.723994752570462e-07, "epoch": 8.335329341317365, "percentage": 94.85, "elapsed_time": "0:48:56", "remaining_time": "0:02:39"}{"current_steps": 360, "total_steps": 369, "loss": 0.0384, "lr": 1.9347419144180035e-07, "epoch": 8.574850299401197, "percentage": 97.56, "elapsed_time": "0:50:11", "remaining_time": "0:01:15"}{"current_steps": 369, "total_steps": 369, "eval_loss": 0.25400951504707336, "epoch": 8.790419161676647, "percentage": 100.0, "elapsed_time": "0:51:57", "remaining_time": "0:00:00"}{"current_steps": 369, "total_steps": 369, "epoch": 8.790419161676647, "percentage": 100.0, "elapsed_time": "0:51:57", "remaining_time": "0:00:00"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376{ "best_global_step": null, "best_metric": null, "best_model_checkpoint": null, "epoch": 8.790419161676647, "eval_steps": 500, "global_step": 369, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [ { "epoch": 0.23952095808383234, "grad_norm": 0.6599951386451721, "learning_rate": 7.500000000000001e-05, "loss": 1.1227, "step": 10 }, { "epoch": 0.47904191616766467, "grad_norm": 0.3134297728538513, "learning_rate": 9.990516643685222e-05, "loss": 0.6198, "step": 20 }, { "epoch": 0.718562874251497, "grad_norm": 0.31411099433898926, "learning_rate": 9.944154131125642e-05, "loss": 0.4961, "step": 30 }, { "epoch": 0.9580838323353293, "grad_norm": 0.2758181095123291, "learning_rate": 9.859528969650738e-05, "loss": 0.4349, "step": 40 }, { "epoch": 1.0, "eval_accuracy": 0.9055674652789968, "eval_loss": 0.3939231336116791, "eval_runtime": 34.0075, "eval_samples_per_second": 11.321, "eval_steps_per_second": 1.911, "step": 42 }, { "epoch": 1.1916167664670658, "grad_norm": 0.2843815088272095, "learning_rate": 9.737296070648186e-05, "loss": 0.3507, "step": 50 }, { "epoch": 1.4311377245508983, "grad_norm": 0.3070734441280365, "learning_rate": 9.57840139057007e-05, "loss": 0.3524, "step": 60 }, { "epoch": 1.6706586826347305, "grad_norm": 0.4232611358165741, "learning_rate": 9.384074610206495e-05, "loss": 0.357, "step": 70 }, { "epoch": 1.910179640718563, "grad_norm": 0.30136531591415405, "learning_rate": 9.155819618225708e-05, "loss": 0.2652, "step": 80 }, { "epoch": 2.0, "eval_accuracy": 0.9271648627710736, "eval_loss": 0.29773712158203125, "eval_runtime": 33.9022, "eval_samples_per_second": 11.356, "eval_steps_per_second": 1.917, "step": 84 }, { "epoch": 2.143712574850299, "grad_norm": 0.292621910572052, "learning_rate": 8.895402872628352e-05, "loss": 0.2932, "step": 90 }, { "epoch": 2.3832335329341316, "grad_norm": 0.32854172587394714, "learning_rate": 8.604839730186125e-05, "loss": 0.2338, "step": 100 }, { "epoch": 2.622754491017964, "grad_norm": 0.4840235412120819, "learning_rate": 8.286378849660896e-05, "loss": 0.266, "step": 110 }, { "epoch": 2.8622754491017965, "grad_norm": 0.4044960141181946, "learning_rate": 7.942484789507283e-05, "loss": 0.215, "step": 120 }, { "epoch": 3.0, "eval_accuracy": 0.9369269990688386, "eval_loss": 0.2550356090068817, "eval_runtime": 33.8759, "eval_samples_per_second": 11.365, "eval_steps_per_second": 1.919, "step": 126 }, { "epoch": 3.095808383233533, "grad_norm": 0.33432769775390625, "learning_rate": 7.57581893473448e-05, "loss": 0.2036, "step": 130 }, { "epoch": 3.3353293413173652, "grad_norm": 0.38244879245758057, "learning_rate": 7.18921890053375e-05, "loss": 0.1607, "step": 140 }, { "epoch": 3.5748502994011977, "grad_norm": 0.4296240508556366, "learning_rate": 6.785676572066225e-05, "loss": 0.1785, "step": 150 }, { "epoch": 3.81437125748503, "grad_norm": 0.47172796726226807, "learning_rate": 6.368314950360415e-05, "loss": 0.2215, "step": 160 }, { "epoch": 4.0, "eval_accuracy": 0.9431379888235244, "eval_loss": 0.23346135020256042, "eval_runtime": 33.8413, "eval_samples_per_second": 11.377, "eval_steps_per_second": 1.921, "step": 168 }, { "epoch": 4.047904191616767, "grad_norm": 0.32000893354415894, "learning_rate": 5.940363983508257e-05, "loss": 0.1491, "step": 170 }, { "epoch": 4.287425149700598, "grad_norm": 0.4597998857498169, "learning_rate": 5.5051355702012893e-05, "loss": 0.1478, "step": 180 }, { "epoch": 4.526946107784431, "grad_norm": 0.5424521565437317, "learning_rate": 5.0659979290537954e-05, "loss": 0.1245, "step": 190 }, { "epoch": 4.766467065868263, "grad_norm": 0.433849036693573, "learning_rate": 4.626349532067879e-05, "loss": 0.1218, "step": 200 }, { "epoch": 5.0, "grad_norm": 0.4479747712612152, "learning_rate": 4.189592803968563e-05, "loss": 0.1367, "step": 210 }, { "epoch": 5.0, "eval_accuracy": 0.946174871725565, "eval_loss": 0.22747232019901276, "eval_runtime": 33.9356, "eval_samples_per_second": 11.345, "eval_steps_per_second": 1.915, "step": 210 }, { "epoch": 5.2395209580838324, "grad_norm": 0.43904465436935425, "learning_rate": 3.759107790948882e-05, "loss": 0.0976, "step": 220 }, { "epoch": 5.479041916167665, "grad_norm": 0.4111030697822571, "learning_rate": 3.338226002601703e-05, "loss": 0.099, "step": 230 }, { "epoch": 5.718562874251497, "grad_norm": 0.44493556022644043, "learning_rate": 2.9302046294747497e-05, "loss": 0.0875, "step": 240 }, { "epoch": 5.95808383233533, "grad_norm": 0.47588449716567993, "learning_rate": 2.5382013357782893e-05, "loss": 0.1033, "step": 250 }, { "epoch": 6.0, "eval_accuracy": 0.9480128674164685, "eval_loss": 0.2333451360464096, "eval_runtime": 33.8321, "eval_samples_per_second": 11.38, "eval_steps_per_second": 1.921, "step": 252 }, { "epoch": 6.191616766467066, "grad_norm": 0.4177131652832031, "learning_rate": 2.1652498223239427e-05, "loss": 0.0766, "step": 260 }, { "epoch": 6.431137724550898, "grad_norm": 0.45009317994117737, "learning_rate": 1.814236348812211e-05, "loss": 0.094, "step": 270 }, { "epoch": 6.6706586826347305, "grad_norm": 0.5086281299591064, "learning_rate": 1.4878773971620074e-05, "loss": 0.0606, "step": 280 }, { "epoch": 6.910179640718563, "grad_norm": 0.4297720491886139, "learning_rate": 1.1886986487449475e-05, "loss": 0.0617, "step": 290 }, { "epoch": 7.0, "eval_accuracy": 0.9493654377729795, "eval_loss": 0.24343566596508026, "eval_runtime": 33.8884, "eval_samples_per_second": 11.361, "eval_steps_per_second": 1.918, "step": 294 }, { "epoch": 7.1437125748503, "grad_norm": 0.29749608039855957, "learning_rate": 9.190154382188921e-06, "loss": 0.0483, "step": 300 }, { "epoch": 7.383233532934132, "grad_norm": 0.28365468978881836, "learning_rate": 6.809148352279182e-06, "loss": 0.0471, "step": 310 }, { "epoch": 7.6227544910179645, "grad_norm": 0.296616792678833, "learning_rate": 4.762394926378477e-06, "loss": 0.0706, "step": 320 }, { "epoch": 7.862275449101796, "grad_norm": 0.2559482455253601, "learning_rate": 3.065733863053072e-06, "loss": 0.0564, "step": 330 }, { "epoch": 8.0, "eval_accuracy": 0.9497456075317338, "eval_loss": 0.253061980009079, "eval_runtime": 33.94, "eval_samples_per_second": 11.344, "eval_steps_per_second": 1.915, "step": 336 }, { "epoch": 8.095808383233534, "grad_norm": 0.30027979612350464, "learning_rate": 1.7322955673980678e-06, "loss": 0.0555, "step": 340 }, { "epoch": 8.335329341317365, "grad_norm": 0.29456067085266113, "learning_rate": 7.723994752570462e-07, "loss": 0.0552, "step": 350 }, { "epoch": 8.574850299401197, "grad_norm": 0.33900371193885803, "learning_rate": 1.9347419144180035e-07, "loss": 0.0384, "step": 360 }, { "epoch": 8.790419161676647, "eval_accuracy": 0.9495727484192179, "eval_loss": 0.25400951504707336, "eval_runtime": 33.8666, "eval_samples_per_second": 11.368, "eval_steps_per_second": 1.919, "step": 369 }, { "epoch": 8.790419161676647, "step": 369, "total_flos": 3.618115695725773e+17, "train_loss": 0.2042977515113386, "train_runtime": 3121.1368, "train_samples_per_second": 2.884, "train_steps_per_second": 0.118 } ], "logging_steps": 10, "max_steps": 369, "num_input_tokens_seen": 0, "num_train_epochs": 9, "save_steps": 500, "stateful_callbacks": { "TrainerControl": { "args": { "should_epoch_stop": false, "should_evaluate": false, "should_log": false, "should_save": true, "should_training_stop": true }, "attributes": {} } }, "total_flos": 3.618115695725773e+17, "train_batch_size": 2, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:4df1c5c14e27e66bb39c5dd5e4000b3188c1e5705981baf17c8fd406c4f864edsize 6097README.md+78-3
adapter_config.jsonAdded+39
adapter_model.safetensorsAdded+3
added_tokens.jsonAdded+9
all_results.jsonAdded+13
checkpoint-369/README.mdAdded+202
checkpoint-369/adapter_config.jsonAdded+39
checkpoint-369/adapter_model.safetensorsAdded+3
checkpoint-369/added_tokens.jsonAdded+9
checkpoint-369/merges.txtAdded
checkpoint-369/optimizer.ptAdded+3
checkpoint-369/rng_state_0.pthAdded+3
checkpoint-369/rng_state_1.pthAdded+3
checkpoint-369/rng_state_2.pthAdded+3
checkpoint-369/scheduler.ptAdded+3
checkpoint-369/special_tokens_map.jsonAdded+39
checkpoint-369/tokenizer.jsonAdded
checkpoint-369/tokenizer_config.jsonAdded+236
checkpoint-369/trainer_state.jsonAdded+358
checkpoint-369/training_args.binAdded+3
checkpoint-369/vocab.jsonAdded
eval_results.jsonAdded+8
merges.txtAdded
runs/Aug01_12-31-04_pan/events.out.tfevents.1754066012.panAdded+3
runs/Aug01_12-31-04_pan/events.out.tfevents.1754069165.panAdded+3
special_tokens_map.jsonAdded+39
tokenizer.jsonAdded
tokenizer_config.jsonAdded+236
train_results.jsonAdded+8
trainer_log.jsonlAdded+46
trainer_state.jsonAdded+376
training_args.binAdded+3
training_eval_accuracy.pngAdded

training_eval_loss.pngAdded

training_loss.pngAdded

vocab.jsonAdded