初始化项目,由ModelHub XC社区提供模型

Model: emonHasan01/llama-3.2-3b-reflect
Source: Original Platform
This commit is contained in:
ModelHub XC committed 2026-11-14 08:42:35 +08:00
commit 92bd5b1a37
19 files changed
+3265

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
*.7z filter=lfs diff=lfs merge=lfs -text
*.arrow filter=lfs diff=lfs merge=lfs -text
*.bin filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.ckpt filter=lfs diff=lfs merge=lfs -text
*.ftz filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.h5 filter=lfs diff=lfs merge=lfs -text
*.joblib filter=lfs diff=lfs merge=lfs -text
*.lfs.* filter=lfs diff=lfs merge=lfs -text
*.mlmodel filter=lfs diff=lfs merge=lfs -text
*.model filter=lfs diff=lfs merge=lfs -text
*.msgpack filter=lfs diff=lfs merge=lfs -text
*.npy filter=lfs diff=lfs merge=lfs -text
*.npz filter=lfs diff=lfs merge=lfs -text
*.onnx filter=lfs diff=lfs merge=lfs -text
*.ot filter=lfs diff=lfs merge=lfs -text
*.parquet filter=lfs diff=lfs merge=lfs -text
*.pb filter=lfs diff=lfs merge=lfs -text
*.pickle filter=lfs diff=lfs merge=lfs -text
*.pkl filter=lfs diff=lfs merge=lfs -text
*.pt filter=lfs diff=lfs merge=lfs -text
*.pth filter=lfs diff=lfs merge=lfs -text
*.rar filter=lfs diff=lfs merge=lfs -text
*.safetensors filter=lfs diff=lfs merge=lfs -text
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
*.tar.* filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tflite filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.wasm filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
*tfevents* filter=lfs diff=lfs merge=lfs -text
tokenizer.json filter=lfs diff=lfs merge=lfs -text
assets/reflect_light.png filter=lfs diff=lfs merge=lfs -text
+233
View File
@@ -0,0 +1,233 @@
---
language:
- en
license: llama3.2
library_name: transformers
pipeline_tag: text-generation
base_model: unsloth/Llama-3.2-3B-Instruct
base_model_relation: finetune
tags:
- unsloth
- lora
- peft
- reasoning
- chain-of-thought
- distillation
- llama-3.2
- gguf
datasets:
- ServiceNow-AI/R1-Distill-SFT
- openai/gsm8k
metrics:
- accuracy
model-index:
- name: llama-3.2-3b-reflect
results:
- task:
type: text-generation
name: Grade-school maths reasoning
dataset:
name: GSM8K
type: openai/gsm8k
split: test
metrics:
- type: accuracy
name: Exact-match accuracy (100 problems)
value: 65.0
---
<img src="assets/reflect_light.png" alt="emonHasan01/llama-3.2-3b-reflect" width="100%">
<div align="center">
[Hugging Face](https://huggingface.co/emonHasan01) | [GitHub](https://github.com/Md-Emon-Hasan) | [LinkedIn](https://www.linkedin.com/in/md-emon-hasan-695483237/) | [WhatsApp](https://wa.me/8801834363533) | [Portfolio](https://emonlabs-ai.hitechparks.com/)
**Author:** [Md. Emon Hasan](https://huggingface.co/emonHasan01)
</div>
# llama-3.2-3b-reflect
**Llama-3.2-3B-Instruct taught to think out loud.** A 16-bit LoRA fine-tune, trained with
[Unsloth](https://github.com/unslothai/unsloth) on
[`ServiceNow-AI/R1-Distill-SFT`](https://huggingface.co/datasets/ServiceNow-AI/R1-Distill-SFT) — DeepSeek-R1 reasoning
traces reannotated for supervised distillation.
Accuracy on GSM8K **falls** from 75.0% to 65.0%. The model reasons at greater length without reasoning better. Published as a measured result.
Trained on a **free Colab T4** in 76 minutes. Available as merged 16-bit weights, as a
LoRA adapter, and as [GGUF for llama.cpp](https://huggingface.co/emonHasan01/llama-3.2-3b-reflect-GGUF).
## Results
Both models were given the **same system prompt, the same problems and greedy decoding**.
Any difference is the adapter, not the harness.
![GSM8K accuracy](assets/gsm8k-accuracy.png)
| | GSM8K accuracy | mean words | reflective markers / answer | answers showing any |
|---|---|---|---|---|
| `unsloth/Llama-3.2-3B-Instruct` | 75.0% | 180 | 0.03 | 3% |
| **this model** | **65.0%** | **387** | **0.03** | **2%** |
Aggregate accuracy hides what actually moved, so here is the per-problem breakdown:
![Per-problem change](assets/per-problem.png)
| | problems |
|---|---|
| both models correct | 59 |
| only this model correct | 6 |
| only the base model correct | 16 |
| neither correct | 19 |
**Read that table before trusting the headline number.** A small net accuracy change can sit
on top of a large number of problems where the two models disagree in both directions.
### Style is what really changed
![Style](assets/style.png)
Reflective markers are counted by scanning for self-correction language — *wait*, *let me
reconsider*, *actually*, *double-check* and similar. It is a crude proxy, not a measure of
reasoning quality, but it tracks the thing the distillation was aiming at: visible
second-guessing rather than a single confident pass.
![Training loss](assets/loss-curve.png)
### Sample problems
| Question | Answer | Base | This model |
|---|---|---|---|
| Tara bought 8 packs of 5 canvas bags for $4 each. She painted them and | 160 | correct | correct |
| Mary is making ice cubes with fruit frozen in them for a cocktail part | 96 | correct | correct |
| Britany records 18 4-minute TikTok videos each week. She spends 2 hour | 1128 | wrong | wrong |
## Usage
### transformers
```python
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
tok = AutoTokenizer.from_pretrained("emonHasan01/llama-3.2-3b-reflect")
model = AutoModelForCausalLM.from_pretrained("emonHasan01/llama-3.2-3b-reflect", torch_dtype=torch.float16,
device_map="auto")
messages = [
{"role": "system", "content": "You are a reflective assistant. Think through the problem step by step in the open: explore approaches, question your own assumptions, check your arithmetic, and revise when something does not hold up. Only state a final answer once the reasoning supports it."},
{"role": "user", "content": "How many r's are in 'strawberry'?"},
]
prompt = tok.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tok(prompt, return_tensors="pt", add_special_tokens=False).to(model.device)
out = model.generate(**inputs, max_new_tokens=768, do_sample=True, temperature=0.6, top_p=0.9)
print(tok.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
```
**The system prompt is part of the model.** It was present in every training example, and
the reflective behaviour weakens noticeably without it. The exact string is in
[`prompt_format.json`](prompt_format.json).
Use `temperature=0.6` for open-ended prompts and **greedy decoding for anything numeric** —
high temperature wrecks arithmetic, which is why the evaluation above is greedy.
### llama.cpp
```bash
llama-cli -hf emonHasan01/llama-3.2-3b-reflect-GGUF:Q4_K_M \
--system "You are a reflective assistant. Think through the problem step by step in the open: explore approaches, question your own assumptions, check your arithmetic, and revise when something does not hold up. Only state a final answer once the reasoning supports it." \
-p "How many r's are in 'strawberry'?" -n 768
```
### Unsloth, for further training
```python
from unsloth import FastLanguageModel
model, tokenizer = FastLanguageModel.from_pretrained("emonHasan01/llama-3.2-3b-reflect", max_seq_length=2048)
FastLanguageModel.for_inference(model)
```
## Training
| | |
|---|---|
| Base model | `unsloth/Llama-3.2-3B-Instruct` (3.2B parameters) |
| Method | LoRA at **16-bit** (not 4-bit QLoRA), via Unsloth |
| Trainable | 24,313,856 parameters (0.76% of the model) |
| Rank / alpha / dropout | 16 / 16 / 0 |
| Target modules | `q,k,v,o,gate,up,down` |
| Learning rate | 0.0002, linear schedule, 10 warmup steps |
| Batch | 1 × 8 accumulation = 8 effective |
| Steps | 400 (~3,200 examples) |
| Max sequence | 2048 tokens |
| Optimizer | `adamw_8bit` |
| Peak VRAM | 7.8 GB of 15.0 |
| Hardware | Tesla T4 (free Colab tier) |
| Training time | ~76 minutes |
### Decisions that mattered
**One chat template throughout.** A common failure in reasoning-distillation notebooks is to
train on a bare custom template and then infer through the model's chat template. The model
is then never asked the question it was taught. Training, evaluation and the usage snippets
above all go through Llama 3.1's template with the same system prompt.
**Loss on the assistant turn only.** `train_on_responses_only` masks everything up to the
assistant header. Without it most of the gradient goes into regenerating the problem
statement, which is always supplied at inference anyway.
**16-bit rather than 4-bit.** A quantized base saves memory but pays dequantisation cost on
every forward pass. At 3B the fp16 base already fits a T4 with Unsloth's gradient
checkpointing, and keeping full precision means the merged model converts straight to GGUF
with no intermediate step.
**Long examples dropped, not truncated.** A reasoning trace cut off mid-thought teaches the
model to stop reasoning halfway. Examples over 2048 tokens were filtered out instead.
## Limitations
- **This is a 3B model.** It is not competitive with frontier reasoning models, and the
reflective style can resemble careful reasoning while still arriving at a wrong answer.
Visible self-correction is not a guarantee of correctness.
- **Evaluated on 100 GSM8K problems**, not the full 1,319-problem test set. Expect a
few points of sampling noise; differences smaller than that are not meaningful.
- **One benchmark, one domain.** GSM8K is grade-school arithmetic. Nothing here measures
code, science, multi-step planning, or factual accuracy, and nothing measures whether the
stated reasoning matches the computation that produced the answer.
- **Reflective markers are a keyword count**, not a judgement of reasoning quality. They
show the style changed, not that it got better.
- **Longer outputs cost more.** The model generates roughly 2.1× as many tokens as the
base for the same problem, which is latency and money in production.
- **Trained on R1 distillation data**, inheriting whatever biases and errors those traces
contain. No faithfulness or safety evaluation was run.
Do not use this where a wrong answer matters without a human checking the result.
## Reproducing
One Colab notebook on a Tesla T4 produced the baseline, the training, all four charts, both
model cards and the GGUF builds. Raw numbers in [`results.json`](results.json).
## Citation
```bibtex
@software{unsloth,
title = {Unsloth},
author = {Daniel Han and Michael Han and Unsloth team},
year = {2023},
url = {https://github.com/unslothai/unsloth}
}
@article{deepseek2025r1,
title = {DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning},
author = {DeepSeek-AI},
year = {2025}
}
@article{cobbe2021gsm8k,
title = {Training Verifiers to Solve Math Word Problems},
author = {Cobbe, Karl and others},
journal = {arXiv:2110.14168},
year = {2021}
}
```
+54
View File
@@ -0,0 +1,54 @@
{
"alora_invocation_tokens": null,
"alpha_pattern": {},
"arrow_config": null,
"auto_mapping": {
"base_model_class": "LlamaForCausalLM",
"parent_library": "transformers.models.llama.modeling_llama",
"unsloth_fixed": true
},
"base_model_name_or_path": "unsloth/Llama-3.2-3B-Instruct",
"bias": "none",
"corda_config": null,
"ensure_weight_tying": false,
"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,
"lora_ga_config": null,
"megatron_config": null,
"megatron_core": "megatron.core",
"modules_to_save": null,
"monteclora_config": null,
"peft_type": "LORA",
"peft_version": "0.20.0",
"qalora_group_size": 16,
"r": 16,
"rank_pattern": {},
"revision": null,
"target_modules": [
"gate_proj",
"down_proj",
"o_proj",
"k_proj",
"up_proj",
"v_proj",
"q_proj"
],
"target_parameters": null,
"task_type": "CAUSAL_LM",
"trainable_token_indices": null,
"use_bdlora": null,
"use_dora": false,
"use_qalora": false,
"use_rslora": false,
"velora_config": null
}
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a8cf3fbba9def61c7664ee6bca0d780e897730956dc798cacd87afe9f4e97813
size 97307544
Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0aa16b1a90226abb48cc73984e04061674b83d2f659aa0a2dabccd2bdee91de2
size 495907
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

+139
View File
@@ -0,0 +1,139 @@
{%- if custom_tools is defined %}
{%- set tools = custom_tools %}
{%- endif %}
{%- if not tools_in_user_message is defined %}
{%- set tools_in_user_message = true %}
{%- endif %}
{%- if not date_string is defined %}
{%- set date_string = "26 July 2024" %}
{%- endif %}
{%- if not tools is defined %}
{%- set tools = none %}
{%- endif %}
{#- This block extracts the system message, so we can slot it into the right place. #}
{%- if messages[0]['role'] == 'system' %}
{%- set system_message = messages[0]['content'] %}
{%- set messages = messages[1:] %}
{%- else %}
{%- set system_message = "" %}
{%- endif %}
{#- System message + builtin tools #}
{{- "<|start_header_id|>system<|end_header_id|>
" }}
{%- if builtin_tools is defined or tools is not none %}
{{- "Environment: ipython
" }}
{%- endif %}
{%- if builtin_tools is defined %}
{{- "Tools: " + builtin_tools | reject('equalto', 'code_interpreter') | join(", ") + "
"}}
{%- endif %}
{{- "Cutting Knowledge Date: December 2023
" }}
{{- "Today Date: " + date_string + "
" }}
{%- if tools is not none and not tools_in_user_message %}
{{- "You have access to the following functions. To call a function, please respond with JSON for a function call." }}
{{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }}
{{- "Do not use variables.
" }}
{%- for t in tools %}
{{- t | tojson(indent=4) }}
{{- "
" }}
{%- endfor %}
{%- endif %}
{{- system_message }}
{{- "<|eot_id|>" }}
{#- Custom tools are passed in a user message with some extra guidance #}
{%- if tools_in_user_message and not tools is none %}
{#- Extract the first user message so we can plug it in here #}
{%- if messages | length != 0 %}
{%- set first_user_message = messages[0]['content'] %}
{%- set messages = messages[1:] %}
{%- else %}
{{- raise_exception("Cannot put tools in the first user message when there's no first user message!") }}
{%- endif %}
{{- '<|start_header_id|>user<|end_header_id|>
' -}}
{{- "Given the following functions, please respond with a JSON for a function call " }}
{{- "with its proper arguments that best answers the given prompt.
" }}
{{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }}
{{- "Do not use variables.
" }}
{%- for t in tools %}
{{- t | tojson(indent=4) }}
{{- "
" }}
{%- endfor %}
{{- first_user_message + "<|eot_id|>"}}
{%- endif %}
{%- for message in messages %}
{%- if not (message.role == 'ipython' or message.role == 'tool' or 'tool_calls' in message) %}
{{- '<|start_header_id|>' + message['role'] + '<|end_header_id|>
'+ message['content'] + '<|eot_id|>' }}
{%- elif 'tool_calls' in message %}
{%- if not message.tool_calls|length == 1 %}
{{- raise_exception("This model only supports single tool-calls at once!") }}
{%- endif %}
{%- set tool_call = message.tool_calls[0].function %}
{%- if builtin_tools is defined and tool_call.name in builtin_tools %}
{{- '<|start_header_id|>assistant<|end_header_id|>
' -}}
{{- "<|python_tag|>" + tool_call.name + ".call(" }}
{%- for arg_name, arg_val in tool_call.arguments | items %}
{{- arg_name + '="' + arg_val + '"' }}
{%- if not loop.last %}
{{- ", " }}
{%- endif %}
{%- endfor %}
{{- ")" }}
{%- else %}
{{- '<|start_header_id|>assistant<|end_header_id|>
' -}}
{{- '{"name": "' + tool_call.name + '", ' }}
{{- '"parameters": ' }}
{{- tool_call.arguments | tojson }}
{{- "}" }}
{%- endif %}
{%- if builtin_tools is defined %}
{#- This means we're in ipython mode #}
{{- "<|eom_id|>" }}
{%- else %}
{{- "<|eot_id|>" }}
{%- endif %}
{%- elif message.role == "tool" or message.role == "ipython" %}
{{- "<|start_header_id|>ipython<|end_header_id|>
" }}
{%- if message.content is mapping or message.content is iterable %}
{{- message.content | tojson }}
{%- else %}
{{- message.content }}
{%- endif %}
{{- "<|eot_id|>" }}
{%- endif %}
{%- endfor %}
{%- if add_generation_prompt %}
{{- '<|start_header_id|>assistant<|end_header_id|>
' }}
{%- endif %}
+37
View File
@@ -0,0 +1,37 @@
{
"architectures": [
"LlamaForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": 128000,
"torch_dtype": "bfloat16",
"eos_token_id": 128009,
"head_dim": 128,
"hidden_act": "silu",
"hidden_size": 3072,
"initializer_range": 0.02,
"intermediate_size": 8192,
"max_position_embeddings": 131072,
"mlp_bias": false,
"model_type": "llama",
"num_attention_heads": 24,
"num_hidden_layers": 28,
"num_key_value_heads": 8,
"pad_token_id": 128004,
"pretraining_tp": 1,
"rms_norm_eps": 1e-05,
"rope_parameters": {
"factor": 32.0,
"high_freq_factor": 4.0,
"low_freq_factor": 1.0,
"original_max_position_embeddings": 8192,
"rope_theta": 500000.0,
"rope_type": "llama3"
},
"tie_word_embeddings": true,
"transformers_version": "5.16.1",
"unsloth_fixed": true,
"use_cache": true,
"vocab_size": 128256
}
+14
View File
@@ -0,0 +1,14 @@
{
"bos_token_id": 128000,
"do_sample": true,
"eos_token_id": [
128001,
128008,
128009
],
"max_length": 131072,
"pad_token_id": 128004,
"temperature": 0.6,
"top_p": 0.9,
"transformers_version": "5.16.1"
}
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d9d1f26d9d6d1ad3806435bfd992eba9d2cce610e7e0de7fa5dde05959d58b25
size 4965799096
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e33a84f0d61babcdd7b9522c944ee518bd59df74d0035eb458d6e7fc88ba861e
size 1459729952
+261
View File
@@ -0,0 +1,261 @@
{
"metadata": {
"total_size": 6425499648
},
"weight_map": {
"model.embed_tokens.weight": "model-00001-of-00002.safetensors",
"model.layers.0.input_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.0.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.0.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.0.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.0.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.0.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.0.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.0.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.0.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.1.input_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.1.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.1.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.1.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.1.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.1.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.1.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.1.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.1.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.10.input_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.10.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.10.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.10.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.10.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.10.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.10.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.10.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.10.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.11.input_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.11.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.11.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.11.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.11.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.11.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.11.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.11.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.11.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.12.input_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.12.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.12.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.12.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.12.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.12.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.12.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.12.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.12.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.13.input_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.13.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.13.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.13.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.13.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.13.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.13.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.13.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.13.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.14.input_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.14.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.14.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.14.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.14.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.14.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.14.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.14.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.14.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.15.input_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.15.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.15.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.15.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.15.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.15.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.15.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.15.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.15.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.16.input_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.16.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.16.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.16.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.16.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.16.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.16.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.16.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.16.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.17.input_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.17.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.17.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.17.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.17.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.17.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.17.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.17.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.17.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.18.input_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.18.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.18.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.18.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.18.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.18.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.18.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.18.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.18.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.19.input_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.19.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.19.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.19.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.19.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.19.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.19.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.19.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.19.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.2.input_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.2.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.2.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.2.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.2.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.2.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.2.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.2.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.2.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.20.input_layernorm.weight": "model-00002-of-00002.safetensors",
"model.layers.20.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.20.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.20.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.20.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
"model.layers.20.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.20.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.20.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.20.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.21.input_layernorm.weight": "model-00002-of-00002.safetensors",
"model.layers.21.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.21.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.21.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.21.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
"model.layers.21.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.21.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.21.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.21.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.22.input_layernorm.weight": "model-00002-of-00002.safetensors",
"model.layers.22.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.22.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.22.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.22.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
"model.layers.22.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.22.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.22.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.22.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.23.input_layernorm.weight": "model-00002-of-00002.safetensors",
"model.layers.23.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.23.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.23.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.23.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
"model.layers.23.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.23.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.23.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.23.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.24.input_layernorm.weight": "model-00002-of-00002.safetensors",
"model.layers.24.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.24.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.24.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.24.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
"model.layers.24.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.24.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.24.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.24.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.25.input_layernorm.weight": "model-00002-of-00002.safetensors",
"model.layers.25.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.25.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.25.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.25.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
"model.layers.25.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.25.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.25.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.25.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.26.input_layernorm.weight": "model-00002-of-00002.safetensors",
"model.layers.26.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.26.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.26.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.26.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
"model.layers.26.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.26.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.26.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.26.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.27.input_layernorm.weight": "model-00002-of-00002.safetensors",
"model.layers.27.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.27.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.27.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.27.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
"model.layers.27.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.27.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.27.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.27.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
"model.layers.3.input_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.3.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.3.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.3.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.3.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.3.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.3.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.3.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.3.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.4.input_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.4.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.4.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.4.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.4.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.4.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.4.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.4.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.4.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.5.input_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.5.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.5.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.5.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.5.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.5.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.5.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.5.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.5.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.6.input_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.6.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.6.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.6.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.6.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.6.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.6.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.6.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.6.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.7.input_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.7.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.7.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.7.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.7.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.7.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.7.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.7.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.7.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.8.input_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.8.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.8.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.8.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.8.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.8.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.8.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.8.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.8.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.9.input_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.9.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.9.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.9.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.9.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
"model.layers.9.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.9.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.9.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
"model.layers.9.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
"model.norm.weight": "model-00002-of-00002.safetensors"
}
}
+5
View File
@@ -0,0 +1,5 @@
{
"chat_template": "llama-3.1",
"system": "You are a reflective assistant. Think through the problem step by step in the open: explore approaches, question your own assumptions, check your arithmetic, and revise when something does not hold up. Only state a final answer once the reasoning supports it.",
"rendered_example": "<|start_header_id|>system<|end_header_id|>\n\nCutting Knowledge Date: December 2023\nToday Date: 26 July 2024\n\nYou are a reflective assistant. Think through the problem step by step in the open: explore approaches, question your own assumptions, check your arithmetic, and revise when something does not hold up. Only state a final answer once the reasoning supports it.<|eot_id|><|start_header_id|>user<|end_header_id|>\n\nWhat is 2+2?<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n"
}
+400
View File
@@ -0,0 +1,400 @@
{
"base_model": "unsloth/Llama-3.2-3B-Instruct",
"sft_dataset": "ServiceNow-AI/R1-Distill-SFT:v0",
"eval": {
"benchmark": "GSM8K test",
"n": 100,
"decoding": "greedy",
"base": {
"accuracy": 75.0,
"mean_words": 180.3,
"median_words": 161,
"reflective_markers_per_answer": 0.03,
"answers_with_any_marker_pct": 3.0
},
"tuned": {
"accuracy": 65.0,
"mean_words": 386.6,
"median_words": 387,
"reflective_markers_per_answer": 0.03,
"answers_with_any_marker_pct": 2.0
},
"delta_accuracy": -10.0,
"per_problem": {
"both": 59,
"fixed": 6,
"broke": 16,
"neither": 19
}
},
"loss_curve": [
[
5,
0.6031797409057618
],
[
10,
0.5751004219055176
],
[
15,
0.4631198883056641
],
[
20,
0.4972533702850342
],
[
25,
0.5046830654144288
],
[
30,
0.43886876106262207
],
[
35,
0.44311232566833497
],
[
40,
0.4090470314025879
],
[
45,
0.3957359790802002
],
[
50,
0.39405710697174073
],
[
55,
0.33793015480041505
],
[
60,
0.3737001419067383
],
[
65,
0.34989233016967775
],
[
70,
0.3755160093307495
],
[
75,
0.3752471923828125
],
[
80,
0.3530725002288818
],
[
85,
0.3805647850036621
],
[
90,
0.3938462257385254
],
[
95,
0.37998502254486083
],
[
100,
0.35205485820770266
],
[
105,
0.3708599090576172
],
[
110,
0.3568729877471924
],
[
115,
0.3708590269088745
],
[
120,
0.39458842277526857
],
[
125,
0.3410849332809448
],
[
130,
0.3214355707168579
],
[
135,
0.41930179595947265
],
[
140,
0.3436356782913208
],
[
145,
0.4262721538543701
],
[
150,
0.3737560033798218
],
[
155,
0.3509130716323853
],
[
160,
0.35071792602539065
],
[
165,
0.3865889310836792
],
[
170,
0.39638099670410154
],
[
175,
0.33083276748657225
],
[
180,
0.31978230476379393
],
[
185,
0.3774104118347168
],
[
190,
0.39302496910095214
],
[
195,
0.3193991661071777
],
[
200,
0.41407365798950196
],
[
205,
0.39426450729370116
],
[
210,
0.34723126888275146
],
[
215,
0.3382970571517944
],
[
220,
0.37050864696502683
],
[
225,
0.40112690925598143
],
[
230,
0.37369847297668457
],
[
235,
0.3673372983932495
],
[
240,
0.43816571235656737
],
[
245,
0.29952526092529297
],
[
250,
0.3561333417892456
],
[
255,
0.39733076095581055
],
[
260,
0.3378442764282227
],
[
265,
0.3536123514175415
],
[
270,
0.35389807224273684
],
[
275,
0.3485655069351196
],
[
280,
0.35933823585510255
],
[
285,
0.3548250198364258
],
[
290,
0.3619748592376709
],
[
295,
0.3398918867111206
],
[
300,
0.3147099256515503
],
[
305,
0.38246331214904783
],
[
310,
0.39694297313690186
],
[
315,
0.31678974628448486
],
[
320,
0.3876387119293213
],
[
325,
0.3414973258972168
],
[
330,
0.29627141952514646
],
[
335,
0.3550447940826416
],
[
340,
0.3126283884048462
],
[
345,
0.35566034317016604
],
[
350,
0.3089282751083374
],
[
355,
0.3716308355331421
],
[
360,
0.3350650787353516
],
[
365,
0.3438723564147949
],
[
370,
0.3309534311294556
],
[
375,
0.3178165197372437
],
[
380,
0.33165555000305175
],
[
385,
0.3551639080047607
],
[
390,
0.33267476558685305
],
[
395,
0.33241302967071534
],
[
400,
0.3646083354949951
]
],
"examples": [
{
"question": "Tara bought 8 packs of 5 canvas bags for $4 each. She painted them and sold them at a craft fair for $8 each. How much profit did she earn on her bags?",
"gold": "160",
"base": "To find the profit earned by Tara, we need to calculate the total cost of the bags and the total revenue from selling them.\n\nStep 1: Calculate the total cost of the bags\nTara bought 8 packs of 5 canvas bags, so the total number of bags is 8 * 5 = 40 bags.\nThe cost of each bag is $4, so the total cost is 40 * $4 = $160.\n\nStep 2: Calculate the total revenue from selling the bags\nTara sold each bag for $8, and she sold 40 bags, so the total revenue is 40 * $8 = $320.\n\nStep 3: Calculate the profit\nProfit is calculated by subtracting the total cost from the total revenue.\nProfit = Total Revenue - Total Cost\nProfit = $320 - $160\nProfit = $160\n\nTherefore, Tara earned a profit of $160 on her canvas bags.",
"tuned": "<think>\nFirst, I need to determine the total cost of the canvas bags. Tara bought 8 packs of 5 bags each, so the total number of bags is 8 multiplied by 5, which equals 40 bags. Each bag costs $4, so the total cost is 40 bags multiplied by $4 per bag, resulting in $160.\n\nNext, I'll calculate the total revenue from selling the bags. Tara sold each bag for $8, and she sold 40 bags, so the total revenue is 40 bags multiplied by $8 per bag, which equals $320.\n\nFinally, to find the profit, I'll subtract the total cost from the total revenue. Subtracting $160 from $320 gives me a profit of $160.\n</think>\n\nTo determine the profit Tara earned from selling her canvas bags, let's break down the problem step by step.\n\n### **Step 1: Calculate the Total Cost**\n\nTara bought **8 packs** of **5 canvas bags** each. \n\n\\[\n\\text{Total number of bags} = 8 \\times 5 = 40 \\text{ bags}\n\\]\n\nEach bag costs \\$4.\n\n\\[\n\\text{Total cost} = 40 \\text{ bags} \\times \\$4/\\text{bag} = \\$160\n\\]\n\n### **Step 2: Calculate the Total Revenue**\n\nTara sold each bag for \\$8.\n\n\\[\n\\text{Total revenue} = 40 \\text{ bags} \\times \\$8/\\text{bag} = \\$320\n\\]\n\n### **Step 3: Determine the Profit**\n\nProfit is calculated by subtracting the total cost from the total revenue.\n\n\\[\n\\text{Profit} = \\text{Total revenue} - \\text{Total cost} = \\$320 - \\$160 = \\$160\n\\]\n\n### **Final Answer**\n\nTara earned a profit of \\(\\boxed{\\$160}\\) from selling her canvas bags.\n\nFirst, let's calculate the total cost of the canvas bags. Tara bought 8 packs of 5 bags each, so the total number of bags is 8 * 5 = 40 bags. Each bag costs $4, so the total cost is 40 bags * $4/bag = $160.\n\nNext, let's calculate the total revenue from selling the bags. Tara sold each bag for $8, and she sold 40 bags, so the total revenue is 40 bags * $8/bag = $320.\n\nNow, to find the profit, we subtract the total cost from the total revenue: $320 - $160 = $160.\n\nTara earned a profit of $\\boxed{\\$160}$ from selling her bags.",
"base_ok": true,
"tuned_ok": true
},
{
"question": "Mary is making ice cubes with fruit frozen in them for a cocktail party. She makes some strawberry cubes, and a number of blueberry cubes equal to 5 times the number of strawberry cubes minus 4. If she makes 116 ice cubes total, how many blueberry cubes does she make?",
"gold": "96",
"base": "To solve this problem, let's break it down step by step.\n\nLet's denote the number of strawberry cubes as S and the number of blueberry cubes as B.\n\nWe know that the number of blueberry cubes is equal to 5 times the number of strawberry cubes minus 4. We can write this as:\n\nB = 5S - 4\n\nWe also know that the total number of ice cubes is 116, which is the sum of strawberry cubes and blueberry cubes. We can write this as:\n\nS + B = 116\n\nNow, we can substitute the expression for B from the first equation into the second equation:\n\nS + (5S - 4) = 116\n\nCombine like terms:\n\n6S - 4 = 116\n\nAdd 4 to both sides:\n\n6S = 120\n\nDivide both sides by 6:\n\nS = 20\n\nNow that we know the number of strawberry cubes, we can find the number of blueberry cubes by substituting S into the first equation:\n\nB = 5S - 4\nB = 5(20) - 4\nB = 100 - 4\nB = 96\n\nTherefore, Mary makes 96 blueberry cubes.",
"tuned": "<think>\nFirst, I need to determine the number of strawberry cubes Mary makes. Let's denote this number as \\( S \\).\n\nNext, I'll calculate the number of blueberry cubes. According to the problem, the number of blueberry cubes is 5 times the number of strawberry cubes minus 4. So, the number of blueberry cubes can be expressed as \\( 5S - 4 \\).\n\nThe total number of ice cubes Mary makes is the sum of strawberry and blueberry cubes, which is given as 116. Therefore, I can set up the equation:\n\\[\nS + (5S - 4) = 116\n\\]\n\nCombining like terms, the equation simplifies to:\n\\[\n6S - 4 = 116\n\\]\n\nAdding 4 to both sides of the equation:\n\\[\n6S = 120\n\\]\n\nFinally, dividing both sides by 6 to solve for \\( S \\):\n\\[\nS = 20\n\\]\n\nNow that I know Mary makes 20 strawberry cubes, I can find the number of blueberry cubes by substituting \\( S = 20 \\) into the expression \\( 5S - 4 \\):\n\\[\n5 \\times 20 - 4 = 100 - 4 = 96\n\\]\n\nTherefore, Mary makes 96 blueberry cubes.\n</think>\n\nLet's solve the problem step by step.\n\n**Given:**\n- Let \\( S \\) be the number of strawberry cubes.\n- The number of blueberry cubes is \\( 5S - 4 \\).\n- The total number of ice cubes is 116.\n\n**Step 1: Set Up the Equation**\n\nThe total number of ice cubes is the sum of strawberry and blueberry cubes:\n\\[\nS + (5S - 4) = 116\n\\]\n\n**Step 2: Combine Like Terms**\n\n\\[\n6S - 4 = 116\n\\]\n\n**Step 3: Solve for \\( S \\)**\n\nAdd 4 to both sides:\n\\[\n6S = 120\n\\]\n\nDivide both sides by 6:\n\\[\nS = 20\n\\]\n\n**Step 4: Find the Number of Blueberry Cubes**\n\nSubstitute \\( S = 20 \\) into the expression for blueberry cubes:\n\\[\n5 \\times 20 - 4 = 100 - 4 = 96\n\\]\n\n**Final Answer:**\n\\[\n\\boxed{96}\n\\]\n\nLet's denote the number of strawberry cubes as S. According to the problem, the number of blueberry cubes is 5 times the number of strawberry cubes minus 4. So, the number of blueberry cubes can be expressed as 5S - 4.\n\nThe total number of ice cubes Mary makes is the sum of strawberry and blueberry cubes, which is given as 116. Therefore, we can set up the equation:\n\nS + (5S - 4) = 116\n\nNow, let's solve for S:\n\nS + 5S - 4 = 116\n6S - 4 = 116\n6S = 116 + 4\n6S = 120\nS = 120 / 6\nS = 20\n\nNow that we know Mary makes 20 strawberry cubes, we can find the number of blueberry cubes by substituting S = 20 into the expression for blueberry cubes:\n\nNumber of blueberry cubes = 5S - 4\nNumber of blueberry cubes = 5 * 20 - 4\nNumber of blueberry cubes = 100 - 4\nNumber of blueberry cubes = 96\n\nTherefore, Mary makes $\\boxed{96}$ blueberry cubes.",
"base_ok": true,
"tuned_ok": true
},
{
"question": "Britany records 18 4-minute TikTok videos each week. She spends 2 hours a week writing amateur songs to sing on TikTok, and 15 minutes six days a week doing her makeup before filming herself for TikTok. How much time does Britany spend on TikTok in a month with four weeks?",
"gold": "1128",
"base": "To find the total time Britany spends on TikTok in a month, we need to calculate the time spent on each activity and then add them up.\n\n1. Time spent on recording TikTok videos:\nBritany records 18 videos per week. Since there are 4 weeks in a month, she records 18 * 4 = 72 videos in a month.\n\nEach video is 4 minutes long, so the total time spent recording videos is 72 * 4 = 288 minutes.\n\n2. Time spent writing amateur songs:\nBritany spends 2 hours per week writing songs. Since there are 4 weeks in a month, she spends 2 * 4 = 8 hours in a month.\n\nTo convert hours to minutes, we multiply by 60 (since there are 60 minutes in an hour):\n8 * 60 = 480 minutes\n\n3. Time spent doing makeup:\nBritany spends 15 minutes per day, six days a week, doing her makeup. Since there are 4 weeks in a month, she spends 15 * 6 * 4 = 360 minutes in a month.\n\nNow, let's add up the time spent on each activity:\n288 minutes (recording videos) + 480 minutes (writing songs) + 360 minutes (doing makeup) = 1128 minutes\n\nTo convert the total time to hours, we divide by 60:\n1128 / 60 = 18.8 hours\n\nTherefore, Britany spends approximately 18.8 hours per month on TikTok.",
"tuned": "<think>\nFirst, I need to determine the total time Britany spends on TikTok each week. She records 18 videos, each taking 4 minutes, so the total recording time is 18 multiplied by 4, which equals 72 minutes.\n\nNext, she spends 2 hours, or 120 minutes, writing songs each week. Adding this to the recording time gives a total of 192 minutes per week.\n\nBritany also spends 15 minutes, six days a week, doing her makeup. Since there are four weeks in a month, she spends 15 multiplied by 6, which equals 90 minutes, over the month.\n\nFinally, to find the total time spent on TikTok in a month, I add the weekly recording and songwriting time to the weekly makeup time, resulting in 192 plus 90, which equals 282 minutes.\n</think>\n\nTo determine how much time Britany spends on TikTok in a month, let's break down her activities and calculate the total time spent each week and then multiply by the number of weeks in a month.\n\n### **Step 1: Calculate Time Spent Recording Videos Each Week**\n\n- **Number of videos recorded each week:** 18\n- **Time per video:** 4 minutes\n- **Total recording time per week:** \n \\[\n 18 \\text{ videos} \\times 4 \\text{ minutes/video} = 72 \\text{ minutes}\n \\]\n\n### **Step 2: Calculate Time Spent Writing Songs Each Week**\n\n- **Time spent writing songs each week:** 2 hours\n- **Convert hours to minutes:** \n \\[\n 2 \\text{ hours} \\times 60 \\text{ minutes/hour} = 120 \\text{ minutes}\n \\]\n- **Total songwriting time per week:** \n \\[\n 120 \\text{ minutes} + 72 \\text{ minutes} = 192 \\text{ minutes}\n \\]\n\n### **Step 3: Calculate Time Spent Doing Makeup Each Week**\n\n- **Time spent doing makeup each day:** 15 minutes\n- **Number of days with makeup:** 6 days\n- **Total makeup time per week:** \n \\[\n 15 \\text{ minutes/day} \\times 6 \\text{ days} = 90 \\text{ minutes}\n \\]\n\n### **Step 4: Calculate Total Time Spent on TikTok Each Week**\n\n- **Total time spent on TikTok each week:** \n \\[\n 192 \\text{ minutes (songwriting)} + 90 \\text{ minutes (makeup)} = 282 \\text{ minutes}\n \\]\n\n### **Step 5: Calculate Total Time Spent on TikTok in a Month**\n\n- **Number of weeks in a month:** 4 weeks\n- **Total time spent on TikTok in a month:** \n \\[\n 282 \\text{ minutes/week} \\times 4 \\text{ weeks} = 1128 \\text{ minutes}\n \\]\n\n### **Final Answer**\n\nBritany spends a total of \\(\\boxed{1128}\\) minutes on TikTok in a month.\n\nTo find out how much time Britany spends on TikTok in a month, we need to calculate the total time she spends on TikTok each week and then multiply that by the number of weeks in a month.\n\nFirst, let's calculate the time she spends on TikTok each week:\n\n- She records 18 videos each week, and each video takes 4 minutes to record. So, the total time she spends recording videos each week is:\n \\[\n 18 \\text{ videos} \\times 4 \\text{ minutes/video}",
"base_ok": false,
"tuned_ok": false
}
],
"config": {
"method": "LoRA 16-bit via Unsloth",
"r": 16,
"lora_alpha": 16,
"lora_dropout": 0,
"max_seq": 2048,
"batch": 1,
"accum": 8,
"steps": 400,
"lr": 0.0002,
"optim": "adamw_8bit",
"trainable_params": 24313856,
"total_params": 3212749824,
"train_examples_seen": 3200,
"peak_vram_gb": 7.77,
"train_minutes": 76.3,
"hardware": "Tesla T4",
"seed": 3407,
"adapter_mb": 97.3,
"merged_gb": 6.44,
"gguf_built": true
}
}
BIN
View File
Binary file not shown.
File diff suppressed because it is too large. Load diff