Text Generation
GGUF
Safetensors
English
Hindi
gemma
gemma-3
gemma-4
finetune
distillation
on-device
android
llama-cpp
transaction-parsing
json-output
structured-output
voice-input
expense-tracking
code-mixed
hinglish
Eval Results (legacy)
conversational
Instructions to use kartikey31/txn-parser with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use kartikey31/txn-parser with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="kartikey31/txn-parser", filename="student/gguf/gemma-3-270m-it.BF16.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use kartikey31/txn-parser with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf kartikey31/txn-parser:Q4_K_M # Run inference directly in the terminal: llama-cli -hf kartikey31/txn-parser:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf kartikey31/txn-parser:Q4_K_M # Run inference directly in the terminal: llama-cli -hf kartikey31/txn-parser:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf kartikey31/txn-parser:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf kartikey31/txn-parser:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf kartikey31/txn-parser:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf kartikey31/txn-parser:Q4_K_M
Use Docker
docker model run hf.co/kartikey31/txn-parser:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use kartikey31/txn-parser with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "kartikey31/txn-parser" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kartikey31/txn-parser", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/kartikey31/txn-parser:Q4_K_M
- Ollama
How to use kartikey31/txn-parser with Ollama:
ollama run hf.co/kartikey31/txn-parser:Q4_K_M
- Unsloth Studio new
How to use kartikey31/txn-parser with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for kartikey31/txn-parser to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for kartikey31/txn-parser to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for kartikey31/txn-parser to start chatting
- Docker Model Runner
How to use kartikey31/txn-parser with Docker Model Runner:
docker model run hf.co/kartikey31/txn-parser:Q4_K_M
- Lemonade
How to use kartikey31/txn-parser with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull kartikey31/txn-parser:Q4_K_M
Run and chat with the model
lemonade run user.txn-parser-Q4_K_M
List all available models
lemonade list
Upload folder using huggingface_hub
Browse files- .gitattributes +3 -0
- student/adapters/README.md +210 -0
- student/adapters/adapter_config.json +52 -0
- student/adapters/adapter_model.safetensors +3 -0
- student/adapters/chat_template.jinja +50 -0
- student/adapters/tokenizer.json +3 -0
- student/adapters/tokenizer.model +3 -0
- student/adapters/tokenizer_config.json +0 -0
- student/checkpoints/README.md +59 -0
- student/checkpoints/checkpoint-468/README.md +210 -0
- student/checkpoints/checkpoint-468/adapter_config.json +52 -0
- student/checkpoints/checkpoint-468/adapter_model.safetensors +3 -0
- student/checkpoints/checkpoint-468/chat_template.jinja +50 -0
- student/checkpoints/checkpoint-468/optimizer.pt +3 -0
- student/checkpoints/checkpoint-468/rng_state.pth +3 -0
- student/checkpoints/checkpoint-468/scheduler.pt +3 -0
- student/checkpoints/checkpoint-468/tokenizer.json +3 -0
- student/checkpoints/checkpoint-468/tokenizer.model +3 -0
- student/checkpoints/checkpoint-468/tokenizer_config.json +0 -0
- student/checkpoints/checkpoint-468/trainer_state.json +436 -0
- student/checkpoints/checkpoint-468/training_args.bin +3 -0
- student/gguf/gemma-3-270m-it.Q4_K_M.gguf +3 -0
.gitattributes
CHANGED
|
@@ -38,3 +38,6 @@ teacher/checkpoints/checkpoint-400/tokenizer.json filter=lfs diff=lfs merge=lfs
|
|
| 38 |
teacher/checkpoints/checkpoint-507/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 39 |
teacher/gguf/gemma-4-e2b-it.BF16-mmproj.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
teacher/gguf/gemma-4-e2b-it.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
teacher/checkpoints/checkpoint-507/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 39 |
teacher/gguf/gemma-4-e2b-it.BF16-mmproj.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
teacher/gguf/gemma-4-e2b-it.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
student/adapters/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
student/checkpoints/checkpoint-468/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
student/gguf/gemma-3-270m-it.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
student/adapters/README.md
ADDED
|
@@ -0,0 +1,210 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: unsloth/gemma-3-270m-it-unsloth-bnb-4bit
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:unsloth/gemma-3-270m-it-unsloth-bnb-4bit
|
| 7 |
+
- lora
|
| 8 |
+
- sft
|
| 9 |
+
- transformers
|
| 10 |
+
- trl
|
| 11 |
+
- unsloth
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Model Card for Model ID
|
| 15 |
+
|
| 16 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
## Model Details
|
| 21 |
+
|
| 22 |
+
### Model Description
|
| 23 |
+
|
| 24 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
- **Developed by:** [More Information Needed]
|
| 29 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 30 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 31 |
+
- **Model type:** [More Information Needed]
|
| 32 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 33 |
+
- **License:** [More Information Needed]
|
| 34 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 35 |
+
|
| 36 |
+
### Model Sources [optional]
|
| 37 |
+
|
| 38 |
+
<!-- Provide the basic links for the model. -->
|
| 39 |
+
|
| 40 |
+
- **Repository:** [More Information Needed]
|
| 41 |
+
- **Paper [optional]:** [More Information Needed]
|
| 42 |
+
- **Demo [optional]:** [More Information Needed]
|
| 43 |
+
|
| 44 |
+
## Uses
|
| 45 |
+
|
| 46 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 47 |
+
|
| 48 |
+
### Direct Use
|
| 49 |
+
|
| 50 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 51 |
+
|
| 52 |
+
[More Information Needed]
|
| 53 |
+
|
| 54 |
+
### Downstream Use [optional]
|
| 55 |
+
|
| 56 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 57 |
+
|
| 58 |
+
[More Information Needed]
|
| 59 |
+
|
| 60 |
+
### Out-of-Scope Use
|
| 61 |
+
|
| 62 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 63 |
+
|
| 64 |
+
[More Information Needed]
|
| 65 |
+
|
| 66 |
+
## Bias, Risks, and Limitations
|
| 67 |
+
|
| 68 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 69 |
+
|
| 70 |
+
[More Information Needed]
|
| 71 |
+
|
| 72 |
+
### Recommendations
|
| 73 |
+
|
| 74 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 75 |
+
|
| 76 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 77 |
+
|
| 78 |
+
## How to Get Started with the Model
|
| 79 |
+
|
| 80 |
+
Use the code below to get started with the model.
|
| 81 |
+
|
| 82 |
+
[More Information Needed]
|
| 83 |
+
|
| 84 |
+
## Training Details
|
| 85 |
+
|
| 86 |
+
### Training Data
|
| 87 |
+
|
| 88 |
+
<!-- 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. -->
|
| 89 |
+
|
| 90 |
+
[More Information Needed]
|
| 91 |
+
|
| 92 |
+
### Training Procedure
|
| 93 |
+
|
| 94 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 95 |
+
|
| 96 |
+
#### Preprocessing [optional]
|
| 97 |
+
|
| 98 |
+
[More Information Needed]
|
| 99 |
+
|
| 100 |
+
|
| 101 |
+
#### Training Hyperparameters
|
| 102 |
+
|
| 103 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 104 |
+
|
| 105 |
+
#### Speeds, Sizes, Times [optional]
|
| 106 |
+
|
| 107 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 108 |
+
|
| 109 |
+
[More Information Needed]
|
| 110 |
+
|
| 111 |
+
## Evaluation
|
| 112 |
+
|
| 113 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 114 |
+
|
| 115 |
+
### Testing Data, Factors & Metrics
|
| 116 |
+
|
| 117 |
+
#### Testing Data
|
| 118 |
+
|
| 119 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 120 |
+
|
| 121 |
+
[More Information Needed]
|
| 122 |
+
|
| 123 |
+
#### Factors
|
| 124 |
+
|
| 125 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 126 |
+
|
| 127 |
+
[More Information Needed]
|
| 128 |
+
|
| 129 |
+
#### Metrics
|
| 130 |
+
|
| 131 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 132 |
+
|
| 133 |
+
[More Information Needed]
|
| 134 |
+
|
| 135 |
+
### Results
|
| 136 |
+
|
| 137 |
+
[More Information Needed]
|
| 138 |
+
|
| 139 |
+
#### Summary
|
| 140 |
+
|
| 141 |
+
|
| 142 |
+
|
| 143 |
+
## Model Examination [optional]
|
| 144 |
+
|
| 145 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 146 |
+
|
| 147 |
+
[More Information Needed]
|
| 148 |
+
|
| 149 |
+
## Environmental Impact
|
| 150 |
+
|
| 151 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 152 |
+
|
| 153 |
+
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).
|
| 154 |
+
|
| 155 |
+
- **Hardware Type:** [More Information Needed]
|
| 156 |
+
- **Hours used:** [More Information Needed]
|
| 157 |
+
- **Cloud Provider:** [More Information Needed]
|
| 158 |
+
- **Compute Region:** [More Information Needed]
|
| 159 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 160 |
+
|
| 161 |
+
## Technical Specifications [optional]
|
| 162 |
+
|
| 163 |
+
### Model Architecture and Objective
|
| 164 |
+
|
| 165 |
+
[More Information Needed]
|
| 166 |
+
|
| 167 |
+
### Compute Infrastructure
|
| 168 |
+
|
| 169 |
+
[More Information Needed]
|
| 170 |
+
|
| 171 |
+
#### Hardware
|
| 172 |
+
|
| 173 |
+
[More Information Needed]
|
| 174 |
+
|
| 175 |
+
#### Software
|
| 176 |
+
|
| 177 |
+
[More Information Needed]
|
| 178 |
+
|
| 179 |
+
## Citation [optional]
|
| 180 |
+
|
| 181 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 182 |
+
|
| 183 |
+
**BibTeX:**
|
| 184 |
+
|
| 185 |
+
[More Information Needed]
|
| 186 |
+
|
| 187 |
+
**APA:**
|
| 188 |
+
|
| 189 |
+
[More Information Needed]
|
| 190 |
+
|
| 191 |
+
## Glossary [optional]
|
| 192 |
+
|
| 193 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 194 |
+
|
| 195 |
+
[More Information Needed]
|
| 196 |
+
|
| 197 |
+
## More Information [optional]
|
| 198 |
+
|
| 199 |
+
[More Information Needed]
|
| 200 |
+
|
| 201 |
+
## Model Card Authors [optional]
|
| 202 |
+
|
| 203 |
+
[More Information Needed]
|
| 204 |
+
|
| 205 |
+
## Model Card Contact
|
| 206 |
+
|
| 207 |
+
[More Information Needed]
|
| 208 |
+
### Framework versions
|
| 209 |
+
|
| 210 |
+
- PEFT 0.19.1
|
student/adapters/adapter_config.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": {
|
| 6 |
+
"base_model_class": "Gemma3ForCausalLM",
|
| 7 |
+
"parent_library": "transformers.models.gemma3.modeling_gemma3",
|
| 8 |
+
"unsloth_fixed": true
|
| 9 |
+
},
|
| 10 |
+
"base_model_name_or_path": "unsloth/gemma-3-270m-it-unsloth-bnb-4bit",
|
| 11 |
+
"bias": "none",
|
| 12 |
+
"corda_config": null,
|
| 13 |
+
"ensure_weight_tying": false,
|
| 14 |
+
"eva_config": null,
|
| 15 |
+
"exclude_modules": null,
|
| 16 |
+
"fan_in_fan_out": false,
|
| 17 |
+
"inference_mode": true,
|
| 18 |
+
"init_lora_weights": true,
|
| 19 |
+
"layer_replication": null,
|
| 20 |
+
"layers_pattern": null,
|
| 21 |
+
"layers_to_transform": null,
|
| 22 |
+
"loftq_config": {},
|
| 23 |
+
"lora_alpha": 64,
|
| 24 |
+
"lora_bias": false,
|
| 25 |
+
"lora_dropout": 0.0,
|
| 26 |
+
"lora_ga_config": null,
|
| 27 |
+
"megatron_config": null,
|
| 28 |
+
"megatron_core": "megatron.core",
|
| 29 |
+
"modules_to_save": null,
|
| 30 |
+
"peft_type": "LORA",
|
| 31 |
+
"peft_version": "0.19.1",
|
| 32 |
+
"qalora_group_size": 16,
|
| 33 |
+
"r": 32,
|
| 34 |
+
"rank_pattern": {},
|
| 35 |
+
"revision": null,
|
| 36 |
+
"target_modules": [
|
| 37 |
+
"o_proj",
|
| 38 |
+
"v_proj",
|
| 39 |
+
"k_proj",
|
| 40 |
+
"down_proj",
|
| 41 |
+
"gate_proj",
|
| 42 |
+
"up_proj",
|
| 43 |
+
"q_proj"
|
| 44 |
+
],
|
| 45 |
+
"target_parameters": null,
|
| 46 |
+
"task_type": "CAUSAL_LM",
|
| 47 |
+
"trainable_token_indices": null,
|
| 48 |
+
"use_bdlora": null,
|
| 49 |
+
"use_dora": false,
|
| 50 |
+
"use_qalora": false,
|
| 51 |
+
"use_rslora": false
|
| 52 |
+
}
|
student/adapters/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a1802edb2c96dd579138078fbd9b7aba0019debc2b582a173784942567449e6e
|
| 3 |
+
size 30409120
|
student/adapters/chat_template.jinja
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{# Unsloth Chat template fixes #}
|
| 2 |
+
{{ bos_token }}
|
| 3 |
+
{%- if messages[0]['role'] == 'system' -%}
|
| 4 |
+
{%- if messages[0]['content'] is string -%}
|
| 5 |
+
{%- set first_user_prefix = messages[0]['content'] + '
|
| 6 |
+
|
| 7 |
+
' -%}
|
| 8 |
+
{%- else -%}
|
| 9 |
+
{%- set first_user_prefix = messages[0]['content'][0]['text'] + '
|
| 10 |
+
|
| 11 |
+
' -%}
|
| 12 |
+
{%- endif -%}
|
| 13 |
+
{%- set loop_messages = messages[1:] -%}
|
| 14 |
+
{%- else -%}
|
| 15 |
+
{%- set first_user_prefix = "" -%}
|
| 16 |
+
{%- set loop_messages = messages -%}
|
| 17 |
+
{%- endif -%}
|
| 18 |
+
{%- for message in loop_messages -%}
|
| 19 |
+
{%- if (message['role'] == 'user') != (loop.index0 % 2 == 0) -%}
|
| 20 |
+
{{ raise_exception("Conversation roles must alternate user/assistant/user/assistant/...") }}
|
| 21 |
+
{%- endif -%}
|
| 22 |
+
{%- if (message['role'] == 'assistant') -%}
|
| 23 |
+
{%- set role = "model" -%}
|
| 24 |
+
{%- else -%}
|
| 25 |
+
{%- set role = message['role'] -%}
|
| 26 |
+
{%- endif -%}
|
| 27 |
+
{{ '<start_of_turn>' + role + '
|
| 28 |
+
' + (first_user_prefix if loop.first else "") }}
|
| 29 |
+
{%- if message['content'] is string -%}
|
| 30 |
+
{{ message['content'] | trim }}
|
| 31 |
+
{%- elif message['content'] is iterable -%}
|
| 32 |
+
{%- for item in message['content'] -%}
|
| 33 |
+
{%- if item['type'] == 'image' -%}
|
| 34 |
+
{{ '<start_of_image>' }}
|
| 35 |
+
{%- elif item['type'] == 'text' -%}
|
| 36 |
+
{{ item['text'] | trim }}
|
| 37 |
+
{%- endif -%}
|
| 38 |
+
{%- endfor -%}
|
| 39 |
+
{%- elif message['content'] is defined -%}
|
| 40 |
+
{{ raise_exception("Invalid content type") }}
|
| 41 |
+
{%- endif -%}
|
| 42 |
+
{{ '<end_of_turn>
|
| 43 |
+
' }}
|
| 44 |
+
{%- endfor -%}
|
| 45 |
+
{%- if add_generation_prompt -%}
|
| 46 |
+
{{'<start_of_turn>model
|
| 47 |
+
'}}
|
| 48 |
+
{%- endif -%}
|
| 49 |
+
|
| 50 |
+
{# Copyright 2025-present Unsloth. Apache 2.0 License. #}
|
student/adapters/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:daab2354f8a74e70d70b4d1f804939b68a8c9624dd06cb7858e52dd8970e9726
|
| 3 |
+
size 33384567
|
student/adapters/tokenizer.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1299c11d7cf632ef3b4e11937501358ada021bbdf7c47638d13c0ee982f2e79c
|
| 3 |
+
size 4689074
|
student/adapters/tokenizer_config.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
student/checkpoints/README.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: unsloth/gemma-3-270m-it-unsloth-bnb-4bit
|
| 3 |
+
library_name: transformers
|
| 4 |
+
model_name: checkpoints
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
- unsloth
|
| 8 |
+
- trl
|
| 9 |
+
- sft
|
| 10 |
+
licence: license
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# Model Card for checkpoints
|
| 14 |
+
|
| 15 |
+
This model is a fine-tuned version of [unsloth/gemma-3-270m-it-unsloth-bnb-4bit](https://huggingface.co/unsloth/gemma-3-270m-it-unsloth-bnb-4bit).
|
| 16 |
+
It has been trained using [TRL](https://github.com/huggingface/trl).
|
| 17 |
+
|
| 18 |
+
## Quick start
|
| 19 |
+
|
| 20 |
+
```python
|
| 21 |
+
from transformers import pipeline
|
| 22 |
+
|
| 23 |
+
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
|
| 24 |
+
generator = pipeline("text-generation", model="None", device="cuda")
|
| 25 |
+
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
| 26 |
+
print(output["generated_text"])
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
## Training procedure
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
This model was trained with SFT.
|
| 35 |
+
|
| 36 |
+
### Framework versions
|
| 37 |
+
|
| 38 |
+
- TRL: 0.24.0
|
| 39 |
+
- Transformers: 5.5.0
|
| 40 |
+
- Pytorch: 2.10.0
|
| 41 |
+
- Datasets: 4.3.0
|
| 42 |
+
- Tokenizers: 0.22.2
|
| 43 |
+
|
| 44 |
+
## Citations
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
Cite TRL as:
|
| 49 |
+
|
| 50 |
+
```bibtex
|
| 51 |
+
@misc{vonwerra2022trl,
|
| 52 |
+
title = {{TRL: Transformer Reinforcement Learning}},
|
| 53 |
+
author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
|
| 54 |
+
year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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: unsloth/gemma-3-270m-it-unsloth-bnb-4bit
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:unsloth/gemma-3-270m-it-unsloth-bnb-4bit
|
| 7 |
+
- lora
|
| 8 |
+
- sft
|
| 9 |
+
- transformers
|
| 10 |
+
- trl
|
| 11 |
+
- unsloth
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Model Card for Model ID
|
| 15 |
+
|
| 16 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
## Model Details
|
| 21 |
+
|
| 22 |
+
### Model Description
|
| 23 |
+
|
| 24 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
- **Developed by:** [More Information Needed]
|
| 29 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 30 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 31 |
+
- **Model type:** [More Information Needed]
|
| 32 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 33 |
+
- **License:** [More Information Needed]
|
| 34 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 35 |
+
|
| 36 |
+
### Model Sources [optional]
|
| 37 |
+
|
| 38 |
+
<!-- Provide the basic links for the model. -->
|
| 39 |
+
|
| 40 |
+
- **Repository:** [More Information Needed]
|
| 41 |
+
- **Paper [optional]:** [More Information Needed]
|
| 42 |
+
- **Demo [optional]:** [More Information Needed]
|
| 43 |
+
|
| 44 |
+
## Uses
|
| 45 |
+
|
| 46 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 47 |
+
|
| 48 |
+
### Direct Use
|
| 49 |
+
|
| 50 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 51 |
+
|
| 52 |
+
[More Information Needed]
|
| 53 |
+
|
| 54 |
+
### Downstream Use [optional]
|
| 55 |
+
|
| 56 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 57 |
+
|
| 58 |
+
[More Information Needed]
|
| 59 |
+
|
| 60 |
+
### Out-of-Scope Use
|
| 61 |
+
|
| 62 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 63 |
+
|
| 64 |
+
[More Information Needed]
|
| 65 |
+
|
| 66 |
+
## Bias, Risks, and Limitations
|
| 67 |
+
|
| 68 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 69 |
+
|
| 70 |
+
[More Information Needed]
|
| 71 |
+
|
| 72 |
+
### Recommendations
|
| 73 |
+
|
| 74 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 75 |
+
|
| 76 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 77 |
+
|
| 78 |
+
## How to Get Started with the Model
|
| 79 |
+
|
| 80 |
+
Use the code below to get started with the model.
|
| 81 |
+
|
| 82 |
+
[More Information Needed]
|
| 83 |
+
|
| 84 |
+
## Training Details
|
| 85 |
+
|
| 86 |
+
### Training Data
|
| 87 |
+
|
| 88 |
+
<!-- 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. -->
|
| 89 |
+
|
| 90 |
+
[More Information Needed]
|
| 91 |
+
|
| 92 |
+
### Training Procedure
|
| 93 |
+
|
| 94 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 95 |
+
|
| 96 |
+
#### Preprocessing [optional]
|
| 97 |
+
|
| 98 |
+
[More Information Needed]
|
| 99 |
+
|
| 100 |
+
|
| 101 |
+
#### Training Hyperparameters
|
| 102 |
+
|
| 103 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 104 |
+
|
| 105 |
+
#### Speeds, Sizes, Times [optional]
|
| 106 |
+
|
| 107 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 108 |
+
|
| 109 |
+
[More Information Needed]
|
| 110 |
+
|
| 111 |
+
## Evaluation
|
| 112 |
+
|
| 113 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 114 |
+
|
| 115 |
+
### Testing Data, Factors & Metrics
|
| 116 |
+
|
| 117 |
+
#### Testing Data
|
| 118 |
+
|
| 119 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 120 |
+
|
| 121 |
+
[More Information Needed]
|
| 122 |
+
|
| 123 |
+
#### Factors
|
| 124 |
+
|
| 125 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 126 |
+
|
| 127 |
+
[More Information Needed]
|
| 128 |
+
|
| 129 |
+
#### Metrics
|
| 130 |
+
|
| 131 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 132 |
+
|
| 133 |
+
[More Information Needed]
|
| 134 |
+
|
| 135 |
+
### Results
|
| 136 |
+
|
| 137 |
+
[More Information Needed]
|
| 138 |
+
|
| 139 |
+
#### Summary
|
| 140 |
+
|
| 141 |
+
|
| 142 |
+
|
| 143 |
+
## Model Examination [optional]
|
| 144 |
+
|
| 145 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 146 |
+
|
| 147 |
+
[More Information Needed]
|
| 148 |
+
|
| 149 |
+
## Environmental Impact
|
| 150 |
+
|
| 151 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 152 |
+
|
| 153 |
+
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).
|
| 154 |
+
|
| 155 |
+
- **Hardware Type:** [More Information Needed]
|
| 156 |
+
- **Hours used:** [More Information Needed]
|
| 157 |
+
- **Cloud Provider:** [More Information Needed]
|
| 158 |
+
- **Compute Region:** [More Information Needed]
|
| 159 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 160 |
+
|
| 161 |
+
## Technical Specifications [optional]
|
| 162 |
+
|
| 163 |
+
### Model Architecture and Objective
|
| 164 |
+
|
| 165 |
+
[More Information Needed]
|
| 166 |
+
|
| 167 |
+
### Compute Infrastructure
|
| 168 |
+
|
| 169 |
+
[More Information Needed]
|
| 170 |
+
|
| 171 |
+
#### Hardware
|
| 172 |
+
|
| 173 |
+
[More Information Needed]
|
| 174 |
+
|
| 175 |
+
#### Software
|
| 176 |
+
|
| 177 |
+
[More Information Needed]
|
| 178 |
+
|
| 179 |
+
## Citation [optional]
|
| 180 |
+
|
| 181 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 182 |
+
|
| 183 |
+
**BibTeX:**
|
| 184 |
+
|
| 185 |
+
[More Information Needed]
|
| 186 |
+
|
| 187 |
+
**APA:**
|
| 188 |
+
|
| 189 |
+
[More Information Needed]
|
| 190 |
+
|
| 191 |
+
## Glossary [optional]
|
| 192 |
+
|
| 193 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 194 |
+
|
| 195 |
+
[More Information Needed]
|
| 196 |
+
|
| 197 |
+
## More Information [optional]
|
| 198 |
+
|
| 199 |
+
[More Information Needed]
|
| 200 |
+
|
| 201 |
+
## Model Card Authors [optional]
|
| 202 |
+
|
| 203 |
+
[More Information Needed]
|
| 204 |
+
|
| 205 |
+
## Model Card Contact
|
| 206 |
+
|
| 207 |
+
[More Information Needed]
|
| 208 |
+
### Framework versions
|
| 209 |
+
|
| 210 |
+
- PEFT 0.19.1
|
student/checkpoints/checkpoint-468/adapter_config.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": {
|
| 6 |
+
"base_model_class": "Gemma3ForCausalLM",
|
| 7 |
+
"parent_library": "transformers.models.gemma3.modeling_gemma3",
|
| 8 |
+
"unsloth_fixed": true
|
| 9 |
+
},
|
| 10 |
+
"base_model_name_or_path": "unsloth/gemma-3-270m-it-unsloth-bnb-4bit",
|
| 11 |
+
"bias": "none",
|
| 12 |
+
"corda_config": null,
|
| 13 |
+
"ensure_weight_tying": false,
|
| 14 |
+
"eva_config": null,
|
| 15 |
+
"exclude_modules": null,
|
| 16 |
+
"fan_in_fan_out": false,
|
| 17 |
+
"inference_mode": true,
|
| 18 |
+
"init_lora_weights": true,
|
| 19 |
+
"layer_replication": null,
|
| 20 |
+
"layers_pattern": null,
|
| 21 |
+
"layers_to_transform": null,
|
| 22 |
+
"loftq_config": {},
|
| 23 |
+
"lora_alpha": 64,
|
| 24 |
+
"lora_bias": false,
|
| 25 |
+
"lora_dropout": 0.0,
|
| 26 |
+
"lora_ga_config": null,
|
| 27 |
+
"megatron_config": null,
|
| 28 |
+
"megatron_core": "megatron.core",
|
| 29 |
+
"modules_to_save": null,
|
| 30 |
+
"peft_type": "LORA",
|
| 31 |
+
"peft_version": "0.19.1",
|
| 32 |
+
"qalora_group_size": 16,
|
| 33 |
+
"r": 32,
|
| 34 |
+
"rank_pattern": {},
|
| 35 |
+
"revision": null,
|
| 36 |
+
"target_modules": [
|
| 37 |
+
"o_proj",
|
| 38 |
+
"v_proj",
|
| 39 |
+
"k_proj",
|
| 40 |
+
"down_proj",
|
| 41 |
+
"gate_proj",
|
| 42 |
+
"up_proj",
|
| 43 |
+
"q_proj"
|
| 44 |
+
],
|
| 45 |
+
"target_parameters": null,
|
| 46 |
+
"task_type": "CAUSAL_LM",
|
| 47 |
+
"trainable_token_indices": null,
|
| 48 |
+
"use_bdlora": null,
|
| 49 |
+
"use_dora": false,
|
| 50 |
+
"use_qalora": false,
|
| 51 |
+
"use_rslora": false
|
| 52 |
+
}
|
student/checkpoints/checkpoint-468/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a1802edb2c96dd579138078fbd9b7aba0019debc2b582a173784942567449e6e
|
| 3 |
+
size 30409120
|
student/checkpoints/checkpoint-468/chat_template.jinja
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{# Unsloth Chat template fixes #}
|
| 2 |
+
{{ bos_token }}
|
| 3 |
+
{%- if messages[0]['role'] == 'system' -%}
|
| 4 |
+
{%- if messages[0]['content'] is string -%}
|
| 5 |
+
{%- set first_user_prefix = messages[0]['content'] + '
|
| 6 |
+
|
| 7 |
+
' -%}
|
| 8 |
+
{%- else -%}
|
| 9 |
+
{%- set first_user_prefix = messages[0]['content'][0]['text'] + '
|
| 10 |
+
|
| 11 |
+
' -%}
|
| 12 |
+
{%- endif -%}
|
| 13 |
+
{%- set loop_messages = messages[1:] -%}
|
| 14 |
+
{%- else -%}
|
| 15 |
+
{%- set first_user_prefix = "" -%}
|
| 16 |
+
{%- set loop_messages = messages -%}
|
| 17 |
+
{%- endif -%}
|
| 18 |
+
{%- for message in loop_messages -%}
|
| 19 |
+
{%- if (message['role'] == 'user') != (loop.index0 % 2 == 0) -%}
|
| 20 |
+
{{ raise_exception("Conversation roles must alternate user/assistant/user/assistant/...") }}
|
| 21 |
+
{%- endif -%}
|
| 22 |
+
{%- if (message['role'] == 'assistant') -%}
|
| 23 |
+
{%- set role = "model" -%}
|
| 24 |
+
{%- else -%}
|
| 25 |
+
{%- set role = message['role'] -%}
|
| 26 |
+
{%- endif -%}
|
| 27 |
+
{{ '<start_of_turn>' + role + '
|
| 28 |
+
' + (first_user_prefix if loop.first else "") }}
|
| 29 |
+
{%- if message['content'] is string -%}
|
| 30 |
+
{{ message['content'] | trim }}
|
| 31 |
+
{%- elif message['content'] is iterable -%}
|
| 32 |
+
{%- for item in message['content'] -%}
|
| 33 |
+
{%- if item['type'] == 'image' -%}
|
| 34 |
+
{{ '<start_of_image>' }}
|
| 35 |
+
{%- elif item['type'] == 'text' -%}
|
| 36 |
+
{{ item['text'] | trim }}
|
| 37 |
+
{%- endif -%}
|
| 38 |
+
{%- endfor -%}
|
| 39 |
+
{%- elif message['content'] is defined -%}
|
| 40 |
+
{{ raise_exception("Invalid content type") }}
|
| 41 |
+
{%- endif -%}
|
| 42 |
+
{{ '<end_of_turn>
|
| 43 |
+
' }}
|
| 44 |
+
{%- endfor -%}
|
| 45 |
+
{%- if add_generation_prompt -%}
|
| 46 |
+
{{'<start_of_turn>model
|
| 47 |
+
'}}
|
| 48 |
+
{%- endif -%}
|
| 49 |
+
|
| 50 |
+
{# Copyright 2025-present Unsloth. Apache 2.0 License. #}
|
student/checkpoints/checkpoint-468/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:06808aa950c8d95b90808b2db236244a823bca3ecb2788175a1f13872394f263
|
| 3 |
+
size 15723605
|
student/checkpoints/checkpoint-468/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1255b82ec9f462fef6f8c2f4a8ee876c4b6d998a53c99546a4eddcc1aabaefc7
|
| 3 |
+
size 14645
|
student/checkpoints/checkpoint-468/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dc6776b28d1a96868895a26dbac165d16e33f240a70bccc5ada04b04c46211ab
|
| 3 |
+
size 1465
|
student/checkpoints/checkpoint-468/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:daab2354f8a74e70d70b4d1f804939b68a8c9624dd06cb7858e52dd8970e9726
|
| 3 |
+
size 33384567
|
student/checkpoints/checkpoint-468/tokenizer.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1299c11d7cf632ef3b4e11937501358ada021bbdf7c47638d13c0ee982f2e79c
|
| 3 |
+
size 4689074
|
student/checkpoints/checkpoint-468/tokenizer_config.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
student/checkpoints/checkpoint-468/trainer_state.json
ADDED
|
@@ -0,0 +1,436 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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point": null,
|
| 5 |
+
"epoch": 2.0,
|
| 6 |
+
"eval_steps": 50,
|
| 7 |
+
"global_step": 468,
|
| 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.042735042735042736,
|
| 14 |
+
"grad_norm": 5.1462321281433105,
|
| 15 |
+
"learning_rate": 0.00012,
|
| 16 |
+
"loss": 3.7814403533935548,
|
| 17 |
+
"step": 10
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.08547008547008547,
|
| 21 |
+
"grad_norm": 2.398408889770508,
|
| 22 |
+
"learning_rate": 0.00019996152616500243,
|
| 23 |
+
"loss": 1.2102224349975585,
|
| 24 |
+
"step": 20
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.1282051282051282,
|
| 28 |
+
"grad_norm": 0.2968085706233978,
|
| 29 |
+
"learning_rate": 0.00019952903544104026,
|
| 30 |
+
"loss": 0.1868561863899231,
|
| 31 |
+
"step": 30
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.17094017094017094,
|
| 35 |
+
"grad_norm": 0.16443780064582825,
|
| 36 |
+
"learning_rate": 0.00019861804788521493,
|
| 37 |
+
"loss": 0.12124946117401122,
|
| 38 |
+
"step": 40
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.21367521367521367,
|
| 42 |
+
"grad_norm": 0.16144566237926483,
|
| 43 |
+
"learning_rate": 0.00019723294317082878,
|
| 44 |
+
"loss": 0.09948906898498536,
|
| 45 |
+
"step": 50
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.21367521367521367,
|
| 49 |
+
"eval_loss": 0.12183893471956253,
|
| 50 |
+
"eval_runtime": 26.9603,
|
| 51 |
+
"eval_samples_per_second": 11.127,
|
| 52 |
+
"eval_steps_per_second": 1.409,
|
| 53 |
+
"step": 50
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"epoch": 0.2564102564102564,
|
| 57 |
+
"grad_norm": 0.17814505100250244,
|
| 58 |
+
"learning_rate": 0.00019538038034179497,
|
| 59 |
+
"loss": 0.08351721763610839,
|
| 60 |
+
"step": 60
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"epoch": 0.29914529914529914,
|
| 64 |
+
"grad_norm": 0.1021871343255043,
|
| 65 |
+
"learning_rate": 0.00019306926579854821,
|
| 66 |
+
"loss": 0.07892879843711853,
|
| 67 |
+
"step": 70
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"epoch": 0.3418803418803419,
|
| 71 |
+
"grad_norm": 0.12059585750102997,
|
| 72 |
+
"learning_rate": 0.00019031071047954093,
|
| 73 |
+
"loss": 0.07642545700073242,
|
| 74 |
+
"step": 80
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"epoch": 0.38461538461538464,
|
| 78 |
+
"grad_norm": 0.11213107407093048,
|
| 79 |
+
"learning_rate": 0.0001871179764441794,
|
| 80 |
+
"loss": 0.07258535027503968,
|
| 81 |
+
"step": 90
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"epoch": 0.42735042735042733,
|
| 85 |
+
"grad_norm": 0.12126409262418747,
|
| 86 |
+
"learning_rate": 0.00018350641311400812,
|
| 87 |
+
"loss": 0.07051915526390076,
|
| 88 |
+
"step": 100
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"epoch": 0.42735042735042733,
|
| 92 |
+
"eval_loss": 0.1036950945854187,
|
| 93 |
+
"eval_runtime": 8.8693,
|
| 94 |
+
"eval_samples_per_second": 33.825,
|
| 95 |
+
"eval_steps_per_second": 4.284,
|
| 96 |
+
"step": 100
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"epoch": 0.4700854700854701,
|
| 100 |
+
"grad_norm": 0.10296919196844101,
|
| 101 |
+
"learning_rate": 0.00017949338347867023,
|
| 102 |
+
"loss": 0.0704876184463501,
|
| 103 |
+
"step": 110
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"epoch": 0.5128205128205128,
|
| 107 |
+
"grad_norm": 0.08268409967422485,
|
| 108 |
+
"learning_rate": 0.00017509818062141702,
|
| 109 |
+
"loss": 0.06836398839950561,
|
| 110 |
+
"step": 120
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"epoch": 0.5555555555555556,
|
| 114 |
+
"grad_norm": 0.11069895327091217,
|
| 115 |
+
"learning_rate": 0.00017034193496547902,
|
| 116 |
+
"loss": 0.06567966938018799,
|
| 117 |
+
"step": 130
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"epoch": 0.5982905982905983,
|
| 121 |
+
"grad_norm": 0.10991781204938889,
|
| 122 |
+
"learning_rate": 0.00016524751268722217,
|
| 123 |
+
"loss": 0.06776190400123597,
|
| 124 |
+
"step": 140
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"epoch": 0.6410256410256411,
|
| 128 |
+
"grad_norm": 0.10355155169963837,
|
| 129 |
+
"learning_rate": 0.0001598394057844792,
|
| 130 |
+
"loss": 0.06601473093032836,
|
| 131 |
+
"step": 150
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"epoch": 0.6410256410256411,
|
| 135 |
+
"eval_loss": 0.09585529565811157,
|
| 136 |
+
"eval_runtime": 9.004,
|
| 137 |
+
"eval_samples_per_second": 33.319,
|
| 138 |
+
"eval_steps_per_second": 4.22,
|
| 139 |
+
"step": 150
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"epoch": 0.6837606837606838,
|
| 143 |
+
"grad_norm": 0.09497381001710892,
|
| 144 |
+
"learning_rate": 0.00015414361432856475,
|
| 145 |
+
"loss": 0.06537729501724243,
|
| 146 |
+
"step": 160
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"epoch": 0.7264957264957265,
|
| 150 |
+
"grad_norm": 0.09310545772314072,
|
| 151 |
+
"learning_rate": 0.0001481875214660604,
|
| 152 |
+
"loss": 0.0644693911075592,
|
| 153 |
+
"step": 170
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"epoch": 0.7692307692307693,
|
| 157 |
+
"grad_norm": 0.10611022263765335,
|
| 158 |
+
"learning_rate": 0.00014199976177131283,
|
| 159 |
+
"loss": 0.0641900658607483,
|
| 160 |
+
"step": 180
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"epoch": 0.811965811965812,
|
| 164 |
+
"grad_norm": 0.11665572971105576,
|
| 165 |
+
"learning_rate": 0.00013561008358255468,
|
| 166 |
+
"loss": 0.06345350742340088,
|
| 167 |
+
"step": 190
|
| 168 |
+
},
|
| 169 |
+
{
|
| 170 |
+
"epoch": 0.8547008547008547,
|
| 171 |
+
"grad_norm": 0.08741547912359238,
|
| 172 |
+
"learning_rate": 0.00012904920598348253,
|
| 173 |
+
"loss": 0.06299755573272706,
|
| 174 |
+
"step": 200
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"epoch": 0.8547008547008547,
|
| 178 |
+
"eval_loss": 0.09929452836513519,
|
| 179 |
+
"eval_runtime": 8.7583,
|
| 180 |
+
"eval_samples_per_second": 34.253,
|
| 181 |
+
"eval_steps_per_second": 4.339,
|
| 182 |
+
"step": 200
|
| 183 |
+
},
|
| 184 |
+
{
|
| 185 |
+
"epoch": 0.8974358974358975,
|
| 186 |
+
"grad_norm": 0.10623424500226974,
|
| 187 |
+
"learning_rate": 0.00012234867111786851,
|
| 188 |
+
"loss": 0.061084133386611936,
|
| 189 |
+
"step": 210
|
| 190 |
+
},
|
| 191 |
+
{
|
| 192 |
+
"epoch": 0.9401709401709402,
|
| 193 |
+
"grad_norm": 0.11632129549980164,
|
| 194 |
+
"learning_rate": 0.00011554069254722051,
|
| 195 |
+
"loss": 0.06272282004356385,
|
| 196 |
+
"step": 220
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"epoch": 0.9829059829059829,
|
| 200 |
+
"grad_norm": 0.10279455780982971,
|
| 201 |
+
"learning_rate": 0.00010865800038052631,
|
| 202 |
+
"loss": 0.062236905097961426,
|
| 203 |
+
"step": 230
|
| 204 |
+
},
|
| 205 |
+
{
|
| 206 |
+
"epoch": 1.0256410256410255,
|
| 207 |
+
"grad_norm": 0.10554131865501404,
|
| 208 |
+
"learning_rate": 0.00010173368392063978,
|
| 209 |
+
"loss": 0.059556889533996585,
|
| 210 |
+
"step": 240
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"epoch": 1.0683760683760684,
|
| 214 |
+
"grad_norm": 0.09244892746210098,
|
| 215 |
+
"learning_rate": 9.480103258380198e-05,
|
| 216 |
+
"loss": 0.060315436124801634,
|
| 217 |
+
"step": 250
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"epoch": 1.0683760683760684,
|
| 221 |
+
"eval_loss": 0.09908141940832138,
|
| 222 |
+
"eval_runtime": 8.9464,
|
| 223 |
+
"eval_samples_per_second": 33.533,
|
| 224 |
+
"eval_steps_per_second": 4.248,
|
| 225 |
+
"step": 250
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"epoch": 1.1111111111111112,
|
| 229 |
+
"grad_norm": 0.0986277163028717,
|
| 230 |
+
"learning_rate": 8.789337585709564e-05,
|
| 231 |
+
"loss": 0.06082844138145447,
|
| 232 |
+
"step": 260
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"epoch": 1.1538461538461537,
|
| 236 |
+
"grad_norm": 0.11766652762889862,
|
| 237 |
+
"learning_rate": 8.104392306325442e-05,
|
| 238 |
+
"loss": 0.059259837865829466,
|
| 239 |
+
"step": 270
|
| 240 |
+
},
|
| 241 |
+
{
|
| 242 |
+
"epoch": 1.1965811965811965,
|
| 243 |
+
"grad_norm": 0.11862441897392273,
|
| 244 |
+
"learning_rate": 7.428560370317542e-05,
|
| 245 |
+
"loss": 0.05957560539245606,
|
| 246 |
+
"step": 280
|
| 247 |
+
},
|
| 248 |
+
{
|
| 249 |
+
"epoch": 1.2393162393162394,
|
| 250 |
+
"grad_norm": 0.08285031467676163,
|
| 251 |
+
"learning_rate": 6.765090914370642e-05,
|
| 252 |
+
"loss": 0.058845126628875734,
|
| 253 |
+
"step": 290
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"epoch": 1.282051282051282,
|
| 257 |
+
"grad_norm": 0.09318173676729202,
|
| 258 |
+
"learning_rate": 6.117173641181064e-05,
|
| 259 |
+
"loss": 0.05915853977203369,
|
| 260 |
+
"step": 300
|
| 261 |
+
},
|
| 262 |
+
{
|
| 263 |
+
"epoch": 1.282051282051282,
|
| 264 |
+
"eval_loss": 0.09837502986192703,
|
| 265 |
+
"eval_runtime": 8.872,
|
| 266 |
+
"eval_samples_per_second": 33.814,
|
| 267 |
+
"eval_steps_per_second": 4.283,
|
| 268 |
+
"step": 300
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"epoch": 1.3247863247863247,
|
| 272 |
+
"grad_norm": 0.10940144956111908,
|
| 273 |
+
"learning_rate": 5.487923484608629e-05,
|
| 274 |
+
"loss": 0.058187621831893924,
|
| 275 |
+
"step": 310
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"epoch": 1.3675213675213675,
|
| 279 |
+
"grad_norm": 0.09581263363361359,
|
| 280 |
+
"learning_rate": 4.8803656342880477e-05,
|
| 281 |
+
"loss": 0.05839874148368836,
|
| 282 |
+
"step": 320
|
| 283 |
+
},
|
| 284 |
+
{
|
| 285 |
+
"epoch": 1.4102564102564101,
|
| 286 |
+
"grad_norm": 0.10020607709884644,
|
| 287 |
+
"learning_rate": 4.2974209916955975e-05,
|
| 288 |
+
"loss": 0.058370137214660646,
|
| 289 |
+
"step": 330
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"epoch": 1.452991452991453,
|
| 293 |
+
"grad_norm": 0.11031775176525116,
|
| 294 |
+
"learning_rate": 3.741892127592625e-05,
|
| 295 |
+
"loss": 0.05713057518005371,
|
| 296 |
+
"step": 340
|
| 297 |
+
},
|
| 298 |
+
{
|
| 299 |
+
"epoch": 1.4957264957264957,
|
| 300 |
+
"grad_norm": 0.08814098685979843,
|
| 301 |
+
"learning_rate": 3.216449808357039e-05,
|
| 302 |
+
"loss": 0.05719304084777832,
|
| 303 |
+
"step": 350
|
| 304 |
+
},
|
| 305 |
+
{
|
| 306 |
+
"epoch": 1.4957264957264957,
|
| 307 |
+
"eval_loss": 0.10020233690738678,
|
| 308 |
+
"eval_runtime": 8.7729,
|
| 309 |
+
"eval_samples_per_second": 34.196,
|
| 310 |
+
"eval_steps_per_second": 4.332,
|
| 311 |
+
"step": 350
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"epoch": 1.5384615384615383,
|
| 315 |
+
"grad_norm": 0.10264591127634048,
|
| 316 |
+
"learning_rate": 2.7236201559789453e-05,
|
| 317 |
+
"loss": 0.058714425563812254,
|
| 318 |
+
"step": 360
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"epoch": 1.5811965811965814,
|
| 322 |
+
"grad_norm": 0.0889529213309288,
|
| 323 |
+
"learning_rate": 2.265772503450122e-05,
|
| 324 |
+
"loss": 0.05743030309677124,
|
| 325 |
+
"step": 370
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"epoch": 1.623931623931624,
|
| 329 |
+
"grad_norm": 0.09476124495267868,
|
| 330 |
+
"learning_rate": 1.845108003933972e-05,
|
| 331 |
+
"loss": 0.0570054829120636,
|
| 332 |
+
"step": 380
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"epoch": 1.6666666666666665,
|
| 336 |
+
"grad_norm": 0.10928480327129364,
|
| 337 |
+
"learning_rate": 1.4636490484785315e-05,
|
| 338 |
+
"loss": 0.05795256495475769,
|
| 339 |
+
"step": 390
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"epoch": 1.7094017094017095,
|
| 343 |
+
"grad_norm": 0.10125123709440231,
|
| 344 |
+
"learning_rate": 1.1232295431481222e-05,
|
| 345 |
+
"loss": 0.05714542269706726,
|
| 346 |
+
"step": 400
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"epoch": 1.7094017094017095,
|
| 350 |
+
"eval_loss": 0.09949486702680588,
|
| 351 |
+
"eval_runtime": 8.8495,
|
| 352 |
+
"eval_samples_per_second": 33.9,
|
| 353 |
+
"eval_steps_per_second": 4.294,
|
| 354 |
+
"step": 400
|
| 355 |
+
},
|
| 356 |
+
{
|
| 357 |
+
"epoch": 1.7521367521367521,
|
| 358 |
+
"grad_norm": 0.0886467695236206,
|
| 359 |
+
"learning_rate": 8.254860923173691e-06,
|
| 360 |
+
"loss": 0.057120949029922485,
|
| 361 |
+
"step": 410
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"epoch": 1.7948717948717947,
|
| 365 |
+
"grad_norm": 0.0856015682220459,
|
| 366 |
+
"learning_rate": 5.7185013051488935e-06,
|
| 367 |
+
"loss": 0.057786566019058225,
|
| 368 |
+
"step": 420
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"epoch": 1.8376068376068377,
|
| 372 |
+
"grad_norm": 0.08765718340873718,
|
| 373 |
+
"learning_rate": 3.6354104064368566e-06,
|
| 374 |
+
"loss": 0.05581741333007813,
|
| 375 |
+
"step": 430
|
| 376 |
+
},
|
| 377 |
+
{
|
| 378 |
+
"epoch": 1.8803418803418803,
|
| 379 |
+
"grad_norm": 0.0899822786450386,
|
| 380 |
+
"learning_rate": 2.0156029166314315e-06,
|
| 381 |
+
"loss": 0.05644698739051819,
|
| 382 |
+
"step": 440
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"epoch": 1.9230769230769231,
|
| 386 |
+
"grad_norm": 0.08607936650514603,
|
| 387 |
+
"learning_rate": 8.668662391638437e-07,
|
| 388 |
+
"loss": 0.05725433826446533,
|
| 389 |
+
"step": 450
|
| 390 |
+
},
|
| 391 |
+
{
|
| 392 |
+
"epoch": 1.9230769230769231,
|
| 393 |
+
"eval_loss": 0.0995166152715683,
|
| 394 |
+
"eval_runtime": 8.731,
|
| 395 |
+
"eval_samples_per_second": 34.361,
|
| 396 |
+
"eval_steps_per_second": 4.352,
|
| 397 |
+
"step": 450
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"epoch": 1.965811965811966,
|
| 401 |
+
"grad_norm": 0.0872127115726471,
|
| 402 |
+
"learning_rate": 1.947230525005006e-07,
|
| 403 |
+
"loss": 0.057979744672775266,
|
| 404 |
+
"step": 460
|
| 405 |
+
},
|
| 406 |
+
{
|
| 407 |
+
"epoch": 2.0,
|
| 408 |
+
"eval_loss": 0.09953737258911133,
|
| 409 |
+
"eval_runtime": 8.6918,
|
| 410 |
+
"eval_samples_per_second": 34.515,
|
| 411 |
+
"eval_steps_per_second": 4.372,
|
| 412 |
+
"step": 468
|
| 413 |
+
}
|
| 414 |
+
],
|
| 415 |
+
"logging_steps": 10,
|
| 416 |
+
"max_steps": 468,
|
| 417 |
+
"num_input_tokens_seen": 0,
|
| 418 |
+
"num_train_epochs": 2,
|
| 419 |
+
"save_steps": 500,
|
| 420 |
+
"stateful_callbacks": {
|
| 421 |
+
"TrainerControl": {
|
| 422 |
+
"args": {
|
| 423 |
+
"should_epoch_stop": false,
|
| 424 |
+
"should_evaluate": false,
|
| 425 |
+
"should_log": false,
|
| 426 |
+
"should_save": true,
|
| 427 |
+
"should_training_stop": true
|
| 428 |
+
},
|
| 429 |
+
"attributes": {}
|
| 430 |
+
}
|
| 431 |
+
},
|
| 432 |
+
"total_flos": 2.249171339328e+16,
|
| 433 |
+
"train_batch_size": 128,
|
| 434 |
+
"trial_name": null,
|
| 435 |
+
"trial_params": null
|
| 436 |
+
}
|
student/checkpoints/checkpoint-468/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:36df130ad9865c271a2ed9059cad1fe98363eb4da0cfbbc1434a0448143136e0
|
| 3 |
+
size 5649
|
student/gguf/gemma-3-270m-it.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37f9d8254489ac2b668ffb44e923da9b8a8b6452fd199dfded449a4bc4483fe4
|
| 3 |
+
size 253114752
|