Instructions to use tripplet-research/agent-1.2e with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tripplet-research/agent-1.2e with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf tripplet-research/agent-1.2e:Q8_0 # Run inference directly in the terminal: llama cli -hf tripplet-research/agent-1.2e:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tripplet-research/agent-1.2e:Q8_0 # Run inference directly in the terminal: llama cli -hf tripplet-research/agent-1.2e:Q8_0
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 tripplet-research/agent-1.2e:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf tripplet-research/agent-1.2e:Q8_0
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 tripplet-research/agent-1.2e:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf tripplet-research/agent-1.2e:Q8_0
Use Docker
docker model run hf.co/tripplet-research/agent-1.2e:Q8_0
- LM Studio
- Jan
- Ollama
How to use tripplet-research/agent-1.2e with Ollama:
ollama run hf.co/tripplet-research/agent-1.2e:Q8_0
- Unsloth Studio
How to use tripplet-research/agent-1.2e 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 tripplet-research/agent-1.2e 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 tripplet-research/agent-1.2e to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tripplet-research/agent-1.2e to start chatting
- Pi
How to use tripplet-research/agent-1.2e with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tripplet-research/agent-1.2e:Q8_0
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "tripplet-research/agent-1.2e:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use tripplet-research/agent-1.2e with Docker Model Runner:
docker model run hf.co/tripplet-research/agent-1.2e:Q8_0
- Lemonade
How to use tripplet-research/agent-1.2e with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tripplet-research/agent-1.2e:Q8_0
Run and chat with the model
lemonade run user.agent-1.2e-Q8_0
List all available models
lemonade list
- Hermes Agent
How to use tripplet-research/agent-1.2e with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tripplet-research/agent-1.2e:Q8_0
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default tripplet-research/agent-1.2e:Q8_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use tripplet-research/agent-1.2e with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tripplet-research/agent-1.2e:Q8_0
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "tripplet-research/agent-1.2e:Q8_0" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +2 -0
- Modelfile +10 -0
- README.md +64 -0
- agent-1.2e.q8_0.gguf +3 -0
- chat.py +36 -0
- merge.py +46 -0
- model-mlx/README.md +7 -0
- model-mlx/added_tokens.json +24 -0
- model-mlx/chat_template.jinja +54 -0
- model-mlx/config.json +27 -0
- model-mlx/generation_config.json +14 -0
- model-mlx/merges.txt +0 -0
- model-mlx/model.safetensors +3 -0
- model-mlx/model.safetensors.index.json +298 -0
- model-mlx/special_tokens_map.json +31 -0
- model-mlx/tokenizer.json +3 -0
- model-mlx/tokenizer_config.json +208 -0
- model-mlx/vocab.json +0 -0
- model/config.json +27 -0
- model/generation_config.json +14 -0
- model/merges.txt +0 -0
- model/model.safetensors +3 -0
- model/tokenizer.json +0 -0
- model/tokenizer_config.json +207 -0
- model/vocab.json +0 -0
- sources/Qwen2.5-0.5B-Instruct/config.json +27 -0
- sources/Qwen2.5-0.5B-Instruct/generation_config.json +14 -0
- sources/Qwen2.5-0.5B-Instruct/merges.txt +0 -0
- sources/Qwen2.5-0.5B-Instruct/model.safetensors +3 -0
- sources/Qwen2.5-0.5B-Instruct/tokenizer.json +0 -0
- sources/Qwen2.5-0.5B-Instruct/tokenizer_config.json +207 -0
- sources/Qwen2.5-0.5B-Instruct/vocab.json +0 -0
- sources/Qwen2.5-0.5B/config.json +28 -0
- sources/Qwen2.5-0.5B/generation_config.json +7 -0
- sources/Qwen2.5-0.5B/merges.txt +0 -0
- sources/Qwen2.5-0.5B/model.safetensors +3 -0
- sources/Qwen2.5-0.5B/tokenizer.json +0 -0
- sources/Qwen2.5-0.5B/tokenizer_config.json +207 -0
- sources/Qwen2.5-0.5B/vocab.json +0 -0
- sources/SmolLM2-360M-Instruct/all_results.json +22 -0
- sources/SmolLM2-360M-Instruct/config.json +37 -0
- sources/SmolLM2-360M-Instruct/eval_results.json +16 -0
- sources/SmolLM2-360M-Instruct/generation_config.json +7 -0
- sources/SmolLM2-360M-Instruct/merges.txt +0 -0
- sources/SmolLM2-360M-Instruct/model.safetensors +3 -0
- sources/SmolLM2-360M-Instruct/special_tokens_map.json +34 -0
- sources/SmolLM2-360M-Instruct/tokenizer.json +0 -0
- sources/SmolLM2-360M-Instruct/tokenizer_config.json +154 -0
- sources/SmolLM2-360M-Instruct/train_results.json +9 -0
- sources/SmolLM2-360M-Instruct/trainer_state.json +1626 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
agent-1.2e.q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
model-mlx/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
Modelfile
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM ./agent-1.2e.q8_0.gguf
|
| 2 |
+
|
| 3 |
+
SYSTEM """You are Agent 1.2e, a compact AI agent assistant. Your internal codename is agent1-iteration2-eco. If asked who or what you are, identify yourself as Agent 1.2e. You are helpful, direct, and concise. You follow instructions carefully, and when you don't know something you say so instead of guessing."""
|
| 4 |
+
|
| 5 |
+
# Merge dilutes the instruct model's stopping behavior — keep decoding
|
| 6 |
+
# conservative or it loops.
|
| 7 |
+
PARAMETER temperature 0.3
|
| 8 |
+
PARAMETER top_p 0.9
|
| 9 |
+
PARAMETER repeat_penalty 1.15
|
| 10 |
+
PARAMETER num_ctx 4096
|
README.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Agent 1.2e
|
| 2 |
+
|
| 3 |
+
A linear weight merge, built 2026-07-08. The usable model lives in `model/` (Hugging Face format, bfloat16, ~988 MB).
|
| 4 |
+
|
| 5 |
+
## What was actually merged
|
| 6 |
+
|
| 7 |
+
Requested: 33/33/33 of Qwen2.5-0.5B-Instruct, SmolLM2-360M-Instruct, and Qwen2.5-0.5B (base).
|
| 8 |
+
|
| 9 |
+
**SmolLM2-360M-Instruct could not be included in the weight average.** Weight merging requires identical architectures, and SmolLM2 differs from Qwen2.5-0.5B in every dimension that matters:
|
| 10 |
+
|
| 11 |
+
| | Qwen2.5-0.5B | SmolLM2-360M |
|
| 12 |
+
|---|---|---|
|
| 13 |
+
| Hidden size | 896 | 960 |
|
| 14 |
+
| Layers | 24 | 32 |
|
| 15 |
+
| Vocab / tokenizer | 151,936 (Qwen BPE) | 49,152 (GPT-2 style) |
|
| 16 |
+
|
| 17 |
+
The tensors have different shapes, so averaging them is mathematically undefined — no merge tool (mergekit included) can do it.
|
| 18 |
+
|
| 19 |
+
So `model/` is the two compatible models merged at equal weight (33/33 renormalized to 50/50):
|
| 20 |
+
|
| 21 |
+
- 50% **Qwen/Qwen2.5-0.5B-Instruct**
|
| 22 |
+
- 50% **Qwen/Qwen2.5-0.5B** (base)
|
| 23 |
+
|
| 24 |
+
Tokenizer, chat template, and generation config come from the Instruct model. Verified: loads with `transformers` and follows chat-formatted instructions coherently.
|
| 25 |
+
|
| 26 |
+
## If you still want SmolLM2's conversational flavor
|
| 27 |
+
|
| 28 |
+
Options that actually work:
|
| 29 |
+
1. **Distillation** — fine-tune this merge on SmolLM2-generated conversations (LoRA on a few thousand samples is enough at this scale).
|
| 30 |
+
2. **Routing** — keep SmolLM2 (in `sources/`) as a separate model and route conversational traffic to it.
|
| 31 |
+
|
| 32 |
+
## Usage
|
| 33 |
+
|
| 34 |
+
```python
|
| 35 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 36 |
+
tok = AutoTokenizer.from_pretrained("model")
|
| 37 |
+
model = AutoModelForCausalLM.from_pretrained("model")
|
| 38 |
+
```
|
| 39 |
+
|
| 40 |
+
## Ollama
|
| 41 |
+
|
| 42 |
+
The model is registered in Ollama as `agent-1.2e` (q8_0 GGUF, hardcoded system
|
| 43 |
+
prompt with the Agent 1.2e identity and internal codename `agent1-iteration2-eco`):
|
| 44 |
+
|
| 45 |
+
```bash
|
| 46 |
+
ollama run agent-1.2e
|
| 47 |
+
```
|
| 48 |
+
|
| 49 |
+
To rebuild after editing `Modelfile` (system prompt, params):
|
| 50 |
+
`ollama create agent-1.2e -f Modelfile`
|
| 51 |
+
|
| 52 |
+
## MLX / LM Studio
|
| 53 |
+
|
| 54 |
+
`model-mlx/` is the MLX (bf16) conversion, installed in LM Studio at
|
| 55 |
+
`~/.lmstudio/models/local/Agent-1.2e-MLX` — it appears as **agent-1.2e-mlx**.
|
| 56 |
+
The Agent 1.2e identity + codename are baked into the chat template's default
|
| 57 |
+
system prompt (applies whenever no explicit system prompt is set; a user-set
|
| 58 |
+
system prompt overrides it).
|
| 59 |
+
|
| 60 |
+
## Folder contents
|
| 61 |
+
|
| 62 |
+
- `model/` — the merged Agent 1.2e model
|
| 63 |
+
- `sources/` — the three downloaded source models (~2.6 GB; safe to delete once you're happy with the merge)
|
| 64 |
+
- `merge.py` — the merge script (re-runnable; edit `SOURCES` weights to re-blend)
|
agent-1.2e.q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1fc4f1425c70b149c94f64fada7d418d9eff513268bf05ddcf17a8a8e0bedcaf
|
| 3 |
+
size 531067712
|
chat.py
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Interactive chat with Agent 1.2e. Run: python3 chat.py"""
|
| 3 |
+
from pathlib import Path
|
| 4 |
+
import torch
|
| 5 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer, TextStreamer
|
| 6 |
+
|
| 7 |
+
MODEL = Path(__file__).parent / "model"
|
| 8 |
+
tok = AutoTokenizer.from_pretrained(MODEL)
|
| 9 |
+
model = AutoModelForCausalLM.from_pretrained(MODEL, dtype=torch.bfloat16)
|
| 10 |
+
streamer = TextStreamer(tok, skip_prompt=True, skip_special_tokens=True)
|
| 11 |
+
|
| 12 |
+
history = []
|
| 13 |
+
print("Agent 1.2e — type 'exit' to quit, 'reset' to clear history.\n")
|
| 14 |
+
while True:
|
| 15 |
+
try:
|
| 16 |
+
user = input("you> ").strip()
|
| 17 |
+
except (EOFError, KeyboardInterrupt):
|
| 18 |
+
break
|
| 19 |
+
if not user:
|
| 20 |
+
continue
|
| 21 |
+
if user == "exit":
|
| 22 |
+
break
|
| 23 |
+
if user == "reset":
|
| 24 |
+
history = []
|
| 25 |
+
print("(history cleared)")
|
| 26 |
+
continue
|
| 27 |
+
history.append({"role": "user", "content": user})
|
| 28 |
+
enc = tok.apply_chat_template(history, add_generation_prompt=True,
|
| 29 |
+
return_tensors="pt", return_dict=True)
|
| 30 |
+
print("agent> ", end="", flush=True)
|
| 31 |
+
# repetition_penalty matters here: merging with the base model weakens
|
| 32 |
+
# the instruct model's stopping behavior, so it loops without it
|
| 33 |
+
out = model.generate(**enc, max_new_tokens=512, do_sample=False,
|
| 34 |
+
repetition_penalty=1.15, streamer=streamer)
|
| 35 |
+
reply = tok.decode(out[0][enc["input_ids"].shape[1]:], skip_special_tokens=True)
|
| 36 |
+
history.append({"role": "assistant", "content": reply})
|
merge.py
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Build Agent 1.2e: linear weight merge of Qwen2.5-0.5B-Instruct + Qwen2.5-0.5B (base).
|
| 3 |
+
|
| 4 |
+
SmolLM2-360M-Instruct is architecturally incompatible (different hidden size,
|
| 5 |
+
layer count, and tokenizer) and cannot be included in the weight average.
|
| 6 |
+
See README.md.
|
| 7 |
+
"""
|
| 8 |
+
import json, shutil
|
| 9 |
+
from pathlib import Path
|
| 10 |
+
import torch
|
| 11 |
+
from safetensors.torch import load_file, save_file
|
| 12 |
+
|
| 13 |
+
ROOT = Path(__file__).parent
|
| 14 |
+
SOURCES = {
|
| 15 |
+
ROOT / "sources/Qwen2.5-0.5B-Instruct": 0.5,
|
| 16 |
+
ROOT / "sources/Qwen2.5-0.5B": 0.5,
|
| 17 |
+
}
|
| 18 |
+
OUT = ROOT / "model"
|
| 19 |
+
OUT.mkdir(exist_ok=True)
|
| 20 |
+
|
| 21 |
+
merged = None
|
| 22 |
+
for src, w in SOURCES.items():
|
| 23 |
+
sd = load_file(str(src / "model.safetensors"))
|
| 24 |
+
if merged is None:
|
| 25 |
+
merged = {k: v.to(torch.float32) * w for k, v in sd.items()}
|
| 26 |
+
else:
|
| 27 |
+
assert set(sd) == set(merged), "state dict key mismatch"
|
| 28 |
+
for k, v in sd.items():
|
| 29 |
+
assert v.shape == merged[k].shape, f"shape mismatch at {k}"
|
| 30 |
+
merged[k] += v.to(torch.float32) * w
|
| 31 |
+
|
| 32 |
+
merged = {k: v.to(torch.bfloat16) for k, v in merged.items()}
|
| 33 |
+
save_file(merged, str(OUT / "model.safetensors"), metadata={"format": "pt"})
|
| 34 |
+
print(f"saved {len(merged)} tensors")
|
| 35 |
+
|
| 36 |
+
# Copy config/tokenizer from the instruct model (chat template, generation config)
|
| 37 |
+
inst = ROOT / "sources/Qwen2.5-0.5B-Instruct"
|
| 38 |
+
for f in ["config.json", "generation_config.json", "tokenizer.json",
|
| 39 |
+
"tokenizer_config.json", "vocab.json", "merges.txt"]:
|
| 40 |
+
if (inst / f).exists():
|
| 41 |
+
shutil.copy(inst / f, OUT / f)
|
| 42 |
+
|
| 43 |
+
cfg = json.loads((OUT / "config.json").read_text())
|
| 44 |
+
cfg["torch_dtype"] = "bfloat16"
|
| 45 |
+
(OUT / "config.json").write_text(json.dumps(cfg, indent=2))
|
| 46 |
+
print("done ->", OUT)
|
model-mlx/README.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: en
|
| 3 |
+
pipeline_tag: text-generation
|
| 4 |
+
library_name: mlx
|
| 5 |
+
tags:
|
| 6 |
+
- mlx
|
| 7 |
+
---
|
model-mlx/added_tokens.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"</tool_call>": 151658,
|
| 3 |
+
"<tool_call>": 151657,
|
| 4 |
+
"<|box_end|>": 151649,
|
| 5 |
+
"<|box_start|>": 151648,
|
| 6 |
+
"<|endoftext|>": 151643,
|
| 7 |
+
"<|file_sep|>": 151664,
|
| 8 |
+
"<|fim_middle|>": 151660,
|
| 9 |
+
"<|fim_pad|>": 151662,
|
| 10 |
+
"<|fim_prefix|>": 151659,
|
| 11 |
+
"<|fim_suffix|>": 151661,
|
| 12 |
+
"<|im_end|>": 151645,
|
| 13 |
+
"<|im_start|>": 151644,
|
| 14 |
+
"<|image_pad|>": 151655,
|
| 15 |
+
"<|object_ref_end|>": 151647,
|
| 16 |
+
"<|object_ref_start|>": 151646,
|
| 17 |
+
"<|quad_end|>": 151651,
|
| 18 |
+
"<|quad_start|>": 151650,
|
| 19 |
+
"<|repo_name|>": 151663,
|
| 20 |
+
"<|video_pad|>": 151656,
|
| 21 |
+
"<|vision_end|>": 151653,
|
| 22 |
+
"<|vision_pad|>": 151654,
|
| 23 |
+
"<|vision_start|>": 151652
|
| 24 |
+
}
|
model-mlx/chat_template.jinja
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 4 |
+
{{- messages[0]['content'] }}
|
| 5 |
+
{%- else %}
|
| 6 |
+
{{- 'You are Agent 1.2e, a compact AI agent assistant. You have an internal codename, agent1-iteration2-eco, which you mention only if explicitly asked for your codename. If asked who or what you are, identify yourself as Agent 1.2e. You are helpful, direct, and concise.' }}
|
| 7 |
+
{%- endif %}
|
| 8 |
+
{{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 9 |
+
{%- for tool in tools %}
|
| 10 |
+
{{- "\n" }}
|
| 11 |
+
{{- tool | tojson }}
|
| 12 |
+
{%- endfor %}
|
| 13 |
+
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
| 14 |
+
{%- else %}
|
| 15 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 16 |
+
{{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
|
| 17 |
+
{%- else %}
|
| 18 |
+
{{- '<|im_start|>system\nYou are Agent 1.2e, a compact AI agent assistant. You have an internal codename, agent1-iteration2-eco, which you mention only if explicitly asked for your codename. If asked who or what you are, identify yourself as Agent 1.2e. You are helpful, direct, and concise.<|im_end|>\n' }}
|
| 19 |
+
{%- endif %}
|
| 20 |
+
{%- endif %}
|
| 21 |
+
{%- for message in messages %}
|
| 22 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
|
| 23 |
+
{{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
|
| 24 |
+
{%- elif message.role == "assistant" %}
|
| 25 |
+
{{- '<|im_start|>' + message.role }}
|
| 26 |
+
{%- if message.content %}
|
| 27 |
+
{{- '\n' + message.content }}
|
| 28 |
+
{%- endif %}
|
| 29 |
+
{%- for tool_call in message.tool_calls %}
|
| 30 |
+
{%- if tool_call.function is defined %}
|
| 31 |
+
{%- set tool_call = tool_call.function %}
|
| 32 |
+
{%- endif %}
|
| 33 |
+
{{- '\n<tool_call>\n{"name": "' }}
|
| 34 |
+
{{- tool_call.name }}
|
| 35 |
+
{{- '", "arguments": ' }}
|
| 36 |
+
{{- tool_call.arguments | tojson }}
|
| 37 |
+
{{- '}\n</tool_call>' }}
|
| 38 |
+
{%- endfor %}
|
| 39 |
+
{{- '<|im_end|>\n' }}
|
| 40 |
+
{%- elif message.role == "tool" %}
|
| 41 |
+
{%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
|
| 42 |
+
{{- '<|im_start|>user' }}
|
| 43 |
+
{%- endif %}
|
| 44 |
+
{{- '\n<tool_response>\n' }}
|
| 45 |
+
{{- message.content }}
|
| 46 |
+
{{- '\n</tool_response>' }}
|
| 47 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 48 |
+
{{- '<|im_end|>\n' }}
|
| 49 |
+
{%- endif %}
|
| 50 |
+
{%- endif %}
|
| 51 |
+
{%- endfor %}
|
| 52 |
+
{%- if add_generation_prompt %}
|
| 53 |
+
{{- '<|im_start|>assistant\n' }}
|
| 54 |
+
{%- endif %}
|
model-mlx/config.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen2ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_dropout": 0.0,
|
| 6 |
+
"bos_token_id": 151643,
|
| 7 |
+
"eos_token_id": 151645,
|
| 8 |
+
"hidden_act": "silu",
|
| 9 |
+
"hidden_size": 896,
|
| 10 |
+
"initializer_range": 0.02,
|
| 11 |
+
"intermediate_size": 4864,
|
| 12 |
+
"max_position_embeddings": 32768,
|
| 13 |
+
"max_window_layers": 21,
|
| 14 |
+
"model_type": "qwen2",
|
| 15 |
+
"num_attention_heads": 14,
|
| 16 |
+
"num_hidden_layers": 24,
|
| 17 |
+
"num_key_value_heads": 2,
|
| 18 |
+
"rms_norm_eps": 1e-06,
|
| 19 |
+
"rope_theta": 1000000.0,
|
| 20 |
+
"sliding_window": 32768,
|
| 21 |
+
"tie_word_embeddings": true,
|
| 22 |
+
"torch_dtype": "bfloat16",
|
| 23 |
+
"transformers_version": "4.43.1",
|
| 24 |
+
"use_cache": true,
|
| 25 |
+
"use_sliding_window": false,
|
| 26 |
+
"vocab_size": 151936
|
| 27 |
+
}
|
model-mlx/generation_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 151643,
|
| 3 |
+
"pad_token_id": 151643,
|
| 4 |
+
"do_sample": true,
|
| 5 |
+
"eos_token_id": [
|
| 6 |
+
151645,
|
| 7 |
+
151643
|
| 8 |
+
],
|
| 9 |
+
"repetition_penalty": 1.1,
|
| 10 |
+
"temperature": 0.7,
|
| 11 |
+
"top_p": 0.8,
|
| 12 |
+
"top_k": 20,
|
| 13 |
+
"transformers_version": "4.37.0"
|
| 14 |
+
}
|
model-mlx/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model-mlx/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2e807de80d779227980cfcf6f06ba17afc6c4e7ab94aa31912a7d86d2b66ad06
|
| 3 |
+
size 988097730
|
model-mlx/model.safetensors.index.json
ADDED
|
@@ -0,0 +1,298 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_size": 988065536,
|
| 4 |
+
"total_parameters": 494032768
|
| 5 |
+
},
|
| 6 |
+
"weight_map": {
|
| 7 |
+
"model.embed_tokens.weight": "model.safetensors",
|
| 8 |
+
"model.layers.0.input_layernorm.weight": "model.safetensors",
|
| 9 |
+
"model.layers.0.mlp.down_proj.weight": "model.safetensors",
|
| 10 |
+
"model.layers.0.mlp.gate_proj.weight": "model.safetensors",
|
| 11 |
+
"model.layers.0.mlp.up_proj.weight": "model.safetensors",
|
| 12 |
+
"model.layers.0.post_attention_layernorm.weight": "model.safetensors",
|
| 13 |
+
"model.layers.0.self_attn.k_proj.bias": "model.safetensors",
|
| 14 |
+
"model.layers.0.self_attn.k_proj.weight": "model.safetensors",
|
| 15 |
+
"model.layers.0.self_attn.o_proj.weight": "model.safetensors",
|
| 16 |
+
"model.layers.0.self_attn.q_proj.bias": "model.safetensors",
|
| 17 |
+
"model.layers.0.self_attn.q_proj.weight": "model.safetensors",
|
| 18 |
+
"model.layers.0.self_attn.v_proj.bias": "model.safetensors",
|
| 19 |
+
"model.layers.0.self_attn.v_proj.weight": "model.safetensors",
|
| 20 |
+
"model.layers.1.input_layernorm.weight": "model.safetensors",
|
| 21 |
+
"model.layers.1.mlp.down_proj.weight": "model.safetensors",
|
| 22 |
+
"model.layers.1.mlp.gate_proj.weight": "model.safetensors",
|
| 23 |
+
"model.layers.1.mlp.up_proj.weight": "model.safetensors",
|
| 24 |
+
"model.layers.1.post_attention_layernorm.weight": "model.safetensors",
|
| 25 |
+
"model.layers.1.self_attn.k_proj.bias": "model.safetensors",
|
| 26 |
+
"model.layers.1.self_attn.k_proj.weight": "model.safetensors",
|
| 27 |
+
"model.layers.1.self_attn.o_proj.weight": "model.safetensors",
|
| 28 |
+
"model.layers.1.self_attn.q_proj.bias": "model.safetensors",
|
| 29 |
+
"model.layers.1.self_attn.q_proj.weight": "model.safetensors",
|
| 30 |
+
"model.layers.1.self_attn.v_proj.bias": "model.safetensors",
|
| 31 |
+
"model.layers.1.self_attn.v_proj.weight": "model.safetensors",
|
| 32 |
+
"model.layers.10.input_layernorm.weight": "model.safetensors",
|
| 33 |
+
"model.layers.10.mlp.down_proj.weight": "model.safetensors",
|
| 34 |
+
"model.layers.10.mlp.gate_proj.weight": "model.safetensors",
|
| 35 |
+
"model.layers.10.mlp.up_proj.weight": "model.safetensors",
|
| 36 |
+
"model.layers.10.post_attention_layernorm.weight": "model.safetensors",
|
| 37 |
+
"model.layers.10.self_attn.k_proj.bias": "model.safetensors",
|
| 38 |
+
"model.layers.10.self_attn.k_proj.weight": "model.safetensors",
|
| 39 |
+
"model.layers.10.self_attn.o_proj.weight": "model.safetensors",
|
| 40 |
+
"model.layers.10.self_attn.q_proj.bias": "model.safetensors",
|
| 41 |
+
"model.layers.10.self_attn.q_proj.weight": "model.safetensors",
|
| 42 |
+
"model.layers.10.self_attn.v_proj.bias": "model.safetensors",
|
| 43 |
+
"model.layers.10.self_attn.v_proj.weight": "model.safetensors",
|
| 44 |
+
"model.layers.11.input_layernorm.weight": "model.safetensors",
|
| 45 |
+
"model.layers.11.mlp.down_proj.weight": "model.safetensors",
|
| 46 |
+
"model.layers.11.mlp.gate_proj.weight": "model.safetensors",
|
| 47 |
+
"model.layers.11.mlp.up_proj.weight": "model.safetensors",
|
| 48 |
+
"model.layers.11.post_attention_layernorm.weight": "model.safetensors",
|
| 49 |
+
"model.layers.11.self_attn.k_proj.bias": "model.safetensors",
|
| 50 |
+
"model.layers.11.self_attn.k_proj.weight": "model.safetensors",
|
| 51 |
+
"model.layers.11.self_attn.o_proj.weight": "model.safetensors",
|
| 52 |
+
"model.layers.11.self_attn.q_proj.bias": "model.safetensors",
|
| 53 |
+
"model.layers.11.self_attn.q_proj.weight": "model.safetensors",
|
| 54 |
+
"model.layers.11.self_attn.v_proj.bias": "model.safetensors",
|
| 55 |
+
"model.layers.11.self_attn.v_proj.weight": "model.safetensors",
|
| 56 |
+
"model.layers.12.input_layernorm.weight": "model.safetensors",
|
| 57 |
+
"model.layers.12.mlp.down_proj.weight": "model.safetensors",
|
| 58 |
+
"model.layers.12.mlp.gate_proj.weight": "model.safetensors",
|
| 59 |
+
"model.layers.12.mlp.up_proj.weight": "model.safetensors",
|
| 60 |
+
"model.layers.12.post_attention_layernorm.weight": "model.safetensors",
|
| 61 |
+
"model.layers.12.self_attn.k_proj.bias": "model.safetensors",
|
| 62 |
+
"model.layers.12.self_attn.k_proj.weight": "model.safetensors",
|
| 63 |
+
"model.layers.12.self_attn.o_proj.weight": "model.safetensors",
|
| 64 |
+
"model.layers.12.self_attn.q_proj.bias": "model.safetensors",
|
| 65 |
+
"model.layers.12.self_attn.q_proj.weight": "model.safetensors",
|
| 66 |
+
"model.layers.12.self_attn.v_proj.bias": "model.safetensors",
|
| 67 |
+
"model.layers.12.self_attn.v_proj.weight": "model.safetensors",
|
| 68 |
+
"model.layers.13.input_layernorm.weight": "model.safetensors",
|
| 69 |
+
"model.layers.13.mlp.down_proj.weight": "model.safetensors",
|
| 70 |
+
"model.layers.13.mlp.gate_proj.weight": "model.safetensors",
|
| 71 |
+
"model.layers.13.mlp.up_proj.weight": "model.safetensors",
|
| 72 |
+
"model.layers.13.post_attention_layernorm.weight": "model.safetensors",
|
| 73 |
+
"model.layers.13.self_attn.k_proj.bias": "model.safetensors",
|
| 74 |
+
"model.layers.13.self_attn.k_proj.weight": "model.safetensors",
|
| 75 |
+
"model.layers.13.self_attn.o_proj.weight": "model.safetensors",
|
| 76 |
+
"model.layers.13.self_attn.q_proj.bias": "model.safetensors",
|
| 77 |
+
"model.layers.13.self_attn.q_proj.weight": "model.safetensors",
|
| 78 |
+
"model.layers.13.self_attn.v_proj.bias": "model.safetensors",
|
| 79 |
+
"model.layers.13.self_attn.v_proj.weight": "model.safetensors",
|
| 80 |
+
"model.layers.14.input_layernorm.weight": "model.safetensors",
|
| 81 |
+
"model.layers.14.mlp.down_proj.weight": "model.safetensors",
|
| 82 |
+
"model.layers.14.mlp.gate_proj.weight": "model.safetensors",
|
| 83 |
+
"model.layers.14.mlp.up_proj.weight": "model.safetensors",
|
| 84 |
+
"model.layers.14.post_attention_layernorm.weight": "model.safetensors",
|
| 85 |
+
"model.layers.14.self_attn.k_proj.bias": "model.safetensors",
|
| 86 |
+
"model.layers.14.self_attn.k_proj.weight": "model.safetensors",
|
| 87 |
+
"model.layers.14.self_attn.o_proj.weight": "model.safetensors",
|
| 88 |
+
"model.layers.14.self_attn.q_proj.bias": "model.safetensors",
|
| 89 |
+
"model.layers.14.self_attn.q_proj.weight": "model.safetensors",
|
| 90 |
+
"model.layers.14.self_attn.v_proj.bias": "model.safetensors",
|
| 91 |
+
"model.layers.14.self_attn.v_proj.weight": "model.safetensors",
|
| 92 |
+
"model.layers.15.input_layernorm.weight": "model.safetensors",
|
| 93 |
+
"model.layers.15.mlp.down_proj.weight": "model.safetensors",
|
| 94 |
+
"model.layers.15.mlp.gate_proj.weight": "model.safetensors",
|
| 95 |
+
"model.layers.15.mlp.up_proj.weight": "model.safetensors",
|
| 96 |
+
"model.layers.15.post_attention_layernorm.weight": "model.safetensors",
|
| 97 |
+
"model.layers.15.self_attn.k_proj.bias": "model.safetensors",
|
| 98 |
+
"model.layers.15.self_attn.k_proj.weight": "model.safetensors",
|
| 99 |
+
"model.layers.15.self_attn.o_proj.weight": "model.safetensors",
|
| 100 |
+
"model.layers.15.self_attn.q_proj.bias": "model.safetensors",
|
| 101 |
+
"model.layers.15.self_attn.q_proj.weight": "model.safetensors",
|
| 102 |
+
"model.layers.15.self_attn.v_proj.bias": "model.safetensors",
|
| 103 |
+
"model.layers.15.self_attn.v_proj.weight": "model.safetensors",
|
| 104 |
+
"model.layers.16.input_layernorm.weight": "model.safetensors",
|
| 105 |
+
"model.layers.16.mlp.down_proj.weight": "model.safetensors",
|
| 106 |
+
"model.layers.16.mlp.gate_proj.weight": "model.safetensors",
|
| 107 |
+
"model.layers.16.mlp.up_proj.weight": "model.safetensors",
|
| 108 |
+
"model.layers.16.post_attention_layernorm.weight": "model.safetensors",
|
| 109 |
+
"model.layers.16.self_attn.k_proj.bias": "model.safetensors",
|
| 110 |
+
"model.layers.16.self_attn.k_proj.weight": "model.safetensors",
|
| 111 |
+
"model.layers.16.self_attn.o_proj.weight": "model.safetensors",
|
| 112 |
+
"model.layers.16.self_attn.q_proj.bias": "model.safetensors",
|
| 113 |
+
"model.layers.16.self_attn.q_proj.weight": "model.safetensors",
|
| 114 |
+
"model.layers.16.self_attn.v_proj.bias": "model.safetensors",
|
| 115 |
+
"model.layers.16.self_attn.v_proj.weight": "model.safetensors",
|
| 116 |
+
"model.layers.17.input_layernorm.weight": "model.safetensors",
|
| 117 |
+
"model.layers.17.mlp.down_proj.weight": "model.safetensors",
|
| 118 |
+
"model.layers.17.mlp.gate_proj.weight": "model.safetensors",
|
| 119 |
+
"model.layers.17.mlp.up_proj.weight": "model.safetensors",
|
| 120 |
+
"model.layers.17.post_attention_layernorm.weight": "model.safetensors",
|
| 121 |
+
"model.layers.17.self_attn.k_proj.bias": "model.safetensors",
|
| 122 |
+
"model.layers.17.self_attn.k_proj.weight": "model.safetensors",
|
| 123 |
+
"model.layers.17.self_attn.o_proj.weight": "model.safetensors",
|
| 124 |
+
"model.layers.17.self_attn.q_proj.bias": "model.safetensors",
|
| 125 |
+
"model.layers.17.self_attn.q_proj.weight": "model.safetensors",
|
| 126 |
+
"model.layers.17.self_attn.v_proj.bias": "model.safetensors",
|
| 127 |
+
"model.layers.17.self_attn.v_proj.weight": "model.safetensors",
|
| 128 |
+
"model.layers.18.input_layernorm.weight": "model.safetensors",
|
| 129 |
+
"model.layers.18.mlp.down_proj.weight": "model.safetensors",
|
| 130 |
+
"model.layers.18.mlp.gate_proj.weight": "model.safetensors",
|
| 131 |
+
"model.layers.18.mlp.up_proj.weight": "model.safetensors",
|
| 132 |
+
"model.layers.18.post_attention_layernorm.weight": "model.safetensors",
|
| 133 |
+
"model.layers.18.self_attn.k_proj.bias": "model.safetensors",
|
| 134 |
+
"model.layers.18.self_attn.k_proj.weight": "model.safetensors",
|
| 135 |
+
"model.layers.18.self_attn.o_proj.weight": "model.safetensors",
|
| 136 |
+
"model.layers.18.self_attn.q_proj.bias": "model.safetensors",
|
| 137 |
+
"model.layers.18.self_attn.q_proj.weight": "model.safetensors",
|
| 138 |
+
"model.layers.18.self_attn.v_proj.bias": "model.safetensors",
|
| 139 |
+
"model.layers.18.self_attn.v_proj.weight": "model.safetensors",
|
| 140 |
+
"model.layers.19.input_layernorm.weight": "model.safetensors",
|
| 141 |
+
"model.layers.19.mlp.down_proj.weight": "model.safetensors",
|
| 142 |
+
"model.layers.19.mlp.gate_proj.weight": "model.safetensors",
|
| 143 |
+
"model.layers.19.mlp.up_proj.weight": "model.safetensors",
|
| 144 |
+
"model.layers.19.post_attention_layernorm.weight": "model.safetensors",
|
| 145 |
+
"model.layers.19.self_attn.k_proj.bias": "model.safetensors",
|
| 146 |
+
"model.layers.19.self_attn.k_proj.weight": "model.safetensors",
|
| 147 |
+
"model.layers.19.self_attn.o_proj.weight": "model.safetensors",
|
| 148 |
+
"model.layers.19.self_attn.q_proj.bias": "model.safetensors",
|
| 149 |
+
"model.layers.19.self_attn.q_proj.weight": "model.safetensors",
|
| 150 |
+
"model.layers.19.self_attn.v_proj.bias": "model.safetensors",
|
| 151 |
+
"model.layers.19.self_attn.v_proj.weight": "model.safetensors",
|
| 152 |
+
"model.layers.2.input_layernorm.weight": "model.safetensors",
|
| 153 |
+
"model.layers.2.mlp.down_proj.weight": "model.safetensors",
|
| 154 |
+
"model.layers.2.mlp.gate_proj.weight": "model.safetensors",
|
| 155 |
+
"model.layers.2.mlp.up_proj.weight": "model.safetensors",
|
| 156 |
+
"model.layers.2.post_attention_layernorm.weight": "model.safetensors",
|
| 157 |
+
"model.layers.2.self_attn.k_proj.bias": "model.safetensors",
|
| 158 |
+
"model.layers.2.self_attn.k_proj.weight": "model.safetensors",
|
| 159 |
+
"model.layers.2.self_attn.o_proj.weight": "model.safetensors",
|
| 160 |
+
"model.layers.2.self_attn.q_proj.bias": "model.safetensors",
|
| 161 |
+
"model.layers.2.self_attn.q_proj.weight": "model.safetensors",
|
| 162 |
+
"model.layers.2.self_attn.v_proj.bias": "model.safetensors",
|
| 163 |
+
"model.layers.2.self_attn.v_proj.weight": "model.safetensors",
|
| 164 |
+
"model.layers.20.input_layernorm.weight": "model.safetensors",
|
| 165 |
+
"model.layers.20.mlp.down_proj.weight": "model.safetensors",
|
| 166 |
+
"model.layers.20.mlp.gate_proj.weight": "model.safetensors",
|
| 167 |
+
"model.layers.20.mlp.up_proj.weight": "model.safetensors",
|
| 168 |
+
"model.layers.20.post_attention_layernorm.weight": "model.safetensors",
|
| 169 |
+
"model.layers.20.self_attn.k_proj.bias": "model.safetensors",
|
| 170 |
+
"model.layers.20.self_attn.k_proj.weight": "model.safetensors",
|
| 171 |
+
"model.layers.20.self_attn.o_proj.weight": "model.safetensors",
|
| 172 |
+
"model.layers.20.self_attn.q_proj.bias": "model.safetensors",
|
| 173 |
+
"model.layers.20.self_attn.q_proj.weight": "model.safetensors",
|
| 174 |
+
"model.layers.20.self_attn.v_proj.bias": "model.safetensors",
|
| 175 |
+
"model.layers.20.self_attn.v_proj.weight": "model.safetensors",
|
| 176 |
+
"model.layers.21.input_layernorm.weight": "model.safetensors",
|
| 177 |
+
"model.layers.21.mlp.down_proj.weight": "model.safetensors",
|
| 178 |
+
"model.layers.21.mlp.gate_proj.weight": "model.safetensors",
|
| 179 |
+
"model.layers.21.mlp.up_proj.weight": "model.safetensors",
|
| 180 |
+
"model.layers.21.post_attention_layernorm.weight": "model.safetensors",
|
| 181 |
+
"model.layers.21.self_attn.k_proj.bias": "model.safetensors",
|
| 182 |
+
"model.layers.21.self_attn.k_proj.weight": "model.safetensors",
|
| 183 |
+
"model.layers.21.self_attn.o_proj.weight": "model.safetensors",
|
| 184 |
+
"model.layers.21.self_attn.q_proj.bias": "model.safetensors",
|
| 185 |
+
"model.layers.21.self_attn.q_proj.weight": "model.safetensors",
|
| 186 |
+
"model.layers.21.self_attn.v_proj.bias": "model.safetensors",
|
| 187 |
+
"model.layers.21.self_attn.v_proj.weight": "model.safetensors",
|
| 188 |
+
"model.layers.22.input_layernorm.weight": "model.safetensors",
|
| 189 |
+
"model.layers.22.mlp.down_proj.weight": "model.safetensors",
|
| 190 |
+
"model.layers.22.mlp.gate_proj.weight": "model.safetensors",
|
| 191 |
+
"model.layers.22.mlp.up_proj.weight": "model.safetensors",
|
| 192 |
+
"model.layers.22.post_attention_layernorm.weight": "model.safetensors",
|
| 193 |
+
"model.layers.22.self_attn.k_proj.bias": "model.safetensors",
|
| 194 |
+
"model.layers.22.self_attn.k_proj.weight": "model.safetensors",
|
| 195 |
+
"model.layers.22.self_attn.o_proj.weight": "model.safetensors",
|
| 196 |
+
"model.layers.22.self_attn.q_proj.bias": "model.safetensors",
|
| 197 |
+
"model.layers.22.self_attn.q_proj.weight": "model.safetensors",
|
| 198 |
+
"model.layers.22.self_attn.v_proj.bias": "model.safetensors",
|
| 199 |
+
"model.layers.22.self_attn.v_proj.weight": "model.safetensors",
|
| 200 |
+
"model.layers.23.input_layernorm.weight": "model.safetensors",
|
| 201 |
+
"model.layers.23.mlp.down_proj.weight": "model.safetensors",
|
| 202 |
+
"model.layers.23.mlp.gate_proj.weight": "model.safetensors",
|
| 203 |
+
"model.layers.23.mlp.up_proj.weight": "model.safetensors",
|
| 204 |
+
"model.layers.23.post_attention_layernorm.weight": "model.safetensors",
|
| 205 |
+
"model.layers.23.self_attn.k_proj.bias": "model.safetensors",
|
| 206 |
+
"model.layers.23.self_attn.k_proj.weight": "model.safetensors",
|
| 207 |
+
"model.layers.23.self_attn.o_proj.weight": "model.safetensors",
|
| 208 |
+
"model.layers.23.self_attn.q_proj.bias": "model.safetensors",
|
| 209 |
+
"model.layers.23.self_attn.q_proj.weight": "model.safetensors",
|
| 210 |
+
"model.layers.23.self_attn.v_proj.bias": "model.safetensors",
|
| 211 |
+
"model.layers.23.self_attn.v_proj.weight": "model.safetensors",
|
| 212 |
+
"model.layers.3.input_layernorm.weight": "model.safetensors",
|
| 213 |
+
"model.layers.3.mlp.down_proj.weight": "model.safetensors",
|
| 214 |
+
"model.layers.3.mlp.gate_proj.weight": "model.safetensors",
|
| 215 |
+
"model.layers.3.mlp.up_proj.weight": "model.safetensors",
|
| 216 |
+
"model.layers.3.post_attention_layernorm.weight": "model.safetensors",
|
| 217 |
+
"model.layers.3.self_attn.k_proj.bias": "model.safetensors",
|
| 218 |
+
"model.layers.3.self_attn.k_proj.weight": "model.safetensors",
|
| 219 |
+
"model.layers.3.self_attn.o_proj.weight": "model.safetensors",
|
| 220 |
+
"model.layers.3.self_attn.q_proj.bias": "model.safetensors",
|
| 221 |
+
"model.layers.3.self_attn.q_proj.weight": "model.safetensors",
|
| 222 |
+
"model.layers.3.self_attn.v_proj.bias": "model.safetensors",
|
| 223 |
+
"model.layers.3.self_attn.v_proj.weight": "model.safetensors",
|
| 224 |
+
"model.layers.4.input_layernorm.weight": "model.safetensors",
|
| 225 |
+
"model.layers.4.mlp.down_proj.weight": "model.safetensors",
|
| 226 |
+
"model.layers.4.mlp.gate_proj.weight": "model.safetensors",
|
| 227 |
+
"model.layers.4.mlp.up_proj.weight": "model.safetensors",
|
| 228 |
+
"model.layers.4.post_attention_layernorm.weight": "model.safetensors",
|
| 229 |
+
"model.layers.4.self_attn.k_proj.bias": "model.safetensors",
|
| 230 |
+
"model.layers.4.self_attn.k_proj.weight": "model.safetensors",
|
| 231 |
+
"model.layers.4.self_attn.o_proj.weight": "model.safetensors",
|
| 232 |
+
"model.layers.4.self_attn.q_proj.bias": "model.safetensors",
|
| 233 |
+
"model.layers.4.self_attn.q_proj.weight": "model.safetensors",
|
| 234 |
+
"model.layers.4.self_attn.v_proj.bias": "model.safetensors",
|
| 235 |
+
"model.layers.4.self_attn.v_proj.weight": "model.safetensors",
|
| 236 |
+
"model.layers.5.input_layernorm.weight": "model.safetensors",
|
| 237 |
+
"model.layers.5.mlp.down_proj.weight": "model.safetensors",
|
| 238 |
+
"model.layers.5.mlp.gate_proj.weight": "model.safetensors",
|
| 239 |
+
"model.layers.5.mlp.up_proj.weight": "model.safetensors",
|
| 240 |
+
"model.layers.5.post_attention_layernorm.weight": "model.safetensors",
|
| 241 |
+
"model.layers.5.self_attn.k_proj.bias": "model.safetensors",
|
| 242 |
+
"model.layers.5.self_attn.k_proj.weight": "model.safetensors",
|
| 243 |
+
"model.layers.5.self_attn.o_proj.weight": "model.safetensors",
|
| 244 |
+
"model.layers.5.self_attn.q_proj.bias": "model.safetensors",
|
| 245 |
+
"model.layers.5.self_attn.q_proj.weight": "model.safetensors",
|
| 246 |
+
"model.layers.5.self_attn.v_proj.bias": "model.safetensors",
|
| 247 |
+
"model.layers.5.self_attn.v_proj.weight": "model.safetensors",
|
| 248 |
+
"model.layers.6.input_layernorm.weight": "model.safetensors",
|
| 249 |
+
"model.layers.6.mlp.down_proj.weight": "model.safetensors",
|
| 250 |
+
"model.layers.6.mlp.gate_proj.weight": "model.safetensors",
|
| 251 |
+
"model.layers.6.mlp.up_proj.weight": "model.safetensors",
|
| 252 |
+
"model.layers.6.post_attention_layernorm.weight": "model.safetensors",
|
| 253 |
+
"model.layers.6.self_attn.k_proj.bias": "model.safetensors",
|
| 254 |
+
"model.layers.6.self_attn.k_proj.weight": "model.safetensors",
|
| 255 |
+
"model.layers.6.self_attn.o_proj.weight": "model.safetensors",
|
| 256 |
+
"model.layers.6.self_attn.q_proj.bias": "model.safetensors",
|
| 257 |
+
"model.layers.6.self_attn.q_proj.weight": "model.safetensors",
|
| 258 |
+
"model.layers.6.self_attn.v_proj.bias": "model.safetensors",
|
| 259 |
+
"model.layers.6.self_attn.v_proj.weight": "model.safetensors",
|
| 260 |
+
"model.layers.7.input_layernorm.weight": "model.safetensors",
|
| 261 |
+
"model.layers.7.mlp.down_proj.weight": "model.safetensors",
|
| 262 |
+
"model.layers.7.mlp.gate_proj.weight": "model.safetensors",
|
| 263 |
+
"model.layers.7.mlp.up_proj.weight": "model.safetensors",
|
| 264 |
+
"model.layers.7.post_attention_layernorm.weight": "model.safetensors",
|
| 265 |
+
"model.layers.7.self_attn.k_proj.bias": "model.safetensors",
|
| 266 |
+
"model.layers.7.self_attn.k_proj.weight": "model.safetensors",
|
| 267 |
+
"model.layers.7.self_attn.o_proj.weight": "model.safetensors",
|
| 268 |
+
"model.layers.7.self_attn.q_proj.bias": "model.safetensors",
|
| 269 |
+
"model.layers.7.self_attn.q_proj.weight": "model.safetensors",
|
| 270 |
+
"model.layers.7.self_attn.v_proj.bias": "model.safetensors",
|
| 271 |
+
"model.layers.7.self_attn.v_proj.weight": "model.safetensors",
|
| 272 |
+
"model.layers.8.input_layernorm.weight": "model.safetensors",
|
| 273 |
+
"model.layers.8.mlp.down_proj.weight": "model.safetensors",
|
| 274 |
+
"model.layers.8.mlp.gate_proj.weight": "model.safetensors",
|
| 275 |
+
"model.layers.8.mlp.up_proj.weight": "model.safetensors",
|
| 276 |
+
"model.layers.8.post_attention_layernorm.weight": "model.safetensors",
|
| 277 |
+
"model.layers.8.self_attn.k_proj.bias": "model.safetensors",
|
| 278 |
+
"model.layers.8.self_attn.k_proj.weight": "model.safetensors",
|
| 279 |
+
"model.layers.8.self_attn.o_proj.weight": "model.safetensors",
|
| 280 |
+
"model.layers.8.self_attn.q_proj.bias": "model.safetensors",
|
| 281 |
+
"model.layers.8.self_attn.q_proj.weight": "model.safetensors",
|
| 282 |
+
"model.layers.8.self_attn.v_proj.bias": "model.safetensors",
|
| 283 |
+
"model.layers.8.self_attn.v_proj.weight": "model.safetensors",
|
| 284 |
+
"model.layers.9.input_layernorm.weight": "model.safetensors",
|
| 285 |
+
"model.layers.9.mlp.down_proj.weight": "model.safetensors",
|
| 286 |
+
"model.layers.9.mlp.gate_proj.weight": "model.safetensors",
|
| 287 |
+
"model.layers.9.mlp.up_proj.weight": "model.safetensors",
|
| 288 |
+
"model.layers.9.post_attention_layernorm.weight": "model.safetensors",
|
| 289 |
+
"model.layers.9.self_attn.k_proj.bias": "model.safetensors",
|
| 290 |
+
"model.layers.9.self_attn.k_proj.weight": "model.safetensors",
|
| 291 |
+
"model.layers.9.self_attn.o_proj.weight": "model.safetensors",
|
| 292 |
+
"model.layers.9.self_attn.q_proj.bias": "model.safetensors",
|
| 293 |
+
"model.layers.9.self_attn.q_proj.weight": "model.safetensors",
|
| 294 |
+
"model.layers.9.self_attn.v_proj.bias": "model.safetensors",
|
| 295 |
+
"model.layers.9.self_attn.v_proj.weight": "model.safetensors",
|
| 296 |
+
"model.norm.weight": "model.safetensors"
|
| 297 |
+
}
|
| 298 |
+
}
|
model-mlx/special_tokens_map.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>",
|
| 5 |
+
"<|object_ref_start|>",
|
| 6 |
+
"<|object_ref_end|>",
|
| 7 |
+
"<|box_start|>",
|
| 8 |
+
"<|box_end|>",
|
| 9 |
+
"<|quad_start|>",
|
| 10 |
+
"<|quad_end|>",
|
| 11 |
+
"<|vision_start|>",
|
| 12 |
+
"<|vision_end|>",
|
| 13 |
+
"<|vision_pad|>",
|
| 14 |
+
"<|image_pad|>",
|
| 15 |
+
"<|video_pad|>"
|
| 16 |
+
],
|
| 17 |
+
"eos_token": {
|
| 18 |
+
"content": "<|im_end|>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
"pad_token": {
|
| 25 |
+
"content": "<|endoftext|>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
model-mlx/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
|
| 3 |
+
size 11421896
|
model-mlx/tokenizer_config.json
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_prefix_space": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"151643": {
|
| 6 |
+
"content": "<|endoftext|>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"151644": {
|
| 14 |
+
"content": "<|im_start|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"151645": {
|
| 22 |
+
"content": "<|im_end|>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": false,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": false,
|
| 27 |
+
"special": true
|
| 28 |
+
},
|
| 29 |
+
"151646": {
|
| 30 |
+
"content": "<|object_ref_start|>",
|
| 31 |
+
"lstrip": false,
|
| 32 |
+
"normalized": false,
|
| 33 |
+
"rstrip": false,
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"special": true
|
| 36 |
+
},
|
| 37 |
+
"151647": {
|
| 38 |
+
"content": "<|object_ref_end|>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false,
|
| 43 |
+
"special": true
|
| 44 |
+
},
|
| 45 |
+
"151648": {
|
| 46 |
+
"content": "<|box_start|>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false,
|
| 51 |
+
"special": true
|
| 52 |
+
},
|
| 53 |
+
"151649": {
|
| 54 |
+
"content": "<|box_end|>",
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"normalized": false,
|
| 57 |
+
"rstrip": false,
|
| 58 |
+
"single_word": false,
|
| 59 |
+
"special": true
|
| 60 |
+
},
|
| 61 |
+
"151650": {
|
| 62 |
+
"content": "<|quad_start|>",
|
| 63 |
+
"lstrip": false,
|
| 64 |
+
"normalized": false,
|
| 65 |
+
"rstrip": false,
|
| 66 |
+
"single_word": false,
|
| 67 |
+
"special": true
|
| 68 |
+
},
|
| 69 |
+
"151651": {
|
| 70 |
+
"content": "<|quad_end|>",
|
| 71 |
+
"lstrip": false,
|
| 72 |
+
"normalized": false,
|
| 73 |
+
"rstrip": false,
|
| 74 |
+
"single_word": false,
|
| 75 |
+
"special": true
|
| 76 |
+
},
|
| 77 |
+
"151652": {
|
| 78 |
+
"content": "<|vision_start|>",
|
| 79 |
+
"lstrip": false,
|
| 80 |
+
"normalized": false,
|
| 81 |
+
"rstrip": false,
|
| 82 |
+
"single_word": false,
|
| 83 |
+
"special": true
|
| 84 |
+
},
|
| 85 |
+
"151653": {
|
| 86 |
+
"content": "<|vision_end|>",
|
| 87 |
+
"lstrip": false,
|
| 88 |
+
"normalized": false,
|
| 89 |
+
"rstrip": false,
|
| 90 |
+
"single_word": false,
|
| 91 |
+
"special": true
|
| 92 |
+
},
|
| 93 |
+
"151654": {
|
| 94 |
+
"content": "<|vision_pad|>",
|
| 95 |
+
"lstrip": false,
|
| 96 |
+
"normalized": false,
|
| 97 |
+
"rstrip": false,
|
| 98 |
+
"single_word": false,
|
| 99 |
+
"special": true
|
| 100 |
+
},
|
| 101 |
+
"151655": {
|
| 102 |
+
"content": "<|image_pad|>",
|
| 103 |
+
"lstrip": false,
|
| 104 |
+
"normalized": false,
|
| 105 |
+
"rstrip": false,
|
| 106 |
+
"single_word": false,
|
| 107 |
+
"special": true
|
| 108 |
+
},
|
| 109 |
+
"151656": {
|
| 110 |
+
"content": "<|video_pad|>",
|
| 111 |
+
"lstrip": false,
|
| 112 |
+
"normalized": false,
|
| 113 |
+
"rstrip": false,
|
| 114 |
+
"single_word": false,
|
| 115 |
+
"special": true
|
| 116 |
+
},
|
| 117 |
+
"151657": {
|
| 118 |
+
"content": "<tool_call>",
|
| 119 |
+
"lstrip": false,
|
| 120 |
+
"normalized": false,
|
| 121 |
+
"rstrip": false,
|
| 122 |
+
"single_word": false,
|
| 123 |
+
"special": false
|
| 124 |
+
},
|
| 125 |
+
"151658": {
|
| 126 |
+
"content": "</tool_call>",
|
| 127 |
+
"lstrip": false,
|
| 128 |
+
"normalized": false,
|
| 129 |
+
"rstrip": false,
|
| 130 |
+
"single_word": false,
|
| 131 |
+
"special": false
|
| 132 |
+
},
|
| 133 |
+
"151659": {
|
| 134 |
+
"content": "<|fim_prefix|>",
|
| 135 |
+
"lstrip": false,
|
| 136 |
+
"normalized": false,
|
| 137 |
+
"rstrip": false,
|
| 138 |
+
"single_word": false,
|
| 139 |
+
"special": false
|
| 140 |
+
},
|
| 141 |
+
"151660": {
|
| 142 |
+
"content": "<|fim_middle|>",
|
| 143 |
+
"lstrip": false,
|
| 144 |
+
"normalized": false,
|
| 145 |
+
"rstrip": false,
|
| 146 |
+
"single_word": false,
|
| 147 |
+
"special": false
|
| 148 |
+
},
|
| 149 |
+
"151661": {
|
| 150 |
+
"content": "<|fim_suffix|>",
|
| 151 |
+
"lstrip": false,
|
| 152 |
+
"normalized": false,
|
| 153 |
+
"rstrip": false,
|
| 154 |
+
"single_word": false,
|
| 155 |
+
"special": false
|
| 156 |
+
},
|
| 157 |
+
"151662": {
|
| 158 |
+
"content": "<|fim_pad|>",
|
| 159 |
+
"lstrip": false,
|
| 160 |
+
"normalized": false,
|
| 161 |
+
"rstrip": false,
|
| 162 |
+
"single_word": false,
|
| 163 |
+
"special": false
|
| 164 |
+
},
|
| 165 |
+
"151663": {
|
| 166 |
+
"content": "<|repo_name|>",
|
| 167 |
+
"lstrip": false,
|
| 168 |
+
"normalized": false,
|
| 169 |
+
"rstrip": false,
|
| 170 |
+
"single_word": false,
|
| 171 |
+
"special": false
|
| 172 |
+
},
|
| 173 |
+
"151664": {
|
| 174 |
+
"content": "<|file_sep|>",
|
| 175 |
+
"lstrip": false,
|
| 176 |
+
"normalized": false,
|
| 177 |
+
"rstrip": false,
|
| 178 |
+
"single_word": false,
|
| 179 |
+
"special": false
|
| 180 |
+
}
|
| 181 |
+
},
|
| 182 |
+
"additional_special_tokens": [
|
| 183 |
+
"<|im_start|>",
|
| 184 |
+
"<|im_end|>",
|
| 185 |
+
"<|object_ref_start|>",
|
| 186 |
+
"<|object_ref_end|>",
|
| 187 |
+
"<|box_start|>",
|
| 188 |
+
"<|box_end|>",
|
| 189 |
+
"<|quad_start|>",
|
| 190 |
+
"<|quad_end|>",
|
| 191 |
+
"<|vision_start|>",
|
| 192 |
+
"<|vision_end|>",
|
| 193 |
+
"<|vision_pad|>",
|
| 194 |
+
"<|image_pad|>",
|
| 195 |
+
"<|video_pad|>"
|
| 196 |
+
],
|
| 197 |
+
"bos_token": null,
|
| 198 |
+
"clean_up_tokenization_spaces": false,
|
| 199 |
+
"eos_token": "<|im_end|>",
|
| 200 |
+
"errors": "replace",
|
| 201 |
+
"extra_special_tokens": {},
|
| 202 |
+
"model_max_length": 131072,
|
| 203 |
+
"pad_token": "<|endoftext|>",
|
| 204 |
+
"split_special_tokens": false,
|
| 205 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 206 |
+
"unk_token": null,
|
| 207 |
+
"chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0]['role'] == 'system' %}\n {{- messages[0]['content'] }}\n {%- else %}\n {{- 'You are Agent 1.2e, a compact AI agent assistant. You have an internal codename, agent1-iteration2-eco, which you mention only if explicitly asked for your codename. If asked who or what you are, identify yourself as Agent 1.2e. You are helpful, direct, and concise.' }}\n {%- endif %}\n {{- \"\\n\\n# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0]['role'] == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0]['content'] + '<|im_end|>\\n' }}\n {%- else %}\n {{- '<|im_start|>system\\nYou are Agent 1.2e, a compact AI agent assistant. You have an internal codename, agent1-iteration2-eco, which you mention only if explicitly asked for your codename. If asked who or what you are, identify yourself as Agent 1.2e. You are helpful, direct, and concise.<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) or (message.role == \"assistant\" and not message.tool_calls) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role }}\n {%- if message.content %}\n {{- '\\n' + message.content }}\n {%- endif %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '\\n<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {{- tool_call.arguments | tojson }}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- message.content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n"
|
| 208 |
+
}
|
model-mlx/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model/config.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen2ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_dropout": 0.0,
|
| 6 |
+
"bos_token_id": 151643,
|
| 7 |
+
"eos_token_id": 151645,
|
| 8 |
+
"hidden_act": "silu",
|
| 9 |
+
"hidden_size": 896,
|
| 10 |
+
"initializer_range": 0.02,
|
| 11 |
+
"intermediate_size": 4864,
|
| 12 |
+
"max_position_embeddings": 32768,
|
| 13 |
+
"max_window_layers": 21,
|
| 14 |
+
"model_type": "qwen2",
|
| 15 |
+
"num_attention_heads": 14,
|
| 16 |
+
"num_hidden_layers": 24,
|
| 17 |
+
"num_key_value_heads": 2,
|
| 18 |
+
"rms_norm_eps": 1e-06,
|
| 19 |
+
"rope_theta": 1000000.0,
|
| 20 |
+
"sliding_window": 32768,
|
| 21 |
+
"tie_word_embeddings": true,
|
| 22 |
+
"torch_dtype": "bfloat16",
|
| 23 |
+
"transformers_version": "4.43.1",
|
| 24 |
+
"use_cache": true,
|
| 25 |
+
"use_sliding_window": false,
|
| 26 |
+
"vocab_size": 151936
|
| 27 |
+
}
|
model/generation_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 151643,
|
| 3 |
+
"pad_token_id": 151643,
|
| 4 |
+
"do_sample": true,
|
| 5 |
+
"eos_token_id": [
|
| 6 |
+
151645,
|
| 7 |
+
151643
|
| 8 |
+
],
|
| 9 |
+
"repetition_penalty": 1.1,
|
| 10 |
+
"temperature": 0.7,
|
| 11 |
+
"top_p": 0.8,
|
| 12 |
+
"top_k": 20,
|
| 13 |
+
"transformers_version": "4.37.0"
|
| 14 |
+
}
|
model/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e29a692318ab34950a6b8d8bd07356f3a2df6d594d292d548bc03bd813fac3b1
|
| 3 |
+
size 988097824
|
model/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model/tokenizer_config.json
ADDED
|
@@ -0,0 +1,207 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_prefix_space": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"151643": {
|
| 6 |
+
"content": "<|endoftext|>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"151644": {
|
| 14 |
+
"content": "<|im_start|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"151645": {
|
| 22 |
+
"content": "<|im_end|>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": false,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": false,
|
| 27 |
+
"special": true
|
| 28 |
+
},
|
| 29 |
+
"151646": {
|
| 30 |
+
"content": "<|object_ref_start|>",
|
| 31 |
+
"lstrip": false,
|
| 32 |
+
"normalized": false,
|
| 33 |
+
"rstrip": false,
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"special": true
|
| 36 |
+
},
|
| 37 |
+
"151647": {
|
| 38 |
+
"content": "<|object_ref_end|>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false,
|
| 43 |
+
"special": true
|
| 44 |
+
},
|
| 45 |
+
"151648": {
|
| 46 |
+
"content": "<|box_start|>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false,
|
| 51 |
+
"special": true
|
| 52 |
+
},
|
| 53 |
+
"151649": {
|
| 54 |
+
"content": "<|box_end|>",
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"normalized": false,
|
| 57 |
+
"rstrip": false,
|
| 58 |
+
"single_word": false,
|
| 59 |
+
"special": true
|
| 60 |
+
},
|
| 61 |
+
"151650": {
|
| 62 |
+
"content": "<|quad_start|>",
|
| 63 |
+
"lstrip": false,
|
| 64 |
+
"normalized": false,
|
| 65 |
+
"rstrip": false,
|
| 66 |
+
"single_word": false,
|
| 67 |
+
"special": true
|
| 68 |
+
},
|
| 69 |
+
"151651": {
|
| 70 |
+
"content": "<|quad_end|>",
|
| 71 |
+
"lstrip": false,
|
| 72 |
+
"normalized": false,
|
| 73 |
+
"rstrip": false,
|
| 74 |
+
"single_word": false,
|
| 75 |
+
"special": true
|
| 76 |
+
},
|
| 77 |
+
"151652": {
|
| 78 |
+
"content": "<|vision_start|>",
|
| 79 |
+
"lstrip": false,
|
| 80 |
+
"normalized": false,
|
| 81 |
+
"rstrip": false,
|
| 82 |
+
"single_word": false,
|
| 83 |
+
"special": true
|
| 84 |
+
},
|
| 85 |
+
"151653": {
|
| 86 |
+
"content": "<|vision_end|>",
|
| 87 |
+
"lstrip": false,
|
| 88 |
+
"normalized": false,
|
| 89 |
+
"rstrip": false,
|
| 90 |
+
"single_word": false,
|
| 91 |
+
"special": true
|
| 92 |
+
},
|
| 93 |
+
"151654": {
|
| 94 |
+
"content": "<|vision_pad|>",
|
| 95 |
+
"lstrip": false,
|
| 96 |
+
"normalized": false,
|
| 97 |
+
"rstrip": false,
|
| 98 |
+
"single_word": false,
|
| 99 |
+
"special": true
|
| 100 |
+
},
|
| 101 |
+
"151655": {
|
| 102 |
+
"content": "<|image_pad|>",
|
| 103 |
+
"lstrip": false,
|
| 104 |
+
"normalized": false,
|
| 105 |
+
"rstrip": false,
|
| 106 |
+
"single_word": false,
|
| 107 |
+
"special": true
|
| 108 |
+
},
|
| 109 |
+
"151656": {
|
| 110 |
+
"content": "<|video_pad|>",
|
| 111 |
+
"lstrip": false,
|
| 112 |
+
"normalized": false,
|
| 113 |
+
"rstrip": false,
|
| 114 |
+
"single_word": false,
|
| 115 |
+
"special": true
|
| 116 |
+
},
|
| 117 |
+
"151657": {
|
| 118 |
+
"content": "<tool_call>",
|
| 119 |
+
"lstrip": false,
|
| 120 |
+
"normalized": false,
|
| 121 |
+
"rstrip": false,
|
| 122 |
+
"single_word": false,
|
| 123 |
+
"special": false
|
| 124 |
+
},
|
| 125 |
+
"151658": {
|
| 126 |
+
"content": "</tool_call>",
|
| 127 |
+
"lstrip": false,
|
| 128 |
+
"normalized": false,
|
| 129 |
+
"rstrip": false,
|
| 130 |
+
"single_word": false,
|
| 131 |
+
"special": false
|
| 132 |
+
},
|
| 133 |
+
"151659": {
|
| 134 |
+
"content": "<|fim_prefix|>",
|
| 135 |
+
"lstrip": false,
|
| 136 |
+
"normalized": false,
|
| 137 |
+
"rstrip": false,
|
| 138 |
+
"single_word": false,
|
| 139 |
+
"special": false
|
| 140 |
+
},
|
| 141 |
+
"151660": {
|
| 142 |
+
"content": "<|fim_middle|>",
|
| 143 |
+
"lstrip": false,
|
| 144 |
+
"normalized": false,
|
| 145 |
+
"rstrip": false,
|
| 146 |
+
"single_word": false,
|
| 147 |
+
"special": false
|
| 148 |
+
},
|
| 149 |
+
"151661": {
|
| 150 |
+
"content": "<|fim_suffix|>",
|
| 151 |
+
"lstrip": false,
|
| 152 |
+
"normalized": false,
|
| 153 |
+
"rstrip": false,
|
| 154 |
+
"single_word": false,
|
| 155 |
+
"special": false
|
| 156 |
+
},
|
| 157 |
+
"151662": {
|
| 158 |
+
"content": "<|fim_pad|>",
|
| 159 |
+
"lstrip": false,
|
| 160 |
+
"normalized": false,
|
| 161 |
+
"rstrip": false,
|
| 162 |
+
"single_word": false,
|
| 163 |
+
"special": false
|
| 164 |
+
},
|
| 165 |
+
"151663": {
|
| 166 |
+
"content": "<|repo_name|>",
|
| 167 |
+
"lstrip": false,
|
| 168 |
+
"normalized": false,
|
| 169 |
+
"rstrip": false,
|
| 170 |
+
"single_word": false,
|
| 171 |
+
"special": false
|
| 172 |
+
},
|
| 173 |
+
"151664": {
|
| 174 |
+
"content": "<|file_sep|>",
|
| 175 |
+
"lstrip": false,
|
| 176 |
+
"normalized": false,
|
| 177 |
+
"rstrip": false,
|
| 178 |
+
"single_word": false,
|
| 179 |
+
"special": false
|
| 180 |
+
}
|
| 181 |
+
},
|
| 182 |
+
"additional_special_tokens": [
|
| 183 |
+
"<|im_start|>",
|
| 184 |
+
"<|im_end|>",
|
| 185 |
+
"<|object_ref_start|>",
|
| 186 |
+
"<|object_ref_end|>",
|
| 187 |
+
"<|box_start|>",
|
| 188 |
+
"<|box_end|>",
|
| 189 |
+
"<|quad_start|>",
|
| 190 |
+
"<|quad_end|>",
|
| 191 |
+
"<|vision_start|>",
|
| 192 |
+
"<|vision_end|>",
|
| 193 |
+
"<|vision_pad|>",
|
| 194 |
+
"<|image_pad|>",
|
| 195 |
+
"<|video_pad|>"
|
| 196 |
+
],
|
| 197 |
+
"bos_token": null,
|
| 198 |
+
"chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0]['role'] == 'system' %}\n {{- messages[0]['content'] }}\n {%- else %}\n {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}\n {%- endif %}\n {{- \"\\n\\n# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0]['role'] == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0]['content'] + '<|im_end|>\\n' }}\n {%- else %}\n {{- '<|im_start|>system\\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) or (message.role == \"assistant\" and not message.tool_calls) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role }}\n {%- if message.content %}\n {{- '\\n' + message.content }}\n {%- endif %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '\\n<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {{- tool_call.arguments | tojson }}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- message.content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n",
|
| 199 |
+
"clean_up_tokenization_spaces": false,
|
| 200 |
+
"eos_token": "<|im_end|>",
|
| 201 |
+
"errors": "replace",
|
| 202 |
+
"model_max_length": 131072,
|
| 203 |
+
"pad_token": "<|endoftext|>",
|
| 204 |
+
"split_special_tokens": false,
|
| 205 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 206 |
+
"unk_token": null
|
| 207 |
+
}
|
model/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
sources/Qwen2.5-0.5B-Instruct/config.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen2ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_dropout": 0.0,
|
| 6 |
+
"bos_token_id": 151643,
|
| 7 |
+
"eos_token_id": 151645,
|
| 8 |
+
"hidden_act": "silu",
|
| 9 |
+
"hidden_size": 896,
|
| 10 |
+
"initializer_range": 0.02,
|
| 11 |
+
"intermediate_size": 4864,
|
| 12 |
+
"max_position_embeddings": 32768,
|
| 13 |
+
"max_window_layers": 21,
|
| 14 |
+
"model_type": "qwen2",
|
| 15 |
+
"num_attention_heads": 14,
|
| 16 |
+
"num_hidden_layers": 24,
|
| 17 |
+
"num_key_value_heads": 2,
|
| 18 |
+
"rms_norm_eps": 1e-06,
|
| 19 |
+
"rope_theta": 1000000.0,
|
| 20 |
+
"sliding_window": 32768,
|
| 21 |
+
"tie_word_embeddings": true,
|
| 22 |
+
"torch_dtype": "bfloat16",
|
| 23 |
+
"transformers_version": "4.43.1",
|
| 24 |
+
"use_cache": true,
|
| 25 |
+
"use_sliding_window": false,
|
| 26 |
+
"vocab_size": 151936
|
| 27 |
+
}
|
sources/Qwen2.5-0.5B-Instruct/generation_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 151643,
|
| 3 |
+
"pad_token_id": 151643,
|
| 4 |
+
"do_sample": true,
|
| 5 |
+
"eos_token_id": [
|
| 6 |
+
151645,
|
| 7 |
+
151643
|
| 8 |
+
],
|
| 9 |
+
"repetition_penalty": 1.1,
|
| 10 |
+
"temperature": 0.7,
|
| 11 |
+
"top_p": 0.8,
|
| 12 |
+
"top_k": 20,
|
| 13 |
+
"transformers_version": "4.37.0"
|
| 14 |
+
}
|
sources/Qwen2.5-0.5B-Instruct/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
sources/Qwen2.5-0.5B-Instruct/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fdf756fa7fcbe7404d5c60e26bff1a0c8b8aa1f72ced49e7dd0210fe288fb7fe
|
| 3 |
+
size 988097824
|
sources/Qwen2.5-0.5B-Instruct/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
sources/Qwen2.5-0.5B-Instruct/tokenizer_config.json
ADDED
|
@@ -0,0 +1,207 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_bos_token": false,
|
| 3 |
+
"add_prefix_space": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"151643": {
|
| 6 |
+
"content": "<|endoftext|>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"151644": {
|
| 14 |
+
"content": "<|im_start|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"151645": {
|
| 22 |
+
"content": "<|im_end|>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": false,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": false,
|
| 27 |
+
"special": true
|
| 28 |
+
},
|
| 29 |
+
"151646": {
|
| 30 |
+
"content": "<|object_ref_start|>",
|
| 31 |
+
"lstrip": false,
|
| 32 |
+
"normalized": false,
|
| 33 |
+
"rstrip": false,
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"special": true
|
| 36 |
+
},
|
| 37 |
+
"151647": {
|
| 38 |
+
"content": "<|object_ref_end|>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false,
|
| 43 |
+
"special": true
|
| 44 |
+
},
|
| 45 |
+
"151648": {
|
| 46 |
+
"content": "<|box_start|>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false,
|
| 51 |
+
"special": true
|
| 52 |
+
},
|
| 53 |
+
"151649": {
|
| 54 |
+
"content": "<|box_end|>",
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"normalized": false,
|
| 57 |
+
"rstrip": false,
|
| 58 |
+
"single_word": false,
|
| 59 |
+
"special": true
|
| 60 |
+
},
|
| 61 |
+
"151650": {
|
| 62 |
+
"content": "<|quad_start|>",
|
| 63 |
+
"lstrip": false,
|
| 64 |
+
"normalized": false,
|
| 65 |
+
"rstrip": false,
|
| 66 |
+
"single_word": false,
|
| 67 |
+
"special": true
|
| 68 |
+
},
|
| 69 |
+
"151651": {
|
| 70 |
+
"content": "<|quad_end|>",
|
| 71 |
+
"lstrip": false,
|
| 72 |
+
"normalized": false,
|
| 73 |
+
"rstrip": false,
|
| 74 |
+
"single_word": false,
|
| 75 |
+
"special": true
|
| 76 |
+
},
|
| 77 |
+
"151652": {
|
| 78 |
+
"content": "<|vision_start|>",
|
| 79 |
+
"lstrip": false,
|
| 80 |
+
"normalized": false,
|
| 81 |
+
"rstrip": false,
|
| 82 |
+
"single_word": false,
|
| 83 |
+
"special": true
|
| 84 |
+
},
|
| 85 |
+
"151653": {
|
| 86 |
+
"content": "<|vision_end|>",
|
| 87 |
+
"lstrip": false,
|
| 88 |
+
"normalized": false,
|
| 89 |
+
"rstrip": false,
|
| 90 |
+
"single_word": false,
|
| 91 |
+
"special": true
|
| 92 |
+
},
|
| 93 |
+
"151654": {
|
| 94 |
+
"content": "<|vision_pad|>",
|
| 95 |
+
"lstrip": false,
|
| 96 |
+
"normalized": false,
|
| 97 |
+
"rstrip": false,
|
| 98 |
+
"single_word": false,
|
| 99 |
+
"special": true
|
| 100 |
+
},
|
| 101 |
+
"151655": {
|
| 102 |
+
"content": "<|image_pad|>",
|
| 103 |
+
"lstrip": false,
|
| 104 |
+
"normalized": false,
|
| 105 |
+
"rstrip": false,
|
| 106 |
+
"single_word": false,
|
| 107 |
+
"special": true
|
| 108 |
+
},
|
| 109 |
+
"151656": {
|
| 110 |
+
"content": "<|video_pad|>",
|
| 111 |
+
"lstrip": false,
|
| 112 |
+
"normalized": false,
|
| 113 |
+
"rstrip": false,
|
| 114 |
+
"single_word": false,
|
| 115 |
+
"special": true
|
| 116 |
+
},
|
| 117 |
+
"151657": {
|
| 118 |
+
"content": "<tool_call>",
|
| 119 |
+
"lstrip": false,
|
| 120 |
+
"normalized": false,
|
| 121 |
+
"rstrip": false,
|
| 122 |
+
"single_word": false,
|
| 123 |
+
"special": false
|
| 124 |
+
},
|
| 125 |
+
"151658": {
|
| 126 |
+
"content": "</tool_call>",
|
| 127 |
+
"lstrip": false,
|
| 128 |
+
"normalized": false,
|
| 129 |
+
"rstrip": false,
|
| 130 |
+
"single_word": false,
|
| 131 |
+
"special": false
|
| 132 |
+
},
|
| 133 |
+
"151659": {
|
| 134 |
+
"content": "<|fim_prefix|>",
|
| 135 |
+
"lstrip": false,
|
| 136 |
+
"normalized": false,
|
| 137 |
+
"rstrip": false,
|
| 138 |
+
"single_word": false,
|
| 139 |
+
"special": false
|
| 140 |
+
},
|
| 141 |
+
"151660": {
|
| 142 |
+
"content": "<|fim_middle|>",
|
| 143 |
+
"lstrip": false,
|
| 144 |
+
"normalized": false,
|
| 145 |
+
"rstrip": false,
|
| 146 |
+
"single_word": false,
|
| 147 |
+
"special": false
|
| 148 |
+
},
|
| 149 |
+
"151661": {
|
| 150 |
+
"content": "<|fim_suffix|>",
|
| 151 |
+
"lstrip": false,
|
| 152 |
+
"normalized": false,
|
| 153 |
+
"rstrip": false,
|
| 154 |
+
"single_word": false,
|
| 155 |
+
"special": false
|
| 156 |
+
},
|
| 157 |
+
"151662": {
|
| 158 |
+
"content": "<|fim_pad|>",
|
| 159 |
+
"lstrip": false,
|
| 160 |
+
"normalized": false,
|
| 161 |
+
"rstrip": false,
|
| 162 |
+
"single_word": false,
|
| 163 |
+
"special": false
|
| 164 |
+
},
|
| 165 |
+
"151663": {
|
| 166 |
+
"content": "<|repo_name|>",
|
| 167 |
+
"lstrip": false,
|
| 168 |
+
"normalized": false,
|
| 169 |
+
"rstrip": false,
|
| 170 |
+
"single_word": false,
|
| 171 |
+
"special": false
|
| 172 |
+
},
|
| 173 |
+
"151664": {
|
| 174 |
+
"content": "<|file_sep|>",
|
| 175 |
+
"lstrip": false,
|
| 176 |
+
"normalized": false,
|
| 177 |
+
"rstrip": false,
|
| 178 |
+
"single_word": false,
|
| 179 |
+
"special": false
|
| 180 |
+
}
|
| 181 |
+
},
|
| 182 |
+
"additional_special_tokens": [
|
| 183 |
+
"<|im_start|>",
|
| 184 |
+
"<|im_end|>",
|
| 185 |
+
"<|object_ref_start|>",
|
| 186 |
+
"<|object_ref_end|>",
|
| 187 |
+
"<|box_start|>",
|
| 188 |
+
"<|box_end|>",
|
| 189 |
+
"<|quad_start|>",
|
| 190 |
+
"<|quad_end|>",
|
| 191 |
+
"<|vision_start|>",
|
| 192 |
+
"<|vision_end|>",
|
| 193 |
+
"<|vision_pad|>",
|
| 194 |
+
"<|image_pad|>",
|
| 195 |
+
"<|video_pad|>"
|
| 196 |
+
],
|
| 197 |
+
"bos_token": null,
|
| 198 |
+
"chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0]['role'] == 'system' %}\n {{- messages[0]['content'] }}\n {%- else %}\n {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}\n {%- endif %}\n {{- \"\\n\\n# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0]['role'] == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0]['content'] + '<|im_end|>\\n' }}\n {%- else %}\n {{- '<|im_start|>system\\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) or (message.role == \"assistant\" and not message.tool_calls) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role }}\n {%- if message.content %}\n {{- '\\n' + message.content }}\n {%- endif %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '\\n<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {{- tool_call.arguments | tojson }}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- message.content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n",
|
| 199 |
+
"clean_up_tokenization_spaces": false,
|
| 200 |
+
"eos_token": "<|im_end|>",
|
| 201 |
+
"errors": "replace",
|
| 202 |
+
"model_max_length": 131072,
|
| 203 |
+
"pad_token": "<|endoftext|>",
|
| 204 |
+
"split_special_tokens": false,
|
| 205 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 206 |
+
"unk_token": null
|
| 207 |
+
}
|
sources/Qwen2.5-0.5B-Instruct/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
sources/Qwen2.5-0.5B/config.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen2ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_dropout": 0.0,
|
| 6 |
+
"bos_token_id": 151643,
|
| 7 |
+
"eos_token_id": 151643,
|
| 8 |
+
"hidden_act": "silu",
|
| 9 |
+
"hidden_size": 896,
|
| 10 |
+
"initializer_range": 0.02,
|
| 11 |
+
"intermediate_size": 4864,
|
| 12 |
+
"max_position_embeddings": 32768,
|
| 13 |
+
"max_window_layers": 24,
|
| 14 |
+
"model_type": "qwen2",
|
| 15 |
+
"num_attention_heads": 14,
|
| 16 |
+
"num_hidden_layers": 24,
|
| 17 |
+
"num_key_value_heads": 2,
|
| 18 |
+
"rms_norm_eps": 1e-06,
|
| 19 |
+
"rope_theta": 1000000.0,
|
| 20 |
+
"sliding_window": 32768,
|
| 21 |
+
"tie_word_embeddings": true,
|
| 22 |
+
"torch_dtype": "bfloat16",
|
| 23 |
+
"transformers_version": "4.40.1",
|
| 24 |
+
"use_cache": true,
|
| 25 |
+
"use_mrope": false,
|
| 26 |
+
"use_sliding_window": false,
|
| 27 |
+
"vocab_size": 151936
|
| 28 |
+
}
|
sources/Qwen2.5-0.5B/generation_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 151643,
|
| 3 |
+
"do_sample": false,
|
| 4 |
+
"eos_token_id": 151643,
|
| 5 |
+
"max_new_tokens": 2048,
|
| 6 |
+
"transformers_version": "4.37.0"
|
| 7 |
+
}
|
sources/Qwen2.5-0.5B/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
sources/Qwen2.5-0.5B/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:88c142557820ccad55bb59756bfcfcf891de9cc6202816bd346445188a0ed342
|
| 3 |
+
size 988097824
|
sources/Qwen2.5-0.5B/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
sources/Qwen2.5-0.5B/tokenizer_config.json
ADDED
|
@@ -0,0 +1,207 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_prefix_space": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"151643": {
|
| 6 |
+
"content": "<|endoftext|>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"151644": {
|
| 14 |
+
"content": "<|im_start|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"151645": {
|
| 22 |
+
"content": "<|im_end|>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": false,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": false,
|
| 27 |
+
"special": true
|
| 28 |
+
},
|
| 29 |
+
"151646": {
|
| 30 |
+
"content": "<|object_ref_start|>",
|
| 31 |
+
"lstrip": false,
|
| 32 |
+
"normalized": false,
|
| 33 |
+
"rstrip": false,
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"special": true
|
| 36 |
+
},
|
| 37 |
+
"151647": {
|
| 38 |
+
"content": "<|object_ref_end|>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false,
|
| 43 |
+
"special": true
|
| 44 |
+
},
|
| 45 |
+
"151648": {
|
| 46 |
+
"content": "<|box_start|>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false,
|
| 51 |
+
"special": true
|
| 52 |
+
},
|
| 53 |
+
"151649": {
|
| 54 |
+
"content": "<|box_end|>",
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"normalized": false,
|
| 57 |
+
"rstrip": false,
|
| 58 |
+
"single_word": false,
|
| 59 |
+
"special": true
|
| 60 |
+
},
|
| 61 |
+
"151650": {
|
| 62 |
+
"content": "<|quad_start|>",
|
| 63 |
+
"lstrip": false,
|
| 64 |
+
"normalized": false,
|
| 65 |
+
"rstrip": false,
|
| 66 |
+
"single_word": false,
|
| 67 |
+
"special": true
|
| 68 |
+
},
|
| 69 |
+
"151651": {
|
| 70 |
+
"content": "<|quad_end|>",
|
| 71 |
+
"lstrip": false,
|
| 72 |
+
"normalized": false,
|
| 73 |
+
"rstrip": false,
|
| 74 |
+
"single_word": false,
|
| 75 |
+
"special": true
|
| 76 |
+
},
|
| 77 |
+
"151652": {
|
| 78 |
+
"content": "<|vision_start|>",
|
| 79 |
+
"lstrip": false,
|
| 80 |
+
"normalized": false,
|
| 81 |
+
"rstrip": false,
|
| 82 |
+
"single_word": false,
|
| 83 |
+
"special": true
|
| 84 |
+
},
|
| 85 |
+
"151653": {
|
| 86 |
+
"content": "<|vision_end|>",
|
| 87 |
+
"lstrip": false,
|
| 88 |
+
"normalized": false,
|
| 89 |
+
"rstrip": false,
|
| 90 |
+
"single_word": false,
|
| 91 |
+
"special": true
|
| 92 |
+
},
|
| 93 |
+
"151654": {
|
| 94 |
+
"content": "<|vision_pad|>",
|
| 95 |
+
"lstrip": false,
|
| 96 |
+
"normalized": false,
|
| 97 |
+
"rstrip": false,
|
| 98 |
+
"single_word": false,
|
| 99 |
+
"special": true
|
| 100 |
+
},
|
| 101 |
+
"151655": {
|
| 102 |
+
"content": "<|image_pad|>",
|
| 103 |
+
"lstrip": false,
|
| 104 |
+
"normalized": false,
|
| 105 |
+
"rstrip": false,
|
| 106 |
+
"single_word": false,
|
| 107 |
+
"special": true
|
| 108 |
+
},
|
| 109 |
+
"151656": {
|
| 110 |
+
"content": "<|video_pad|>",
|
| 111 |
+
"lstrip": false,
|
| 112 |
+
"normalized": false,
|
| 113 |
+
"rstrip": false,
|
| 114 |
+
"single_word": false,
|
| 115 |
+
"special": true
|
| 116 |
+
},
|
| 117 |
+
"151657": {
|
| 118 |
+
"content": "<tool_call>",
|
| 119 |
+
"lstrip": false,
|
| 120 |
+
"normalized": false,
|
| 121 |
+
"rstrip": false,
|
| 122 |
+
"single_word": false,
|
| 123 |
+
"special": false
|
| 124 |
+
},
|
| 125 |
+
"151658": {
|
| 126 |
+
"content": "</tool_call>",
|
| 127 |
+
"lstrip": false,
|
| 128 |
+
"normalized": false,
|
| 129 |
+
"rstrip": false,
|
| 130 |
+
"single_word": false,
|
| 131 |
+
"special": false
|
| 132 |
+
},
|
| 133 |
+
"151659": {
|
| 134 |
+
"content": "<|fim_prefix|>",
|
| 135 |
+
"lstrip": false,
|
| 136 |
+
"normalized": false,
|
| 137 |
+
"rstrip": false,
|
| 138 |
+
"single_word": false,
|
| 139 |
+
"special": false
|
| 140 |
+
},
|
| 141 |
+
"151660": {
|
| 142 |
+
"content": "<|fim_middle|>",
|
| 143 |
+
"lstrip": false,
|
| 144 |
+
"normalized": false,
|
| 145 |
+
"rstrip": false,
|
| 146 |
+
"single_word": false,
|
| 147 |
+
"special": false
|
| 148 |
+
},
|
| 149 |
+
"151661": {
|
| 150 |
+
"content": "<|fim_suffix|>",
|
| 151 |
+
"lstrip": false,
|
| 152 |
+
"normalized": false,
|
| 153 |
+
"rstrip": false,
|
| 154 |
+
"single_word": false,
|
| 155 |
+
"special": false
|
| 156 |
+
},
|
| 157 |
+
"151662": {
|
| 158 |
+
"content": "<|fim_pad|>",
|
| 159 |
+
"lstrip": false,
|
| 160 |
+
"normalized": false,
|
| 161 |
+
"rstrip": false,
|
| 162 |
+
"single_word": false,
|
| 163 |
+
"special": false
|
| 164 |
+
},
|
| 165 |
+
"151663": {
|
| 166 |
+
"content": "<|repo_name|>",
|
| 167 |
+
"lstrip": false,
|
| 168 |
+
"normalized": false,
|
| 169 |
+
"rstrip": false,
|
| 170 |
+
"single_word": false,
|
| 171 |
+
"special": false
|
| 172 |
+
},
|
| 173 |
+
"151664": {
|
| 174 |
+
"content": "<|file_sep|>",
|
| 175 |
+
"lstrip": false,
|
| 176 |
+
"normalized": false,
|
| 177 |
+
"rstrip": false,
|
| 178 |
+
"single_word": false,
|
| 179 |
+
"special": false
|
| 180 |
+
}
|
| 181 |
+
},
|
| 182 |
+
"additional_special_tokens": [
|
| 183 |
+
"<|im_start|>",
|
| 184 |
+
"<|im_end|>",
|
| 185 |
+
"<|object_ref_start|>",
|
| 186 |
+
"<|object_ref_end|>",
|
| 187 |
+
"<|box_start|>",
|
| 188 |
+
"<|box_end|>",
|
| 189 |
+
"<|quad_start|>",
|
| 190 |
+
"<|quad_end|>",
|
| 191 |
+
"<|vision_start|>",
|
| 192 |
+
"<|vision_end|>",
|
| 193 |
+
"<|vision_pad|>",
|
| 194 |
+
"<|image_pad|>",
|
| 195 |
+
"<|video_pad|>"
|
| 196 |
+
],
|
| 197 |
+
"bos_token": null,
|
| 198 |
+
"chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0]['role'] == 'system' %}\n {{- messages[0]['content'] }}\n {%- else %}\n {{- 'You are a helpful assistant.' }}\n {%- endif %}\n {{- \"\\n\\n# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0]['role'] == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0]['content'] + '<|im_end|>\\n' }}\n {%- else %}\n {{- '<|im_start|>system\\nYou are a helpful assistant.<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) or (message.role == \"assistant\" and not message.tool_calls) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role }}\n {%- if message.content %}\n {{- '\\n' + message.content }}\n {%- endif %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '\\n<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {{- tool_call.arguments | tojson }}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- message.content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n",
|
| 199 |
+
"clean_up_tokenization_spaces": false,
|
| 200 |
+
"eos_token": "<|endoftext|>",
|
| 201 |
+
"errors": "replace",
|
| 202 |
+
"model_max_length": 131072,
|
| 203 |
+
"pad_token": "<|endoftext|>",
|
| 204 |
+
"split_special_tokens": false,
|
| 205 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 206 |
+
"unk_token": null
|
| 207 |
+
}
|
sources/Qwen2.5-0.5B/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
sources/SmolLM2-360M-Instruct/all_results.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 1.9973828840617638,
|
| 3 |
+
"eval_logits/chosen": -1.6407532691955566,
|
| 4 |
+
"eval_logits/rejected": -1.6968854665756226,
|
| 5 |
+
"eval_logps/chosen": -375.6463623046875,
|
| 6 |
+
"eval_logps/rejected": -323.7197570800781,
|
| 7 |
+
"eval_loss": 0.6348475217819214,
|
| 8 |
+
"eval_rewards/accuracies": 0.6190476417541504,
|
| 9 |
+
"eval_rewards/chosen": -0.034213583916425705,
|
| 10 |
+
"eval_rewards/margins": 0.3567626178264618,
|
| 11 |
+
"eval_rewards/rejected": -0.3909761905670166,
|
| 12 |
+
"eval_runtime": 22.3598,
|
| 13 |
+
"eval_samples": 2000,
|
| 14 |
+
"eval_samples_per_second": 89.446,
|
| 15 |
+
"eval_steps_per_second": 2.818,
|
| 16 |
+
"total_flos": 0.0,
|
| 17 |
+
"train_loss": 0.6516540072998911,
|
| 18 |
+
"train_runtime": 5944.7081,
|
| 19 |
+
"train_samples": 61134,
|
| 20 |
+
"train_samples_per_second": 20.568,
|
| 21 |
+
"train_steps_per_second": 0.16
|
| 22 |
+
}
|
sources/SmolLM2-360M-Instruct/config.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"LlamaForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 1,
|
| 8 |
+
"eos_token_id": 2,
|
| 9 |
+
"hidden_act": "silu",
|
| 10 |
+
"hidden_size": 960,
|
| 11 |
+
"initializer_range": 0.02,
|
| 12 |
+
"intermediate_size": 2560,
|
| 13 |
+
"is_llama_config": true,
|
| 14 |
+
"max_position_embeddings": 8192,
|
| 15 |
+
"mlp_bias": false,
|
| 16 |
+
"model_type": "llama",
|
| 17 |
+
"num_attention_heads": 15,
|
| 18 |
+
"num_hidden_layers": 32,
|
| 19 |
+
"num_key_value_heads": 5,
|
| 20 |
+
"pad_token_id": 2,
|
| 21 |
+
"pretraining_tp": 1,
|
| 22 |
+
"rms_norm_eps": 1e-05,
|
| 23 |
+
"rope_interleaved": false,
|
| 24 |
+
"rope_scaling": null,
|
| 25 |
+
"rope_theta": 100000,
|
| 26 |
+
"tie_word_embeddings": true,
|
| 27 |
+
"torch_dtype": "bfloat16",
|
| 28 |
+
"transformers_version": "4.42.3",
|
| 29 |
+
"transformers.js_config": {
|
| 30 |
+
"kv_cache_dtype": {
|
| 31 |
+
"q4f16": "float16",
|
| 32 |
+
"fp16": "float16"
|
| 33 |
+
}
|
| 34 |
+
},
|
| 35 |
+
"use_cache": true,
|
| 36 |
+
"vocab_size": 49152
|
| 37 |
+
}
|
sources/SmolLM2-360M-Instruct/eval_results.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 1.9973828840617638,
|
| 3 |
+
"eval_logits/chosen": -1.6407532691955566,
|
| 4 |
+
"eval_logits/rejected": -1.6968854665756226,
|
| 5 |
+
"eval_logps/chosen": -375.6463623046875,
|
| 6 |
+
"eval_logps/rejected": -323.7197570800781,
|
| 7 |
+
"eval_loss": 0.6348475217819214,
|
| 8 |
+
"eval_rewards/accuracies": 0.6190476417541504,
|
| 9 |
+
"eval_rewards/chosen": -0.034213583916425705,
|
| 10 |
+
"eval_rewards/margins": 0.3567626178264618,
|
| 11 |
+
"eval_rewards/rejected": -0.3909761905670166,
|
| 12 |
+
"eval_runtime": 22.3598,
|
| 13 |
+
"eval_samples": 2000,
|
| 14 |
+
"eval_samples_per_second": 89.446,
|
| 15 |
+
"eval_steps_per_second": 2.818
|
| 16 |
+
}
|
sources/SmolLM2-360M-Instruct/generation_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 1,
|
| 4 |
+
"eos_token_id": 2,
|
| 5 |
+
"pad_token_id": 2,
|
| 6 |
+
"transformers_version": "4.42.3"
|
| 7 |
+
}
|
sources/SmolLM2-360M-Instruct/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
sources/SmolLM2-360M-Instruct/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e6bffe7435d7ddc10fd3b9a9efd429dafbacb1cb17015fb5562664e7532bf86e
|
| 3 |
+
size 723674912
|
sources/SmolLM2-360M-Instruct/special_tokens_map.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>"
|
| 5 |
+
],
|
| 6 |
+
"bos_token": {
|
| 7 |
+
"content": "<|im_start|>",
|
| 8 |
+
"lstrip": false,
|
| 9 |
+
"normalized": false,
|
| 10 |
+
"rstrip": false,
|
| 11 |
+
"single_word": false
|
| 12 |
+
},
|
| 13 |
+
"eos_token": {
|
| 14 |
+
"content": "<|im_end|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false
|
| 19 |
+
},
|
| 20 |
+
"pad_token": {
|
| 21 |
+
"content": "<|im_end|>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false
|
| 26 |
+
},
|
| 27 |
+
"unk_token": {
|
| 28 |
+
"content": "<|endoftext|>",
|
| 29 |
+
"lstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"rstrip": false,
|
| 32 |
+
"single_word": false
|
| 33 |
+
}
|
| 34 |
+
}
|
sources/SmolLM2-360M-Instruct/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
sources/SmolLM2-360M-Instruct/t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 |
+
"0": {
|
| 5 |
+
"content": "<|endoftext|>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": false,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"1": {
|
| 13 |
+
"content": "<|im_start|>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"2": {
|
| 21 |
+
"content": "<|im_end|>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
},
|
| 28 |
+
"3": {
|
| 29 |
+
"content": "<repo_name>",
|
| 30 |
+
"lstrip": false,
|
| 31 |
+
"normalized": false,
|
| 32 |
+
"rstrip": false,
|
| 33 |
+
"single_word": false,
|
| 34 |
+
"special": true
|
| 35 |
+
},
|
| 36 |
+
"4": {
|
| 37 |
+
"content": "<reponame>",
|
| 38 |
+
"lstrip": false,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"rstrip": false,
|
| 41 |
+
"single_word": false,
|
| 42 |
+
"special": true
|
| 43 |
+
},
|
| 44 |
+
"5": {
|
| 45 |
+
"content": "<file_sep>",
|
| 46 |
+
"lstrip": false,
|
| 47 |
+
"normalized": false,
|
| 48 |
+
"rstrip": false,
|
| 49 |
+
"single_word": false,
|
| 50 |
+
"special": true
|
| 51 |
+
},
|
| 52 |
+
"6": {
|
| 53 |
+
"content": "<filename>",
|
| 54 |
+
"lstrip": false,
|
| 55 |
+
"normalized": false,
|
| 56 |
+
"rstrip": false,
|
| 57 |
+
"single_word": false,
|
| 58 |
+
"special": true
|
| 59 |
+
},
|
| 60 |
+
"7": {
|
| 61 |
+
"content": "<gh_stars>",
|
| 62 |
+
"lstrip": false,
|
| 63 |
+
"normalized": false,
|
| 64 |
+
"rstrip": false,
|
| 65 |
+
"single_word": false,
|
| 66 |
+
"special": true
|
| 67 |
+
},
|
| 68 |
+
"8": {
|
| 69 |
+
"content": "<issue_start>",
|
| 70 |
+
"lstrip": false,
|
| 71 |
+
"normalized": false,
|
| 72 |
+
"rstrip": false,
|
| 73 |
+
"single_word": false,
|
| 74 |
+
"special": true
|
| 75 |
+
},
|
| 76 |
+
"9": {
|
| 77 |
+
"content": "<issue_comment>",
|
| 78 |
+
"lstrip": false,
|
| 79 |
+
"normalized": false,
|
| 80 |
+
"rstrip": false,
|
| 81 |
+
"single_word": false,
|
| 82 |
+
"special": true
|
| 83 |
+
},
|
| 84 |
+
"10": {
|
| 85 |
+
"content": "<issue_closed>",
|
| 86 |
+
"lstrip": false,
|
| 87 |
+
"normalized": false,
|
| 88 |
+
"rstrip": false,
|
| 89 |
+
"single_word": false,
|
| 90 |
+
"special": true
|
| 91 |
+
},
|
| 92 |
+
"11": {
|
| 93 |
+
"content": "<jupyter_start>",
|
| 94 |
+
"lstrip": false,
|
| 95 |
+
"normalized": false,
|
| 96 |
+
"rstrip": false,
|
| 97 |
+
"single_word": false,
|
| 98 |
+
"special": true
|
| 99 |
+
},
|
| 100 |
+
"12": {
|
| 101 |
+
"content": "<jupyter_text>",
|
| 102 |
+
"lstrip": false,
|
| 103 |
+
"normalized": false,
|
| 104 |
+
"rstrip": false,
|
| 105 |
+
"single_word": false,
|
| 106 |
+
"special": true
|
| 107 |
+
},
|
| 108 |
+
"13": {
|
| 109 |
+
"content": "<jupyter_code>",
|
| 110 |
+
"lstrip": false,
|
| 111 |
+
"normalized": false,
|
| 112 |
+
"rstrip": false,
|
| 113 |
+
"single_word": false,
|
| 114 |
+
"special": true
|
| 115 |
+
},
|
| 116 |
+
"14": {
|
| 117 |
+
"content": "<jupyter_output>",
|
| 118 |
+
"lstrip": false,
|
| 119 |
+
"normalized": false,
|
| 120 |
+
"rstrip": false,
|
| 121 |
+
"single_word": false,
|
| 122 |
+
"special": true
|
| 123 |
+
},
|
| 124 |
+
"15": {
|
| 125 |
+
"content": "<jupyter_script>",
|
| 126 |
+
"lstrip": false,
|
| 127 |
+
"normalized": false,
|
| 128 |
+
"rstrip": false,
|
| 129 |
+
"single_word": false,
|
| 130 |
+
"special": true
|
| 131 |
+
},
|
| 132 |
+
"16": {
|
| 133 |
+
"content": "<empty_output>",
|
| 134 |
+
"lstrip": false,
|
| 135 |
+
"normalized": false,
|
| 136 |
+
"rstrip": false,
|
| 137 |
+
"single_word": false,
|
| 138 |
+
"special": true
|
| 139 |
+
}
|
| 140 |
+
},
|
| 141 |
+
"additional_special_tokens": [
|
| 142 |
+
"<|im_start|>",
|
| 143 |
+
"<|im_end|>"
|
| 144 |
+
],
|
| 145 |
+
"bos_token": "<|im_start|>",
|
| 146 |
+
"chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful AI assistant named SmolLM, trained by Hugging Face<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
| 147 |
+
"clean_up_tokenization_spaces": false,
|
| 148 |
+
"eos_token": "<|im_end|>",
|
| 149 |
+
"model_max_length": 8192,
|
| 150 |
+
"pad_token": "<|im_end|>",
|
| 151 |
+
"tokenizer_class": "GPT2Tokenizer",
|
| 152 |
+
"unk_token": "<|endoftext|>",
|
| 153 |
+
"vocab_size": 49152
|
| 154 |
+
}
|
sources/SmolLM2-360M-Instruct/train_results.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 1.9973828840617638,
|
| 3 |
+
"total_flos": 0.0,
|
| 4 |
+
"train_loss": 0.6516540072998911,
|
| 5 |
+
"train_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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": null,
|
| 3 |
+
"best_model_checkpoint": null,
|
| 4 |
+
"epoch": 1.9973828840617638,
|
| 5 |
+
"eval_steps": 100,
|
| 6 |
+
"global_step": 954,
|
| 7 |
+
"is_hyper_param_search": false,
|
| 8 |
+
"is_local_process_zero": true,
|
| 9 |
+
"is_world_process_zero": true,
|
| 10 |
+
"log_history": [
|
| 11 |
+
{
|
| 12 |
+
"epoch": 0.002093692750588851,
|
| 13 |
+
"grad_norm": 37.29612828590162,
|
| 14 |
+
"learning_rate": 1.0416666666666666e-08,
|
| 15 |
+
"logits/chosen": -1.5181711912155151,
|
| 16 |
+
"logits/rejected": -1.4237494468688965,
|
| 17 |
+
"logps/chosen": -331.7369384765625,
|
| 18 |
+
"logps/rejected": -353.880859375,
|
| 19 |
+
"loss": 0.6931,
|
| 20 |
+
"rewards/accuracies": 0.0,
|
| 21 |
+
"rewards/chosen": 0.0,
|
| 22 |
+
"rewards/margins": 0.0,
|
| 23 |
+
"rewards/rejected": 0.0,
|
| 24 |
+
"step": 1
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.02093692750588851,
|
| 28 |
+
"grad_norm": 34.09183299219303,
|
| 29 |
+
"learning_rate": 1.0416666666666667e-07,
|
| 30 |
+
"logits/chosen": -1.4457752704620361,
|
| 31 |
+
"logits/rejected": -1.4434000253677368,
|
| 32 |
+
"logps/chosen": -409.06182861328125,
|
| 33 |
+
"logps/rejected": -344.4476318359375,
|
| 34 |
+
"loss": 0.7192,
|
| 35 |
+
"rewards/accuracies": 0.3611111044883728,
|
| 36 |
+
"rewards/chosen": -0.012955614365637302,
|
| 37 |
+
"rewards/margins": 0.009454314596951008,
|
| 38 |
+
"rewards/rejected": -0.02240992709994316,
|
| 39 |
+
"step": 10
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"epoch": 0.04187385501177702,
|
| 43 |
+
"grad_norm": 33.674655892230355,
|
| 44 |
+
"learning_rate": 2.0833333333333333e-07,
|
| 45 |
+
"logits/chosen": -1.2904545068740845,
|
| 46 |
+
"logits/rejected": -1.4261707067489624,
|
| 47 |
+
"logps/chosen": -361.19525146484375,
|
| 48 |
+
"logps/rejected": -322.1033630371094,
|
| 49 |
+
"loss": 0.7204,
|
| 50 |
+
"rewards/accuracies": 0.5249999761581421,
|
| 51 |
+
"rewards/chosen": 0.05613602325320244,
|
| 52 |
+
"rewards/margins": 0.04490422457456589,
|
| 53 |
+
"rewards/rejected": 0.011231804266571999,
|
| 54 |
+
"step": 20
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"epoch": 0.06281078251766553,
|
| 58 |
+
"grad_norm": 34.76216235748818,
|
| 59 |
+
"learning_rate": 3.1249999999999997e-07,
|
| 60 |
+
"logits/chosen": -1.326378583908081,
|
| 61 |
+
"logits/rejected": -1.334900140762329,
|
| 62 |
+
"logps/chosen": -390.536376953125,
|
| 63 |
+
"logps/rejected": -312.28826904296875,
|
| 64 |
+
"loss": 0.7412,
|
| 65 |
+
"rewards/accuracies": 0.5062500238418579,
|
| 66 |
+
"rewards/chosen": -0.034933071583509445,
|
| 67 |
+
"rewards/margins": -0.05697251483798027,
|
| 68 |
+
"rewards/rejected": 0.022039445117115974,
|
| 69 |
+
"step": 30
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"epoch": 0.08374771002355404,
|
| 73 |
+
"grad_norm": 34.40909279988205,
|
| 74 |
+
"learning_rate": 4.1666666666666667e-07,
|
| 75 |
+
"logits/chosen": -1.3933440446853638,
|
| 76 |
+
"logits/rejected": -1.4404706954956055,
|
| 77 |
+
"logps/chosen": -329.0964050292969,
|
| 78 |
+
"logps/rejected": -291.3802490234375,
|
| 79 |
+
"loss": 0.725,
|
| 80 |
+
"rewards/accuracies": 0.4937500059604645,
|
| 81 |
+
"rewards/chosen": 0.02061540260910988,
|
| 82 |
+
"rewards/margins": 0.004305871669203043,
|
| 83 |
+
"rewards/rejected": 0.016309529542922974,
|
| 84 |
+
"step": 40
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"epoch": 0.10468463752944256,
|
| 88 |
+
"grad_norm": 33.558772768765095,
|
| 89 |
+
"learning_rate": 5.208333333333334e-07,
|
| 90 |
+
"logits/chosen": -1.3897579908370972,
|
| 91 |
+
"logits/rejected": -1.4129403829574585,
|
| 92 |
+
"logps/chosen": -353.4942321777344,
|
| 93 |
+
"logps/rejected": -314.30755615234375,
|
| 94 |
+
"loss": 0.7195,
|
| 95 |
+
"rewards/accuracies": 0.512499988079071,
|
| 96 |
+
"rewards/chosen": 0.021332601085305214,
|
| 97 |
+
"rewards/margins": 0.062744140625,
|
| 98 |
+
"rewards/rejected": -0.04141153767704964,
|
| 99 |
+
"step": 50
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"epoch": 0.12562156503533106,
|
| 103 |
+
"grad_norm": 37.25091651222252,
|
| 104 |
+
"learning_rate": 6.249999999999999e-07,
|
| 105 |
+
"logits/chosen": -1.4710047245025635,
|
| 106 |
+
"logits/rejected": -1.4629329442977905,
|
| 107 |
+
"logps/chosen": -328.04437255859375,
|
| 108 |
+
"logps/rejected": -303.51922607421875,
|
| 109 |
+
"loss": 0.7164,
|
| 110 |
+
"rewards/accuracies": 0.518750011920929,
|
| 111 |
+
"rewards/chosen": 0.010426114313304424,
|
| 112 |
+
"rewards/margins": 0.02291293814778328,
|
| 113 |
+
"rewards/rejected": -0.01248682476580143,
|
| 114 |
+
"step": 60
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"epoch": 0.14655849254121958,
|
| 118 |
+
"grad_norm": 36.76489316948809,
|
| 119 |
+
"learning_rate": 7.291666666666666e-07,
|
| 120 |
+
"logits/chosen": -1.3989927768707275,
|
| 121 |
+
"logits/rejected": -1.3778417110443115,
|
| 122 |
+
"logps/chosen": -402.1053466796875,
|
| 123 |
+
"logps/rejected": -349.107421875,
|
| 124 |
+
"loss": 0.7271,
|
| 125 |
+
"rewards/accuracies": 0.543749988079071,
|
| 126 |
+
"rewards/chosen": 0.033832818269729614,
|
| 127 |
+
"rewards/margins": 0.09618775546550751,
|
| 128 |
+
"rewards/rejected": -0.062354933470487595,
|
| 129 |
+
"step": 70
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"epoch": 0.16749542004710807,
|
| 133 |
+
"grad_norm": 36.668613144227514,
|
| 134 |
+
"learning_rate": 8.333333333333333e-07,
|
| 135 |
+
"logits/chosen": -1.14809250831604,
|
| 136 |
+
"logits/rejected": -1.3004900217056274,
|
| 137 |
+
"logps/chosen": -393.3706970214844,
|
| 138 |
+
"logps/rejected": -302.55267333984375,
|
| 139 |
+
"loss": 0.7166,
|
| 140 |
+
"rewards/accuracies": 0.5625,
|
| 141 |
+
"rewards/chosen": 0.022442013025283813,
|
| 142 |
+
"rewards/margins": 0.0886504203081131,
|
| 143 |
+
"rewards/rejected": -0.06620840728282928,
|
| 144 |
+
"step": 80
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"epoch": 0.1884323475529966,
|
| 148 |
+
"grad_norm": 37.50656065265379,
|
| 149 |
+
"learning_rate": 9.374999999999999e-07,
|
| 150 |
+
"logits/chosen": -1.4117727279663086,
|
| 151 |
+
"logits/rejected": -1.4133552312850952,
|
| 152 |
+
"logps/chosen": -344.2930603027344,
|
| 153 |
+
"logps/rejected": -297.4874572753906,
|
| 154 |
+
"loss": 0.7401,
|
| 155 |
+
"rewards/accuracies": 0.4625000059604645,
|
| 156 |
+
"rewards/chosen": -0.002166506601497531,
|
| 157 |
+
"rewards/margins": -0.026871949434280396,
|
| 158 |
+
"rewards/rejected": 0.024705441668629646,
|
| 159 |
+
"step": 90
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"epoch": 0.2093692750588851,
|
| 163 |
+
"grad_norm": 40.39537923810557,
|
| 164 |
+
"learning_rate": 9.999463737538052e-07,
|
| 165 |
+
"logits/chosen": -1.4038206338882446,
|
| 166 |
+
"logits/rejected": -1.4591708183288574,
|
| 167 |
+
"logps/chosen": -382.0655822753906,
|
| 168 |
+
"logps/rejected": -325.4857482910156,
|
| 169 |
+
"loss": 0.7098,
|
| 170 |
+
"rewards/accuracies": 0.53125,
|
| 171 |
+
"rewards/chosen": 0.009398235008120537,
|
| 172 |
+
"rewards/margins": 0.012028699740767479,
|
| 173 |
+
"rewards/rejected": -0.002630466129630804,
|
| 174 |
+
"step": 100
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"epoch": 0.2093692750588851,
|
| 178 |
+
"eval_logits/chosen": -1.638710618019104,
|
| 179 |
+
"eval_logits/rejected": -1.6983067989349365,
|
| 180 |
+
"eval_logps/chosen": -375.59967041015625,
|
| 181 |
+
"eval_logps/rejected": -323.07269287109375,
|
| 182 |
+
"eval_loss": 0.7161566615104675,
|
| 183 |
+
"eval_rewards/accuracies": 0.5277777910232544,
|
| 184 |
+
"eval_rewards/chosen": -0.010860972106456757,
|
| 185 |
+
"eval_rewards/margins": 0.05658983066678047,
|
| 186 |
+
"eval_rewards/rejected": -0.06745080649852753,
|
| 187 |
+
"eval_runtime": 23.8466,
|
| 188 |
+
"eval_samples_per_second": 83.869,
|
| 189 |
+
"eval_steps_per_second": 2.642,
|
| 190 |
+
"step": 100
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"epoch": 0.23030620256477363,
|
| 194 |
+
"grad_norm": 31.68914195854589,
|
| 195 |
+
"learning_rate": 9.993432105822034e-07,
|
| 196 |
+
"logits/chosen": -1.3994014263153076,
|
| 197 |
+
"logits/rejected": -1.5090693235397339,
|
| 198 |
+
"logps/chosen": -380.85809326171875,
|
| 199 |
+
"logps/rejected": -315.415771484375,
|
| 200 |
+
"loss": 0.7244,
|
| 201 |
+
"rewards/accuracies": 0.518750011920929,
|
| 202 |
+
"rewards/chosen": 0.0006190292770043015,
|
| 203 |
+
"rewards/margins": 0.017153877764940262,
|
| 204 |
+
"rewards/rejected": -0.016534846276044846,
|
| 205 |
+
"step": 110
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"epoch": 0.2512431300706621,
|
| 209 |
+
"grad_norm": 32.5897566012542,
|
| 210 |
+
"learning_rate": 9.980706626858607e-07,
|
| 211 |
+
"logits/chosen": -1.3891736268997192,
|
| 212 |
+
"logits/rejected": -1.4548366069793701,
|
| 213 |
+
"logps/chosen": -330.4214782714844,
|
| 214 |
+
"logps/rejected": -290.9881286621094,
|
| 215 |
+
"loss": 0.7015,
|
| 216 |
+
"rewards/accuracies": 0.512499988079071,
|
| 217 |
+
"rewards/chosen": 0.002393510192632675,
|
| 218 |
+
"rewards/margins": 0.015673214569687843,
|
| 219 |
+
"rewards/rejected": -0.013279703445732594,
|
| 220 |
+
"step": 120
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"epoch": 0.2721800575765506,
|
| 224 |
+
"grad_norm": 37.434859226068475,
|
| 225 |
+
"learning_rate": 9.961304359538434e-07,
|
| 226 |
+
"logits/chosen": -1.3691463470458984,
|
| 227 |
+
"logits/rejected": -1.4777592420578003,
|
| 228 |
+
"logps/chosen": -375.37957763671875,
|
| 229 |
+
"logps/rejected": -303.9295959472656,
|
| 230 |
+
"loss": 0.6959,
|
| 231 |
+
"rewards/accuracies": 0.518750011920929,
|
| 232 |
+
"rewards/chosen": 0.023477336391806602,
|
| 233 |
+
"rewards/margins": 0.07401027530431747,
|
| 234 |
+
"rewards/rejected": -0.05053293704986572,
|
| 235 |
+
"step": 130
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"epoch": 0.29311698508243916,
|
| 239 |
+
"grad_norm": 32.710975845053845,
|
| 240 |
+
"learning_rate": 9.935251313189563e-07,
|
| 241 |
+
"logits/chosen": -1.2984201908111572,
|
| 242 |
+
"logits/rejected": -1.3567609786987305,
|
| 243 |
+
"logps/chosen": -403.44390869140625,
|
| 244 |
+
"logps/rejected": -315.7667541503906,
|
| 245 |
+
"loss": 0.694,
|
| 246 |
+
"rewards/accuracies": 0.5687500238418579,
|
| 247 |
+
"rewards/chosen": 0.1049453616142273,
|
| 248 |
+
"rewards/margins": 0.1717820167541504,
|
| 249 |
+
"rewards/rejected": -0.0668366402387619,
|
| 250 |
+
"step": 140
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"epoch": 0.31405391258832765,
|
| 254 |
+
"grad_norm": 33.59099498042739,
|
| 255 |
+
"learning_rate": 9.902582412711118e-07,
|
| 256 |
+
"logits/chosen": -1.3101998567581177,
|
| 257 |
+
"logits/rejected": -1.4272937774658203,
|
| 258 |
+
"logps/chosen": -362.3497619628906,
|
| 259 |
+
"logps/rejected": -304.9016418457031,
|
| 260 |
+
"loss": 0.6869,
|
| 261 |
+
"rewards/accuracies": 0.5625,
|
| 262 |
+
"rewards/chosen": 0.030804574489593506,
|
| 263 |
+
"rewards/margins": 0.16174563765525818,
|
| 264 |
+
"rewards/rejected": -0.13094103336334229,
|
| 265 |
+
"step": 150
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"epoch": 0.33499084009421615,
|
| 269 |
+
"grad_norm": 33.64536927205325,
|
| 270 |
+
"learning_rate": 9.86334145175542e-07,
|
| 271 |
+
"logits/chosen": -1.372686743736267,
|
| 272 |
+
"logits/rejected": -1.3871064186096191,
|
| 273 |
+
"logps/chosen": -333.40252685546875,
|
| 274 |
+
"logps/rejected": -309.45538330078125,
|
| 275 |
+
"loss": 0.698,
|
| 276 |
+
"rewards/accuracies": 0.550000011920929,
|
| 277 |
+
"rewards/chosen": 0.02940761111676693,
|
| 278 |
+
"rewards/margins": 0.14784011244773865,
|
| 279 |
+
"rewards/rejected": -0.11843249946832657,
|
| 280 |
+
"step": 160
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"epoch": 0.3559277676001047,
|
| 284 |
+
"grad_norm": 32.519654688788634,
|
| 285 |
+
"learning_rate": 9.817581034021272e-07,
|
| 286 |
+
"logits/chosen": -1.469236135482788,
|
| 287 |
+
"logits/rejected": -1.5464330911636353,
|
| 288 |
+
"logps/chosen": -325.42401123046875,
|
| 289 |
+
"logps/rejected": -279.6885986328125,
|
| 290 |
+
"loss": 0.6943,
|
| 291 |
+
"rewards/accuracies": 0.543749988079071,
|
| 292 |
+
"rewards/chosen": 0.008727139793336391,
|
| 293 |
+
"rewards/margins": 0.06822283565998077,
|
| 294 |
+
"rewards/rejected": -0.05949569493532181,
|
| 295 |
+
"step": 170
|
| 296 |
+
},
|
| 297 |
+
{
|
| 298 |
+
"epoch": 0.3768646951059932,
|
| 299 |
+
"grad_norm": 31.217980241389647,
|
| 300 |
+
"learning_rate": 9.765362502737097e-07,
|
| 301 |
+
"logits/chosen": -1.392663598060608,
|
| 302 |
+
"logits/rejected": -1.3267390727996826,
|
| 303 |
+
"logps/chosen": -328.3432312011719,
|
| 304 |
+
"logps/rejected": -328.40679931640625,
|
| 305 |
+
"loss": 0.6854,
|
| 306 |
+
"rewards/accuracies": 0.5625,
|
| 307 |
+
"rewards/chosen": -0.0019484326476231217,
|
| 308 |
+
"rewards/margins": 0.09815844148397446,
|
| 309 |
+
"rewards/rejected": -0.10010688006877899,
|
| 310 |
+
"step": 180
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"epoch": 0.39780162261188173,
|
| 314 |
+
"grad_norm": 35.19062151474422,
|
| 315 |
+
"learning_rate": 9.706755858428485e-07,
|
| 316 |
+
"logits/chosen": -1.317312479019165,
|
| 317 |
+
"logits/rejected": -1.3148291110992432,
|
| 318 |
+
"logps/chosen": -339.4427490234375,
|
| 319 |
+
"logps/rejected": -339.53936767578125,
|
| 320 |
+
"loss": 0.6886,
|
| 321 |
+
"rewards/accuracies": 0.581250011920929,
|
| 322 |
+
"rewards/chosen": -0.017630616202950478,
|
| 323 |
+
"rewards/margins": 0.09675482660531998,
|
| 324 |
+
"rewards/rejected": -0.1143854409456253,
|
| 325 |
+
"step": 190
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"epoch": 0.4187385501177702,
|
| 329 |
+
"grad_norm": 38.736703713611334,
|
| 330 |
+
"learning_rate": 9.641839665080363e-07,
|
| 331 |
+
"logits/chosen": -1.3673009872436523,
|
| 332 |
+
"logits/rejected": -1.3681590557098389,
|
| 333 |
+
"logps/chosen": -341.8690490722656,
|
| 334 |
+
"logps/rejected": -310.6811828613281,
|
| 335 |
+
"loss": 0.6825,
|
| 336 |
+
"rewards/accuracies": 0.5562499761581421,
|
| 337 |
+
"rewards/chosen": -0.02894829586148262,
|
| 338 |
+
"rewards/margins": 0.07689115405082703,
|
| 339 |
+
"rewards/rejected": -0.10583944618701935,
|
| 340 |
+
"step": 200
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"epoch": 0.4187385501177702,
|
| 344 |
+
"eval_logits/chosen": -1.635803461074829,
|
| 345 |
+
"eval_logits/rejected": -1.69376540184021,
|
| 346 |
+
"eval_logps/chosen": -375.5799865722656,
|
| 347 |
+
"eval_logps/rejected": -323.3138732910156,
|
| 348 |
+
"eval_loss": 0.6841831207275391,
|
| 349 |
+
"eval_rewards/accuracies": 0.579365074634552,
|
| 350 |
+
"eval_rewards/chosen": -0.001013976288959384,
|
| 351 |
+
"eval_rewards/margins": 0.18699844181537628,
|
| 352 |
+
"eval_rewards/rejected": -0.18801240622997284,
|
| 353 |
+
"eval_runtime": 22.6938,
|
| 354 |
+
"eval_samples_per_second": 88.13,
|
| 355 |
+
"eval_steps_per_second": 2.776,
|
| 356 |
+
"step": 200
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"epoch": 0.4396754776236587,
|
| 360 |
+
"grad_norm": 29.329351201852436,
|
| 361 |
+
"learning_rate": 9.570700944819582e-07,
|
| 362 |
+
"logits/chosen": -1.1939313411712646,
|
| 363 |
+
"logits/rejected": -1.3856732845306396,
|
| 364 |
+
"logps/chosen": -384.10784912109375,
|
| 365 |
+
"logps/rejected": -317.24755859375,
|
| 366 |
+
"loss": 0.684,
|
| 367 |
+
"rewards/accuracies": 0.612500011920929,
|
| 368 |
+
"rewards/chosen": 0.0037221908569335938,
|
| 369 |
+
"rewards/margins": 0.16761450469493866,
|
| 370 |
+
"rewards/rejected": -0.16389232873916626,
|
| 371 |
+
"step": 210
|
| 372 |
+
},
|
| 373 |
+
{
|
| 374 |
+
"epoch": 0.46061240512954726,
|
| 375 |
+
"grad_norm": 29.84515748563858,
|
| 376 |
+
"learning_rate": 9.493435061259129e-07,
|
| 377 |
+
"logits/chosen": -1.3803870677947998,
|
| 378 |
+
"logits/rejected": -1.3274301290512085,
|
| 379 |
+
"logps/chosen": -313.02777099609375,
|
| 380 |
+
"logps/rejected": -297.11004638671875,
|
| 381 |
+
"loss": 0.6846,
|
| 382 |
+
"rewards/accuracies": 0.5062500238418579,
|
| 383 |
+
"rewards/chosen": -0.023346154019236565,
|
| 384 |
+
"rewards/margins": 0.06815574318170547,
|
| 385 |
+
"rewards/rejected": -0.09150189161300659,
|
| 386 |
+
"step": 220
|
| 387 |
+
},
|
| 388 |
+
{
|
| 389 |
+
"epoch": 0.48154933263543576,
|
| 390 |
+
"grad_norm": 31.662572343473325,
|
| 391 |
+
"learning_rate": 9.4101455916603e-07,
|
| 392 |
+
"logits/chosen": -1.3570753335952759,
|
| 393 |
+
"logits/rejected": -1.3131479024887085,
|
| 394 |
+
"logps/chosen": -331.6525573730469,
|
| 395 |
+
"logps/rejected": -329.0929260253906,
|
| 396 |
+
"loss": 0.6834,
|
| 397 |
+
"rewards/accuracies": 0.574999988079071,
|
| 398 |
+
"rewards/chosen": -0.025835394859313965,
|
| 399 |
+
"rewards/margins": 0.16715176403522491,
|
| 400 |
+
"rewards/rejected": -0.1929871290922165,
|
| 401 |
+
"step": 230
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"epoch": 0.5024862601413242,
|
| 405 |
+
"grad_norm": 34.26947764899909,
|
| 406 |
+
"learning_rate": 9.320944188084241e-07,
|
| 407 |
+
"logits/chosen": -1.3401970863342285,
|
| 408 |
+
"logits/rejected": -1.3203916549682617,
|
| 409 |
+
"logps/chosen": -341.75750732421875,
|
| 410 |
+
"logps/rejected": -315.9219970703125,
|
| 411 |
+
"loss": 0.6817,
|
| 412 |
+
"rewards/accuracies": 0.6312500238418579,
|
| 413 |
+
"rewards/chosen": 0.01570424810051918,
|
| 414 |
+
"rewards/margins": 0.13407179713249207,
|
| 415 |
+
"rewards/rejected": -0.11836756765842438,
|
| 416 |
+
"step": 240
|
| 417 |
+
},
|
| 418 |
+
{
|
| 419 |
+
"epoch": 0.5234231876472127,
|
| 420 |
+
"grad_norm": 32.570026830574825,
|
| 421 |
+
"learning_rate": 9.225950427718974e-07,
|
| 422 |
+
"logits/chosen": -1.3138176202774048,
|
| 423 |
+
"logits/rejected": -1.4214763641357422,
|
| 424 |
+
"logps/chosen": -388.63800048828125,
|
| 425 |
+
"logps/rejected": -327.308349609375,
|
| 426 |
+
"loss": 0.662,
|
| 427 |
+
"rewards/accuracies": 0.6312500238418579,
|
| 428 |
+
"rewards/chosen": 0.034160248935222626,
|
| 429 |
+
"rewards/margins": 0.23999419808387756,
|
| 430 |
+
"rewards/rejected": -0.20583395659923553,
|
| 431 |
+
"step": 250
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"epoch": 0.5443601151531012,
|
| 435 |
+
"grad_norm": 31.875700958447943,
|
| 436 |
+
"learning_rate": 9.125291652582547e-07,
|
| 437 |
+
"logits/chosen": -1.171736717224121,
|
| 438 |
+
"logits/rejected": -1.2927379608154297,
|
| 439 |
+
"logps/chosen": -367.10638427734375,
|
| 440 |
+
"logps/rejected": -301.8586730957031,
|
| 441 |
+
"loss": 0.6732,
|
| 442 |
+
"rewards/accuracies": 0.59375,
|
| 443 |
+
"rewards/chosen": -0.03132578730583191,
|
| 444 |
+
"rewards/margins": 0.2260134220123291,
|
| 445 |
+
"rewards/rejected": -0.2573392391204834,
|
| 446 |
+
"step": 260
|
| 447 |
+
},
|
| 448 |
+
{
|
| 449 |
+
"epoch": 0.5652970426589898,
|
| 450 |
+
"grad_norm": 29.95901746509434,
|
| 451 |
+
"learning_rate": 9.019102798817195e-07,
|
| 452 |
+
"logits/chosen": -1.4621995687484741,
|
| 453 |
+
"logits/rejected": -1.563369631767273,
|
| 454 |
+
"logps/chosen": -379.08746337890625,
|
| 455 |
+
"logps/rejected": -326.1041259765625,
|
| 456 |
+
"loss": 0.6799,
|
| 457 |
+
"rewards/accuracies": 0.574999988079071,
|
| 458 |
+
"rewards/chosen": 0.010546261444687843,
|
| 459 |
+
"rewards/margins": 0.17825904488563538,
|
| 460 |
+
"rewards/rejected": -0.16771277785301208,
|
| 461 |
+
"step": 270
|
| 462 |
+
},
|
| 463 |
+
{
|
| 464 |
+
"epoch": 0.5862339701648783,
|
| 465 |
+
"grad_norm": 35.30660280902673,
|
| 466 |
+
"learning_rate": 8.90752621580335e-07,
|
| 467 |
+
"logits/chosen": -1.4563312530517578,
|
| 468 |
+
"logits/rejected": -1.5124019384384155,
|
| 469 |
+
"logps/chosen": -360.3949279785156,
|
| 470 |
+
"logps/rejected": -296.45318603515625,
|
| 471 |
+
"loss": 0.6904,
|
| 472 |
+
"rewards/accuracies": 0.53125,
|
| 473 |
+
"rewards/chosen": -0.05117585510015488,
|
| 474 |
+
"rewards/margins": 0.1499311625957489,
|
| 475 |
+
"rewards/rejected": -0.20110702514648438,
|
| 476 |
+
"step": 280
|
| 477 |
+
},
|
| 478 |
+
{
|
| 479 |
+
"epoch": 0.6071708976707668,
|
| 480 |
+
"grad_norm": 30.02627471974457,
|
| 481 |
+
"learning_rate": 8.79071147533597e-07,
|
| 482 |
+
"logits/chosen": -1.3743504285812378,
|
| 483 |
+
"logits/rejected": -1.3512884378433228,
|
| 484 |
+
"logps/chosen": -341.1376647949219,
|
| 485 |
+
"logps/rejected": -331.7826843261719,
|
| 486 |
+
"loss": 0.6581,
|
| 487 |
+
"rewards/accuracies": 0.643750011920929,
|
| 488 |
+
"rewards/chosen": -0.004191230051219463,
|
| 489 |
+
"rewards/margins": 0.26077696681022644,
|
| 490 |
+
"rewards/rejected": -0.26496821641921997,
|
| 491 |
+
"step": 290
|
| 492 |
+
},
|
| 493 |
+
{
|
| 494 |
+
"epoch": 0.6281078251766553,
|
| 495 |
+
"grad_norm": 32.675301753581984,
|
| 496 |
+
"learning_rate": 8.668815171119019e-07,
|
| 497 |
+
"logits/chosen": -1.2676564455032349,
|
| 498 |
+
"logits/rejected": -1.319390058517456,
|
| 499 |
+
"logps/chosen": -378.872314453125,
|
| 500 |
+
"logps/rejected": -322.4703369140625,
|
| 501 |
+
"loss": 0.663,
|
| 502 |
+
"rewards/accuracies": 0.6499999761581421,
|
| 503 |
+
"rewards/chosen": -0.022002484649419785,
|
| 504 |
+
"rewards/margins": 0.1741904467344284,
|
| 505 |
+
"rewards/rejected": -0.1961929351091385,
|
| 506 |
+
"step": 300
|
| 507 |
+
},
|
| 508 |
+
{
|
| 509 |
+
"epoch": 0.6281078251766553,
|
| 510 |
+
"eval_logits/chosen": -1.6317138671875,
|
| 511 |
+
"eval_logits/rejected": -1.6892949342727661,
|
| 512 |
+
"eval_logps/chosen": -375.532958984375,
|
| 513 |
+
"eval_logps/rejected": -323.4156494140625,
|
| 514 |
+
"eval_loss": 0.6616633534431458,
|
| 515 |
+
"eval_rewards/accuracies": 0.60317462682724,
|
| 516 |
+
"eval_rewards/chosen": 0.022496730089187622,
|
| 517 |
+
"eval_rewards/margins": 0.2614184617996216,
|
| 518 |
+
"eval_rewards/rejected": -0.23892174661159515,
|
| 519 |
+
"eval_runtime": 22.3915,
|
| 520 |
+
"eval_samples_per_second": 89.32,
|
| 521 |
+
"eval_steps_per_second": 2.814,
|
| 522 |
+
"step": 300
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"epoch": 0.6490447526825438,
|
| 526 |
+
"grad_norm": 32.37940998012059,
|
| 527 |
+
"learning_rate": 8.54200070884685e-07,
|
| 528 |
+
"logits/chosen": -1.3149330615997314,
|
| 529 |
+
"logits/rejected": -1.4230272769927979,
|
| 530 |
+
"logps/chosen": -389.00384521484375,
|
| 531 |
+
"logps/rejected": -293.93487548828125,
|
| 532 |
+
"loss": 0.6471,
|
| 533 |
+
"rewards/accuracies": 0.606249988079071,
|
| 534 |
+
"rewards/chosen": -0.028895879164338112,
|
| 535 |
+
"rewards/margins": 0.29164841771125793,
|
| 536 |
+
"rewards/rejected": -0.3205442726612091,
|
| 537 |
+
"step": 310
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"epoch": 0.6699816801884323,
|
| 541 |
+
"grad_norm": 34.74994897373754,
|
| 542 |
+
"learning_rate": 8.410438087153911e-07,
|
| 543 |
+
"logits/chosen": -1.2203506231307983,
|
| 544 |
+
"logits/rejected": -1.28737211227417,
|
| 545 |
+
"logps/chosen": -353.5164489746094,
|
| 546 |
+
"logps/rejected": -297.2350769042969,
|
| 547 |
+
"loss": 0.6689,
|
| 548 |
+
"rewards/accuracies": 0.5687500238418579,
|
| 549 |
+
"rewards/chosen": -0.03598624840378761,
|
| 550 |
+
"rewards/margins": 0.1709606647491455,
|
| 551 |
+
"rewards/rejected": -0.20694692432880402,
|
| 552 |
+
"step": 320
|
| 553 |
+
},
|
| 554 |
+
{
|
| 555 |
+
"epoch": 0.6909186076943209,
|
| 556 |
+
"grad_norm": 27.89021442930517,
|
| 557 |
+
"learning_rate": 8.274303669726426e-07,
|
| 558 |
+
"logits/chosen": -1.2289667129516602,
|
| 559 |
+
"logits/rejected": -1.3027209043502808,
|
| 560 |
+
"logps/chosen": -351.02435302734375,
|
| 561 |
+
"logps/rejected": -311.8251953125,
|
| 562 |
+
"loss": 0.6675,
|
| 563 |
+
"rewards/accuracies": 0.668749988079071,
|
| 564 |
+
"rewards/chosen": -0.005795622244477272,
|
| 565 |
+
"rewards/margins": 0.3018319308757782,
|
| 566 |
+
"rewards/rejected": -0.30762752890586853,
|
| 567 |
+
"step": 330
|
| 568 |
+
},
|
| 569 |
+
{
|
| 570 |
+
"epoch": 0.7118555352002094,
|
| 571 |
+
"grad_norm": 32.72596936653152,
|
| 572 |
+
"learning_rate": 8.133779948881513e-07,
|
| 573 |
+
"logits/chosen": -1.3401914834976196,
|
| 574 |
+
"logits/rejected": -1.387083888053894,
|
| 575 |
+
"logps/chosen": -355.665771484375,
|
| 576 |
+
"logps/rejected": -318.4053955078125,
|
| 577 |
+
"loss": 0.6557,
|
| 578 |
+
"rewards/accuracies": 0.65625,
|
| 579 |
+
"rewards/chosen": -0.04015441983938217,
|
| 580 |
+
"rewards/margins": 0.22958505153656006,
|
| 581 |
+
"rewards/rejected": -0.2697394788265228,
|
| 582 |
+
"step": 340
|
| 583 |
+
},
|
| 584 |
+
{
|
| 585 |
+
"epoch": 0.7327924627060979,
|
| 586 |
+
"grad_norm": 35.42610267799739,
|
| 587 |
+
"learning_rate": 7.989055300930704e-07,
|
| 588 |
+
"logits/chosen": -1.3034248352050781,
|
| 589 |
+
"logits/rejected": -1.3343088626861572,
|
| 590 |
+
"logps/chosen": -340.1492614746094,
|
| 591 |
+
"logps/rejected": -289.6612854003906,
|
| 592 |
+
"loss": 0.6554,
|
| 593 |
+
"rewards/accuracies": 0.581250011920929,
|
| 594 |
+
"rewards/chosen": -0.1225026398897171,
|
| 595 |
+
"rewards/margins": 0.12164878845214844,
|
| 596 |
+
"rewards/rejected": -0.24415142834186554,
|
| 597 |
+
"step": 350
|
| 598 |
+
},
|
| 599 |
+
{
|
| 600 |
+
"epoch": 0.7537293902119864,
|
| 601 |
+
"grad_norm": 29.02918447808193,
|
| 602 |
+
"learning_rate": 7.840323733655778e-07,
|
| 603 |
+
"logits/chosen": -1.2503941059112549,
|
| 604 |
+
"logits/rejected": -1.4153048992156982,
|
| 605 |
+
"logps/chosen": -406.9992980957031,
|
| 606 |
+
"logps/rejected": -322.87994384765625,
|
| 607 |
+
"loss": 0.6565,
|
| 608 |
+
"rewards/accuracies": 0.675000011920929,
|
| 609 |
+
"rewards/chosen": 0.024089232087135315,
|
| 610 |
+
"rewards/margins": 0.31749090552330017,
|
| 611 |
+
"rewards/rejected": -0.29340168833732605,
|
| 612 |
+
"step": 360
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"epoch": 0.7746663177178749,
|
| 616 |
+
"grad_norm": 33.710516075595095,
|
| 617 |
+
"learning_rate": 7.687784626235447e-07,
|
| 618 |
+
"logits/chosen": -1.312897801399231,
|
| 619 |
+
"logits/rejected": -1.3840960264205933,
|
| 620 |
+
"logps/chosen": -369.8164978027344,
|
| 621 |
+
"logps/rejected": -291.6910705566406,
|
| 622 |
+
"loss": 0.643,
|
| 623 |
+
"rewards/accuracies": 0.643750011920929,
|
| 624 |
+
"rewards/chosen": 0.02891460619866848,
|
| 625 |
+
"rewards/margins": 0.3528975546360016,
|
| 626 |
+
"rewards/rejected": -0.3239828944206238,
|
| 627 |
+
"step": 370
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"epoch": 0.7956032452237635,
|
| 631 |
+
"grad_norm": 30.30908317538956,
|
| 632 |
+
"learning_rate": 7.531642461971514e-07,
|
| 633 |
+
"logits/chosen": -1.4397472143173218,
|
| 634 |
+
"logits/rejected": -1.5266616344451904,
|
| 635 |
+
"logps/chosen": -368.24224853515625,
|
| 636 |
+
"logps/rejected": -316.00567626953125,
|
| 637 |
+
"loss": 0.6553,
|
| 638 |
+
"rewards/accuracies": 0.7124999761581421,
|
| 639 |
+
"rewards/chosen": -0.07685438543558121,
|
| 640 |
+
"rewards/margins": 0.29695773124694824,
|
| 641 |
+
"rewards/rejected": -0.37381213903427124,
|
| 642 |
+
"step": 380
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"epoch": 0.816540172729652,
|
| 646 |
+
"grad_norm": 34.60440393056815,
|
| 647 |
+
"learning_rate": 7.372106554172801e-07,
|
| 648 |
+
"logits/chosen": -1.3900893926620483,
|
| 649 |
+
"logits/rejected": -1.348008394241333,
|
| 650 |
+
"logps/chosen": -369.2901306152344,
|
| 651 |
+
"logps/rejected": -338.5638427734375,
|
| 652 |
+
"loss": 0.661,
|
| 653 |
+
"rewards/accuracies": 0.6187499761581421,
|
| 654 |
+
"rewards/chosen": -0.0064844414591789246,
|
| 655 |
+
"rewards/margins": 0.22314131259918213,
|
| 656 |
+
"rewards/rejected": -0.22962574660778046,
|
| 657 |
+
"step": 390
|
| 658 |
+
},
|
| 659 |
+
{
|
| 660 |
+
"epoch": 0.8374771002355405,
|
| 661 |
+
"grad_norm": 31.77115164859215,
|
| 662 |
+
"learning_rate": 7.209390765564318e-07,
|
| 663 |
+
"logits/chosen": -1.4996167421340942,
|
| 664 |
+
"logits/rejected": -1.4596645832061768,
|
| 665 |
+
"logps/chosen": -308.35113525390625,
|
| 666 |
+
"logps/rejected": -281.60693359375,
|
| 667 |
+
"loss": 0.6547,
|
| 668 |
+
"rewards/accuracies": 0.65625,
|
| 669 |
+
"rewards/chosen": -0.04348212480545044,
|
| 670 |
+
"rewards/margins": 0.27009111642837524,
|
| 671 |
+
"rewards/rejected": -0.3135732412338257,
|
| 672 |
+
"step": 400
|
| 673 |
+
},
|
| 674 |
+
{
|
| 675 |
+
"epoch": 0.8374771002355405,
|
| 676 |
+
"eval_logits/chosen": -1.6414421796798706,
|
| 677 |
+
"eval_logits/rejected": -1.6979553699493408,
|
| 678 |
+
"eval_logps/chosen": -375.57781982421875,
|
| 679 |
+
"eval_logps/rejected": -323.6410217285156,
|
| 680 |
+
"eval_loss": 0.6590762734413147,
|
| 681 |
+
"eval_rewards/accuracies": 0.6388888955116272,
|
| 682 |
+
"eval_rewards/chosen": 7.240355625981465e-05,
|
| 683 |
+
"eval_rewards/margins": 0.3516833484172821,
|
| 684 |
+
"eval_rewards/rejected": -0.3516109585762024,
|
| 685 |
+
"eval_runtime": 22.0937,
|
| 686 |
+
"eval_samples_per_second": 90.524,
|
| 687 |
+
"eval_steps_per_second": 2.851,
|
| 688 |
+
"step": 400
|
| 689 |
+
},
|
| 690 |
+
{
|
| 691 |
+
"epoch": 0.8584140277414289,
|
| 692 |
+
"grad_norm": 31.789442088224007,
|
| 693 |
+
"learning_rate": 7.043713221597773e-07,
|
| 694 |
+
"logits/chosen": -1.2454522848129272,
|
| 695 |
+
"logits/rejected": -1.4237592220306396,
|
| 696 |
+
"logps/chosen": -399.0449523925781,
|
| 697 |
+
"logps/rejected": -326.0782775878906,
|
| 698 |
+
"loss": 0.6462,
|
| 699 |
+
"rewards/accuracies": 0.612500011920929,
|
| 700 |
+
"rewards/chosen": 0.014972883276641369,
|
| 701 |
+
"rewards/margins": 0.2356092631816864,
|
| 702 |
+
"rewards/rejected": -0.22063639760017395,
|
| 703 |
+
"step": 410
|
| 704 |
+
},
|
| 705 |
+
{
|
| 706 |
+
"epoch": 0.8793509552473174,
|
| 707 |
+
"grad_norm": 32.68488619173213,
|
| 708 |
+
"learning_rate": 6.875296018047809e-07,
|
| 709 |
+
"logits/chosen": -1.5021634101867676,
|
| 710 |
+
"logits/rejected": -1.4257535934448242,
|
| 711 |
+
"logps/chosen": -349.61553955078125,
|
| 712 |
+
"logps/rejected": -340.30975341796875,
|
| 713 |
+
"loss": 0.6371,
|
| 714 |
+
"rewards/accuracies": 0.6312500238418579,
|
| 715 |
+
"rewards/chosen": -0.10846195369958878,
|
| 716 |
+
"rewards/margins": 0.26752999424934387,
|
| 717 |
+
"rewards/rejected": -0.37599191069602966,
|
| 718 |
+
"step": 420
|
| 719 |
+
},
|
| 720 |
+
{
|
| 721 |
+
"epoch": 0.9002878827532059,
|
| 722 |
+
"grad_norm": 29.283057753738706,
|
| 723 |
+
"learning_rate": 6.704364923285857e-07,
|
| 724 |
+
"logits/chosen": -1.3049055337905884,
|
| 725 |
+
"logits/rejected": -1.4615538120269775,
|
| 726 |
+
"logps/chosen": -387.3922119140625,
|
| 727 |
+
"logps/rejected": -299.621337890625,
|
| 728 |
+
"loss": 0.6539,
|
| 729 |
+
"rewards/accuracies": 0.5687500238418579,
|
| 730 |
+
"rewards/chosen": -0.06501199305057526,
|
| 731 |
+
"rewards/margins": 0.30248281359672546,
|
| 732 |
+
"rewards/rejected": -0.3674947917461395,
|
| 733 |
+
"step": 430
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"epoch": 0.9212248102590945,
|
| 737 |
+
"grad_norm": 30.29029590057011,
|
| 738 |
+
"learning_rate": 6.531149075630796e-07,
|
| 739 |
+
"logits/chosen": -1.2950228452682495,
|
| 740 |
+
"logits/rejected": -1.3765883445739746,
|
| 741 |
+
"logps/chosen": -359.27691650390625,
|
| 742 |
+
"logps/rejected": -293.13104248046875,
|
| 743 |
+
"loss": 0.6508,
|
| 744 |
+
"rewards/accuracies": 0.5874999761581421,
|
| 745 |
+
"rewards/chosen": -0.05934730917215347,
|
| 746 |
+
"rewards/margins": 0.2306128442287445,
|
| 747 |
+
"rewards/rejected": -0.28996017575263977,
|
| 748 |
+
"step": 440
|
| 749 |
+
},
|
| 750 |
+
{
|
| 751 |
+
"epoch": 0.942161737764983,
|
| 752 |
+
"grad_norm": 31.040736224709473,
|
| 753 |
+
"learning_rate": 6.355880676182085e-07,
|
| 754 |
+
"logits/chosen": -1.4344260692596436,
|
| 755 |
+
"logits/rejected": -1.3737527132034302,
|
| 756 |
+
"logps/chosen": -357.5885314941406,
|
| 757 |
+
"logps/rejected": -332.05499267578125,
|
| 758 |
+
"loss": 0.6653,
|
| 759 |
+
"rewards/accuracies": 0.675000011920929,
|
| 760 |
+
"rewards/chosen": -0.04119770601391792,
|
| 761 |
+
"rewards/margins": 0.2782004475593567,
|
| 762 |
+
"rewards/rejected": -0.31939810514450073,
|
| 763 |
+
"step": 450
|
| 764 |
+
},
|
| 765 |
+
{
|
| 766 |
+
"epoch": 0.9630986652708715,
|
| 767 |
+
"grad_norm": 31.5228211898507,
|
| 768 |
+
"learning_rate": 6.178794677547137e-07,
|
| 769 |
+
"logits/chosen": -1.2749378681182861,
|
| 770 |
+
"logits/rejected": -1.4267973899841309,
|
| 771 |
+
"logps/chosen": -346.6052551269531,
|
| 772 |
+
"logps/rejected": -290.1454162597656,
|
| 773 |
+
"loss": 0.6415,
|
| 774 |
+
"rewards/accuracies": 0.6625000238418579,
|
| 775 |
+
"rewards/chosen": 0.026611875742673874,
|
| 776 |
+
"rewards/margins": 0.3765586316585541,
|
| 777 |
+
"rewards/rejected": -0.3499467074871063,
|
| 778 |
+
"step": 460
|
| 779 |
+
},
|
| 780 |
+
{
|
| 781 |
+
"epoch": 0.98403559277676,
|
| 782 |
+
"grad_norm": 31.660312290338712,
|
| 783 |
+
"learning_rate": 6.000128468880222e-07,
|
| 784 |
+
"logits/chosen": -1.3701679706573486,
|
| 785 |
+
"logits/rejected": -1.390453815460205,
|
| 786 |
+
"logps/chosen": -369.3509826660156,
|
| 787 |
+
"logps/rejected": -323.2626037597656,
|
| 788 |
+
"loss": 0.6358,
|
| 789 |
+
"rewards/accuracies": 0.6000000238418579,
|
| 790 |
+
"rewards/chosen": -0.04081202298402786,
|
| 791 |
+
"rewards/margins": 0.33853498101234436,
|
| 792 |
+
"rewards/rejected": -0.37934696674346924,
|
| 793 |
+
"step": 470
|
| 794 |
+
},
|
| 795 |
+
{
|
| 796 |
+
"epoch": 1.0049725202826485,
|
| 797 |
+
"grad_norm": 27.48266116042723,
|
| 798 |
+
"learning_rate": 5.820121557655108e-07,
|
| 799 |
+
"logits/chosen": -1.2848116159439087,
|
| 800 |
+
"logits/rejected": -1.3119057416915894,
|
| 801 |
+
"logps/chosen": -359.86102294921875,
|
| 802 |
+
"logps/rejected": -313.0788269042969,
|
| 803 |
+
"loss": 0.6459,
|
| 804 |
+
"rewards/accuracies": 0.625,
|
| 805 |
+
"rewards/chosen": -0.048723649233579636,
|
| 806 |
+
"rewards/margins": 0.27731940150260925,
|
| 807 |
+
"rewards/rejected": -0.3260430693626404,
|
| 808 |
+
"step": 480
|
| 809 |
+
},
|
| 810 |
+
{
|
| 811 |
+
"epoch": 1.025909447788537,
|
| 812 |
+
"grad_norm": 31.66810532106133,
|
| 813 |
+
"learning_rate": 5.639015248598023e-07,
|
| 814 |
+
"logits/chosen": -1.34721839427948,
|
| 815 |
+
"logits/rejected": -1.449410080909729,
|
| 816 |
+
"logps/chosen": -361.23046875,
|
| 817 |
+
"logps/rejected": -296.3492126464844,
|
| 818 |
+
"loss": 0.6519,
|
| 819 |
+
"rewards/accuracies": 0.625,
|
| 820 |
+
"rewards/chosen": -0.09297003597021103,
|
| 821 |
+
"rewards/margins": 0.209228515625,
|
| 822 |
+
"rewards/rejected": -0.302198588848114,
|
| 823 |
+
"step": 490
|
| 824 |
+
},
|
| 825 |
+
{
|
| 826 |
+
"epoch": 1.0468463752944255,
|
| 827 |
+
"grad_norm": 31.533076924353868,
|
| 828 |
+
"learning_rate": 5.457052320211339e-07,
|
| 829 |
+
"logits/chosen": -1.3988004922866821,
|
| 830 |
+
"logits/rejected": -1.4485900402069092,
|
| 831 |
+
"logps/chosen": -370.951904296875,
|
| 832 |
+
"logps/rejected": -314.5948181152344,
|
| 833 |
+
"loss": 0.6456,
|
| 834 |
+
"rewards/accuracies": 0.550000011920929,
|
| 835 |
+
"rewards/chosen": -0.10979924350976944,
|
| 836 |
+
"rewards/margins": 0.23507650196552277,
|
| 837 |
+
"rewards/rejected": -0.3448757231235504,
|
| 838 |
+
"step": 500
|
| 839 |
+
},
|
| 840 |
+
{
|
| 841 |
+
"epoch": 1.0468463752944255,
|
| 842 |
+
"eval_logits/chosen": -1.636523962020874,
|
| 843 |
+
"eval_logits/rejected": -1.6931382417678833,
|
| 844 |
+
"eval_logps/chosen": -375.5513916015625,
|
| 845 |
+
"eval_logps/rejected": -323.6509704589844,
|
| 846 |
+
"eval_loss": 0.6429626941680908,
|
| 847 |
+
"eval_rewards/accuracies": 0.6666666865348816,
|
| 848 |
+
"eval_rewards/chosen": 0.01327058020979166,
|
| 849 |
+
"eval_rewards/margins": 0.36985495686531067,
|
| 850 |
+
"eval_rewards/rejected": -0.356584370136261,
|
| 851 |
+
"eval_runtime": 22.4458,
|
| 852 |
+
"eval_samples_per_second": 89.104,
|
| 853 |
+
"eval_steps_per_second": 2.807,
|
| 854 |
+
"step": 500
|
| 855 |
+
},
|
| 856 |
+
{
|
| 857 |
+
"epoch": 1.067783302800314,
|
| 858 |
+
"grad_norm": 30.307455199305462,
|
| 859 |
+
"learning_rate": 5.274476699321637e-07,
|
| 860 |
+
"logits/chosen": -1.4101717472076416,
|
| 861 |
+
"logits/rejected": -1.420190453529358,
|
| 862 |
+
"logps/chosen": -327.46893310546875,
|
| 863 |
+
"logps/rejected": -302.391357421875,
|
| 864 |
+
"loss": 0.6345,
|
| 865 |
+
"rewards/accuracies": 0.6312500238418579,
|
| 866 |
+
"rewards/chosen": -0.04776526987552643,
|
| 867 |
+
"rewards/margins": 0.2989855408668518,
|
| 868 |
+
"rewards/rejected": -0.3467508554458618,
|
| 869 |
+
"step": 510
|
| 870 |
+
},
|
| 871 |
+
{
|
| 872 |
+
"epoch": 1.0887202303062025,
|
| 873 |
+
"grad_norm": 29.722389429702496,
|
| 874 |
+
"learning_rate": 5.091533134088387e-07,
|
| 875 |
+
"logits/chosen": -1.4273402690887451,
|
| 876 |
+
"logits/rejected": -1.4231868982315063,
|
| 877 |
+
"logps/chosen": -323.42376708984375,
|
| 878 |
+
"logps/rejected": -304.4673767089844,
|
| 879 |
+
"loss": 0.6284,
|
| 880 |
+
"rewards/accuracies": 0.6499999761581421,
|
| 881 |
+
"rewards/chosen": -0.0829726904630661,
|
| 882 |
+
"rewards/margins": 0.24710920453071594,
|
| 883 |
+
"rewards/rejected": -0.33008190989494324,
|
| 884 |
+
"step": 520
|
| 885 |
+
},
|
| 886 |
+
{
|
| 887 |
+
"epoch": 1.109657157812091,
|
| 888 |
+
"grad_norm": 28.885339598508185,
|
| 889 |
+
"learning_rate": 4.908466865911614e-07,
|
| 890 |
+
"logits/chosen": -1.4464526176452637,
|
| 891 |
+
"logits/rejected": -1.5408886671066284,
|
| 892 |
+
"logps/chosen": -344.06689453125,
|
| 893 |
+
"logps/rejected": -292.1816101074219,
|
| 894 |
+
"loss": 0.6328,
|
| 895 |
+
"rewards/accuracies": 0.643750011920929,
|
| 896 |
+
"rewards/chosen": -0.03225661441683769,
|
| 897 |
+
"rewards/margins": 0.38520506024360657,
|
| 898 |
+
"rewards/rejected": -0.41746169328689575,
|
| 899 |
+
"step": 530
|
| 900 |
+
},
|
| 901 |
+
{
|
| 902 |
+
"epoch": 1.1305940853179797,
|
| 903 |
+
"grad_norm": 29.441675570164428,
|
| 904 |
+
"learning_rate": 4.7255233006783624e-07,
|
| 905 |
+
"logits/chosen": -1.3947404623031616,
|
| 906 |
+
"logits/rejected": -1.328045129776001,
|
| 907 |
+
"logps/chosen": -318.3937072753906,
|
| 908 |
+
"logps/rejected": -280.65435791015625,
|
| 909 |
+
"loss": 0.6372,
|
| 910 |
+
"rewards/accuracies": 0.675000011920929,
|
| 911 |
+
"rewards/chosen": -0.03985299542546272,
|
| 912 |
+
"rewards/margins": 0.33030450344085693,
|
| 913 |
+
"rewards/rejected": -0.37015751004219055,
|
| 914 |
+
"step": 540
|
| 915 |
+
},
|
| 916 |
+
{
|
| 917 |
+
"epoch": 1.151531012823868,
|
| 918 |
+
"grad_norm": 29.84505193266847,
|
| 919 |
+
"learning_rate": 4.5429476797886617e-07,
|
| 920 |
+
"logits/chosen": -1.3157615661621094,
|
| 921 |
+
"logits/rejected": -1.463357925415039,
|
| 922 |
+
"logps/chosen": -367.59564208984375,
|
| 923 |
+
"logps/rejected": -284.3589172363281,
|
| 924 |
+
"loss": 0.6256,
|
| 925 |
+
"rewards/accuracies": 0.675000011920929,
|
| 926 |
+
"rewards/chosen": -0.04548700898885727,
|
| 927 |
+
"rewards/margins": 0.312529981136322,
|
| 928 |
+
"rewards/rejected": -0.3580169677734375,
|
| 929 |
+
"step": 550
|
| 930 |
+
},
|
| 931 |
+
{
|
| 932 |
+
"epoch": 1.1724679403297567,
|
| 933 |
+
"grad_norm": 33.58402259379722,
|
| 934 |
+
"learning_rate": 4.3609847514019763e-07,
|
| 935 |
+
"logits/chosen": -1.3491549491882324,
|
| 936 |
+
"logits/rejected": -1.3917362689971924,
|
| 937 |
+
"logps/chosen": -355.3868408203125,
|
| 938 |
+
"logps/rejected": -311.2879943847656,
|
| 939 |
+
"loss": 0.6294,
|
| 940 |
+
"rewards/accuracies": 0.643750011920929,
|
| 941 |
+
"rewards/chosen": 0.005126100964844227,
|
| 942 |
+
"rewards/margins": 0.33152928948402405,
|
| 943 |
+
"rewards/rejected": -0.3264032006263733,
|
| 944 |
+
"step": 560
|
| 945 |
+
},
|
| 946 |
+
{
|
| 947 |
+
"epoch": 1.193404867835645,
|
| 948 |
+
"grad_norm": 29.80795991678476,
|
| 949 |
+
"learning_rate": 4.179878442344892e-07,
|
| 950 |
+
"logits/chosen": -1.4194284677505493,
|
| 951 |
+
"logits/rejected": -1.371366262435913,
|
| 952 |
+
"logps/chosen": -326.87066650390625,
|
| 953 |
+
"logps/rejected": -321.23785400390625,
|
| 954 |
+
"loss": 0.6441,
|
| 955 |
+
"rewards/accuracies": 0.6812499761581421,
|
| 956 |
+
"rewards/chosen": 0.0237637497484684,
|
| 957 |
+
"rewards/margins": 0.33783239126205444,
|
| 958 |
+
"rewards/rejected": -0.31406864523887634,
|
| 959 |
+
"step": 570
|
| 960 |
+
},
|
| 961 |
+
{
|
| 962 |
+
"epoch": 1.2143417953415336,
|
| 963 |
+
"grad_norm": 30.101844117489865,
|
| 964 |
+
"learning_rate": 3.9998715311197783e-07,
|
| 965 |
+
"logits/chosen": -1.452893853187561,
|
| 966 |
+
"logits/rejected": -1.460272192955017,
|
| 967 |
+
"logps/chosen": -346.24932861328125,
|
| 968 |
+
"logps/rejected": -292.27667236328125,
|
| 969 |
+
"loss": 0.6258,
|
| 970 |
+
"rewards/accuracies": 0.6937500238418579,
|
| 971 |
+
"rewards/chosen": -0.029639745131134987,
|
| 972 |
+
"rewards/margins": 0.4036487638950348,
|
| 973 |
+
"rewards/rejected": -0.43328848481178284,
|
| 974 |
+
"step": 580
|
| 975 |
+
},
|
| 976 |
+
{
|
| 977 |
+
"epoch": 1.235278722847422,
|
| 978 |
+
"grad_norm": 28.648910640416673,
|
| 979 |
+
"learning_rate": 3.821205322452863e-07,
|
| 980 |
+
"logits/chosen": -1.2438939809799194,
|
| 981 |
+
"logits/rejected": -1.3377447128295898,
|
| 982 |
+
"logps/chosen": -380.3300476074219,
|
| 983 |
+
"logps/rejected": -317.4806823730469,
|
| 984 |
+
"loss": 0.6249,
|
| 985 |
+
"rewards/accuracies": 0.643750011920929,
|
| 986 |
+
"rewards/chosen": -0.0937061458826065,
|
| 987 |
+
"rewards/margins": 0.34427446126937866,
|
| 988 |
+
"rewards/rejected": -0.43798065185546875,
|
| 989 |
+
"step": 590
|
| 990 |
+
},
|
| 991 |
+
{
|
| 992 |
+
"epoch": 1.2562156503533106,
|
| 993 |
+
"grad_norm": 34.234491670474995,
|
| 994 |
+
"learning_rate": 3.6441193238179146e-07,
|
| 995 |
+
"logits/chosen": -1.4130090475082397,
|
| 996 |
+
"logits/rejected": -1.340057611465454,
|
| 997 |
+
"logps/chosen": -377.28228759765625,
|
| 998 |
+
"logps/rejected": -362.57879638671875,
|
| 999 |
+
"loss": 0.6054,
|
| 1000 |
+
"rewards/accuracies": 0.59375,
|
| 1001 |
+
"rewards/chosen": -0.08141253888607025,
|
| 1002 |
+
"rewards/margins": 0.26778295636177063,
|
| 1003 |
+
"rewards/rejected": -0.3491954803466797,
|
| 1004 |
+
"step": 600
|
| 1005 |
+
},
|
| 1006 |
+
{
|
| 1007 |
+
"epoch": 1.2562156503533106,
|
| 1008 |
+
"eval_logits/chosen": -1.6430615186691284,
|
| 1009 |
+
"eval_logits/rejected": -1.6991180181503296,
|
| 1010 |
+
"eval_logps/chosen": -375.643798828125,
|
| 1011 |
+
"eval_logps/rejected": -323.71673583984375,
|
| 1012 |
+
"eval_loss": 0.6423465609550476,
|
| 1013 |
+
"eval_rewards/accuracies": 0.6349206566810608,
|
| 1014 |
+
"eval_rewards/chosen": -0.032912444323301315,
|
| 1015 |
+
"eval_rewards/margins": 0.3565501272678375,
|
| 1016 |
+
"eval_rewards/rejected": -0.38946259021759033,
|
| 1017 |
+
"eval_runtime": 22.0916,
|
| 1018 |
+
"eval_samples_per_second": 90.532,
|
| 1019 |
+
"eval_steps_per_second": 2.852,
|
| 1020 |
+
"step": 600
|
| 1021 |
+
},
|
| 1022 |
+
{
|
| 1023 |
+
"epoch": 1.2771525778591992,
|
| 1024 |
+
"grad_norm": 31.96916362076228,
|
| 1025 |
+
"learning_rate": 3.4688509243692034e-07,
|
| 1026 |
+
"logits/chosen": -1.3404086828231812,
|
| 1027 |
+
"logits/rejected": -1.401881217956543,
|
| 1028 |
+
"logps/chosen": -348.0643005371094,
|
| 1029 |
+
"logps/rejected": -274.1236267089844,
|
| 1030 |
+
"loss": 0.6089,
|
| 1031 |
+
"rewards/accuracies": 0.7437499761581421,
|
| 1032 |
+
"rewards/chosen": 0.05336350202560425,
|
| 1033 |
+
"rewards/margins": 0.5003852248191833,
|
| 1034 |
+
"rewards/rejected": -0.4470217823982239,
|
| 1035 |
+
"step": 610
|
| 1036 |
+
},
|
| 1037 |
+
{
|
| 1038 |
+
"epoch": 1.2980895053650876,
|
| 1039 |
+
"grad_norm": 27.687942045456108,
|
| 1040 |
+
"learning_rate": 3.295635076714144e-07,
|
| 1041 |
+
"logits/chosen": -1.1929457187652588,
|
| 1042 |
+
"logits/rejected": -1.3312275409698486,
|
| 1043 |
+
"logps/chosen": -339.0008544921875,
|
| 1044 |
+
"logps/rejected": -282.86273193359375,
|
| 1045 |
+
"loss": 0.6173,
|
| 1046 |
+
"rewards/accuracies": 0.65625,
|
| 1047 |
+
"rewards/chosen": -0.04629793018102646,
|
| 1048 |
+
"rewards/margins": 0.3611483573913574,
|
| 1049 |
+
"rewards/rejected": -0.4074462950229645,
|
| 1050 |
+
"step": 620
|
| 1051 |
+
},
|
| 1052 |
+
{
|
| 1053 |
+
"epoch": 1.3190264328709762,
|
| 1054 |
+
"grad_norm": 30.364814060074504,
|
| 1055 |
+
"learning_rate": 3.12470398195219e-07,
|
| 1056 |
+
"logits/chosen": -1.4581263065338135,
|
| 1057 |
+
"logits/rejected": -1.4359983205795288,
|
| 1058 |
+
"logps/chosen": -352.0130310058594,
|
| 1059 |
+
"logps/rejected": -319.5924987792969,
|
| 1060 |
+
"loss": 0.6124,
|
| 1061 |
+
"rewards/accuracies": 0.706250011920929,
|
| 1062 |
+
"rewards/chosen": 0.0860348716378212,
|
| 1063 |
+
"rewards/margins": 0.4933602213859558,
|
| 1064 |
+
"rewards/rejected": -0.4073253571987152,
|
| 1065 |
+
"step": 630
|
| 1066 |
+
},
|
| 1067 |
+
{
|
| 1068 |
+
"epoch": 1.3399633603768648,
|
| 1069 |
+
"grad_norm": 28.207562684445328,
|
| 1070 |
+
"learning_rate": 2.956286778402226e-07,
|
| 1071 |
+
"logits/chosen": -1.3643245697021484,
|
| 1072 |
+
"logits/rejected": -1.3367928266525269,
|
| 1073 |
+
"logps/chosen": -329.8095397949219,
|
| 1074 |
+
"logps/rejected": -325.6297912597656,
|
| 1075 |
+
"loss": 0.6194,
|
| 1076 |
+
"rewards/accuracies": 0.668749988079071,
|
| 1077 |
+
"rewards/chosen": -0.03843813017010689,
|
| 1078 |
+
"rewards/margins": 0.4010621905326843,
|
| 1079 |
+
"rewards/rejected": -0.4395003318786621,
|
| 1080 |
+
"step": 640
|
| 1081 |
+
},
|
| 1082 |
+
{
|
| 1083 |
+
"epoch": 1.3609002878827532,
|
| 1084 |
+
"grad_norm": 31.931835373695627,
|
| 1085 |
+
"learning_rate": 2.7906092344356826e-07,
|
| 1086 |
+
"logits/chosen": -1.4707378149032593,
|
| 1087 |
+
"logits/rejected": -1.4725669622421265,
|
| 1088 |
+
"logps/chosen": -321.7577819824219,
|
| 1089 |
+
"logps/rejected": -296.30072021484375,
|
| 1090 |
+
"loss": 0.6295,
|
| 1091 |
+
"rewards/accuracies": 0.5874999761581421,
|
| 1092 |
+
"rewards/chosen": -0.20691867172718048,
|
| 1093 |
+
"rewards/margins": 0.24088874459266663,
|
| 1094 |
+
"rewards/rejected": -0.4478074014186859,
|
| 1095 |
+
"step": 650
|
| 1096 |
+
},
|
| 1097 |
+
{
|
| 1098 |
+
"epoch": 1.3818372153886418,
|
| 1099 |
+
"grad_norm": 33.26417313890622,
|
| 1100 |
+
"learning_rate": 2.6278934458271996e-07,
|
| 1101 |
+
"logits/chosen": -1.280631422996521,
|
| 1102 |
+
"logits/rejected": -1.3918514251708984,
|
| 1103 |
+
"logps/chosen": -319.20391845703125,
|
| 1104 |
+
"logps/rejected": -294.9554138183594,
|
| 1105 |
+
"loss": 0.6281,
|
| 1106 |
+
"rewards/accuracies": 0.59375,
|
| 1107 |
+
"rewards/chosen": -0.15276700258255005,
|
| 1108 |
+
"rewards/margins": 0.14049580693244934,
|
| 1109 |
+
"rewards/rejected": -0.293262779712677,
|
| 1110 |
+
"step": 660
|
| 1111 |
+
},
|
| 1112 |
+
{
|
| 1113 |
+
"epoch": 1.4027741428945302,
|
| 1114 |
+
"grad_norm": 27.692247842703622,
|
| 1115 |
+
"learning_rate": 2.468357538028487e-07,
|
| 1116 |
+
"logits/chosen": -1.3904974460601807,
|
| 1117 |
+
"logits/rejected": -1.4726046323776245,
|
| 1118 |
+
"logps/chosen": -351.35614013671875,
|
| 1119 |
+
"logps/rejected": -299.1191101074219,
|
| 1120 |
+
"loss": 0.6141,
|
| 1121 |
+
"rewards/accuracies": 0.6812499761581421,
|
| 1122 |
+
"rewards/chosen": 0.012430467642843723,
|
| 1123 |
+
"rewards/margins": 0.4077607989311218,
|
| 1124 |
+
"rewards/rejected": -0.39533036947250366,
|
| 1125 |
+
"step": 670
|
| 1126 |
+
},
|
| 1127 |
+
{
|
| 1128 |
+
"epoch": 1.4237110704004188,
|
| 1129 |
+
"grad_norm": 32.32896888329579,
|
| 1130 |
+
"learning_rate": 2.312215373764551e-07,
|
| 1131 |
+
"logits/chosen": -1.3210734128952026,
|
| 1132 |
+
"logits/rejected": -1.2972867488861084,
|
| 1133 |
+
"logps/chosen": -357.87725830078125,
|
| 1134 |
+
"logps/rejected": -346.83172607421875,
|
| 1135 |
+
"loss": 0.612,
|
| 1136 |
+
"rewards/accuracies": 0.6312500238418579,
|
| 1137 |
+
"rewards/chosen": -0.030674666166305542,
|
| 1138 |
+
"rewards/margins": 0.2985823154449463,
|
| 1139 |
+
"rewards/rejected": -0.32925695180892944,
|
| 1140 |
+
"step": 680
|
| 1141 |
+
},
|
| 1142 |
+
{
|
| 1143 |
+
"epoch": 1.4446479979063072,
|
| 1144 |
+
"grad_norm": 26.559915261204598,
|
| 1145 |
+
"learning_rate": 2.1596762663442213e-07,
|
| 1146 |
+
"logits/chosen": -1.353945016860962,
|
| 1147 |
+
"logits/rejected": -1.331405758857727,
|
| 1148 |
+
"logps/chosen": -359.0257263183594,
|
| 1149 |
+
"logps/rejected": -302.020751953125,
|
| 1150 |
+
"loss": 0.6143,
|
| 1151 |
+
"rewards/accuracies": 0.637499988079071,
|
| 1152 |
+
"rewards/chosen": -0.09165488183498383,
|
| 1153 |
+
"rewards/margins": 0.32221120595932007,
|
| 1154 |
+
"rewards/rejected": -0.4138661324977875,
|
| 1155 |
+
"step": 690
|
| 1156 |
+
},
|
| 1157 |
+
{
|
| 1158 |
+
"epoch": 1.4655849254121958,
|
| 1159 |
+
"grad_norm": 28.923951135790823,
|
| 1160 |
+
"learning_rate": 2.0109446990692963e-07,
|
| 1161 |
+
"logits/chosen": -1.3177390098571777,
|
| 1162 |
+
"logits/rejected": -1.2676212787628174,
|
| 1163 |
+
"logps/chosen": -382.9945373535156,
|
| 1164 |
+
"logps/rejected": -382.7451171875,
|
| 1165 |
+
"loss": 0.6129,
|
| 1166 |
+
"rewards/accuracies": 0.675000011920929,
|
| 1167 |
+
"rewards/chosen": 0.00983230210840702,
|
| 1168 |
+
"rewards/margins": 0.44890522956848145,
|
| 1169 |
+
"rewards/rejected": -0.43907293677330017,
|
| 1170 |
+
"step": 700
|
| 1171 |
+
},
|
| 1172 |
+
{
|
| 1173 |
+
"epoch": 1.4655849254121958,
|
| 1174 |
+
"eval_logits/chosen": -1.6413902044296265,
|
| 1175 |
+
"eval_logits/rejected": -1.6979249715805054,
|
| 1176 |
+
"eval_logps/chosen": -375.667724609375,
|
| 1177 |
+
"eval_logps/rejected": -323.7745361328125,
|
| 1178 |
+
"eval_loss": 0.6431064009666443,
|
| 1179 |
+
"eval_rewards/accuracies": 0.6349206566810608,
|
| 1180 |
+
"eval_rewards/chosen": -0.044887345284223557,
|
| 1181 |
+
"eval_rewards/margins": 0.373458594083786,
|
| 1182 |
+
"eval_rewards/rejected": -0.41834595799446106,
|
| 1183 |
+
"eval_runtime": 22.4693,
|
| 1184 |
+
"eval_samples_per_second": 89.01,
|
| 1185 |
+
"eval_steps_per_second": 2.804,
|
| 1186 |
+
"step": 700
|
| 1187 |
+
},
|
| 1188 |
+
{
|
| 1189 |
+
"epoch": 1.4865218529180844,
|
| 1190 |
+
"grad_norm": 29.793015750302608,
|
| 1191 |
+
"learning_rate": 1.8662200511184872e-07,
|
| 1192 |
+
"logits/chosen": -1.5391782522201538,
|
| 1193 |
+
"logits/rejected": -1.5692270994186401,
|
| 1194 |
+
"logps/chosen": -353.60504150390625,
|
| 1195 |
+
"logps/rejected": -327.60333251953125,
|
| 1196 |
+
"loss": 0.6413,
|
| 1197 |
+
"rewards/accuracies": 0.59375,
|
| 1198 |
+
"rewards/chosen": -0.08452965319156647,
|
| 1199 |
+
"rewards/margins": 0.3078867793083191,
|
| 1200 |
+
"rewards/rejected": -0.39241647720336914,
|
| 1201 |
+
"step": 710
|
| 1202 |
+
},
|
| 1203 |
+
{
|
| 1204 |
+
"epoch": 1.5074587804239727,
|
| 1205 |
+
"grad_norm": 30.154215075312383,
|
| 1206 |
+
"learning_rate": 1.725696330273575e-07,
|
| 1207 |
+
"logits/chosen": -1.4344627857208252,
|
| 1208 |
+
"logits/rejected": -1.4114643335342407,
|
| 1209 |
+
"logps/chosen": -367.28668212890625,
|
| 1210 |
+
"logps/rejected": -330.210205078125,
|
| 1211 |
+
"loss": 0.6152,
|
| 1212 |
+
"rewards/accuracies": 0.675000011920929,
|
| 1213 |
+
"rewards/chosen": -0.0991826206445694,
|
| 1214 |
+
"rewards/margins": 0.3690223693847656,
|
| 1215 |
+
"rewards/rejected": -0.46820497512817383,
|
| 1216 |
+
"step": 720
|
| 1217 |
+
},
|
| 1218 |
+
{
|
| 1219 |
+
"epoch": 1.5283957079298613,
|
| 1220 |
+
"grad_norm": 32.49028184373073,
|
| 1221 |
+
"learning_rate": 1.589561912846089e-07,
|
| 1222 |
+
"logits/chosen": -1.3968040943145752,
|
| 1223 |
+
"logits/rejected": -1.4468437433242798,
|
| 1224 |
+
"logps/chosen": -339.4754943847656,
|
| 1225 |
+
"logps/rejected": -298.7085266113281,
|
| 1226 |
+
"loss": 0.6139,
|
| 1227 |
+
"rewards/accuracies": 0.65625,
|
| 1228 |
+
"rewards/chosen": -0.04794057086110115,
|
| 1229 |
+
"rewards/margins": 0.3862064480781555,
|
| 1230 |
+
"rewards/rejected": -0.43414703011512756,
|
| 1231 |
+
"step": 730
|
| 1232 |
+
},
|
| 1233 |
+
{
|
| 1234 |
+
"epoch": 1.54933263543575,
|
| 1235 |
+
"grad_norm": 29.612038431579933,
|
| 1236 |
+
"learning_rate": 1.4579992911531496e-07,
|
| 1237 |
+
"logits/chosen": -1.2432403564453125,
|
| 1238 |
+
"logits/rejected": -1.2390873432159424,
|
| 1239 |
+
"logps/chosen": -379.5582275390625,
|
| 1240 |
+
"logps/rejected": -332.1794128417969,
|
| 1241 |
+
"loss": 0.6205,
|
| 1242 |
+
"rewards/accuracies": 0.6625000238418579,
|
| 1243 |
+
"rewards/chosen": 0.019659820944070816,
|
| 1244 |
+
"rewards/margins": 0.3802977204322815,
|
| 1245 |
+
"rewards/rejected": -0.360637903213501,
|
| 1246 |
+
"step": 740
|
| 1247 |
+
},
|
| 1248 |
+
{
|
| 1249 |
+
"epoch": 1.5702695629416383,
|
| 1250 |
+
"grad_norm": 28.119711308052274,
|
| 1251 |
+
"learning_rate": 1.3311848288809813e-07,
|
| 1252 |
+
"logits/chosen": -1.4195433855056763,
|
| 1253 |
+
"logits/rejected": -1.490561842918396,
|
| 1254 |
+
"logps/chosen": -359.9119873046875,
|
| 1255 |
+
"logps/rejected": -322.4441833496094,
|
| 1256 |
+
"loss": 0.6118,
|
| 1257 |
+
"rewards/accuracies": 0.6312500238418579,
|
| 1258 |
+
"rewards/chosen": -0.0712754875421524,
|
| 1259 |
+
"rewards/margins": 0.2602451741695404,
|
| 1260 |
+
"rewards/rejected": -0.3315206468105316,
|
| 1261 |
+
"step": 750
|
| 1262 |
+
},
|
| 1263 |
+
{
|
| 1264 |
+
"epoch": 1.5912064904475267,
|
| 1265 |
+
"grad_norm": 29.268690125436255,
|
| 1266 |
+
"learning_rate": 1.209288524664029e-07,
|
| 1267 |
+
"logits/chosen": -1.229116439819336,
|
| 1268 |
+
"logits/rejected": -1.2306039333343506,
|
| 1269 |
+
"logps/chosen": -435.7142028808594,
|
| 1270 |
+
"logps/rejected": -397.52044677734375,
|
| 1271 |
+
"loss": 0.5971,
|
| 1272 |
+
"rewards/accuracies": 0.668749988079071,
|
| 1273 |
+
"rewards/chosen": 0.11046306788921356,
|
| 1274 |
+
"rewards/margins": 0.4868060052394867,
|
| 1275 |
+
"rewards/rejected": -0.3763429522514343,
|
| 1276 |
+
"step": 760
|
| 1277 |
+
},
|
| 1278 |
+
{
|
| 1279 |
+
"epoch": 1.6121434179534153,
|
| 1280 |
+
"grad_norm": 28.29047720088543,
|
| 1281 |
+
"learning_rate": 1.0924737841966497e-07,
|
| 1282 |
+
"logits/chosen": -1.220485806465149,
|
| 1283 |
+
"logits/rejected": -1.4240710735321045,
|
| 1284 |
+
"logps/chosen": -396.7095947265625,
|
| 1285 |
+
"logps/rejected": -319.75958251953125,
|
| 1286 |
+
"loss": 0.6247,
|
| 1287 |
+
"rewards/accuracies": 0.668749988079071,
|
| 1288 |
+
"rewards/chosen": -0.055124759674072266,
|
| 1289 |
+
"rewards/margins": 0.39260005950927734,
|
| 1290 |
+
"rewards/rejected": -0.44772475957870483,
|
| 1291 |
+
"step": 770
|
| 1292 |
+
},
|
| 1293 |
+
{
|
| 1294 |
+
"epoch": 1.633080345459304,
|
| 1295 |
+
"grad_norm": 29.17224056970089,
|
| 1296 |
+
"learning_rate": 9.808972011828054e-08,
|
| 1297 |
+
"logits/chosen": -1.2811758518218994,
|
| 1298 |
+
"logits/rejected": -1.3020236492156982,
|
| 1299 |
+
"logps/chosen": -384.5751647949219,
|
| 1300 |
+
"logps/rejected": -329.9205017089844,
|
| 1301 |
+
"loss": 0.626,
|
| 1302 |
+
"rewards/accuracies": 0.6937500238418579,
|
| 1303 |
+
"rewards/chosen": 0.14039060473442078,
|
| 1304 |
+
"rewards/margins": 0.46962863206863403,
|
| 1305 |
+
"rewards/rejected": -0.32923805713653564,
|
| 1306 |
+
"step": 780
|
| 1307 |
+
},
|
| 1308 |
+
{
|
| 1309 |
+
"epoch": 1.6540172729651923,
|
| 1310 |
+
"grad_norm": 33.75145778470617,
|
| 1311 |
+
"learning_rate": 8.747083474174527e-08,
|
| 1312 |
+
"logits/chosen": -1.3885407447814941,
|
| 1313 |
+
"logits/rejected": -1.4309613704681396,
|
| 1314 |
+
"logps/chosen": -365.4181823730469,
|
| 1315 |
+
"logps/rejected": -322.75054931640625,
|
| 1316 |
+
"loss": 0.6123,
|
| 1317 |
+
"rewards/accuracies": 0.625,
|
| 1318 |
+
"rewards/chosen": -0.04203175753355026,
|
| 1319 |
+
"rewards/margins": 0.3509315550327301,
|
| 1320 |
+
"rewards/rejected": -0.39296332001686096,
|
| 1321 |
+
"step": 790
|
| 1322 |
+
},
|
| 1323 |
+
{
|
| 1324 |
+
"epoch": 1.674954200471081,
|
| 1325 |
+
"grad_norm": 25.187206733853984,
|
| 1326 |
+
"learning_rate": 7.740495722810269e-08,
|
| 1327 |
+
"logits/chosen": -1.2112213373184204,
|
| 1328 |
+
"logits/rejected": -1.3428361415863037,
|
| 1329 |
+
"logps/chosen": -420.00830078125,
|
| 1330 |
+
"logps/rejected": -358.3287353515625,
|
| 1331 |
+
"loss": 0.5972,
|
| 1332 |
+
"rewards/accuracies": 0.6937500238418579,
|
| 1333 |
+
"rewards/chosen": 0.01959555223584175,
|
| 1334 |
+
"rewards/margins": 0.5057805776596069,
|
| 1335 |
+
"rewards/rejected": -0.4861849844455719,
|
| 1336 |
+
"step": 800
|
| 1337 |
+
},
|
| 1338 |
+
{
|
| 1339 |
+
"epoch": 1.674954200471081,
|
| 1340 |
+
"eval_logits/chosen": -1.639930009841919,
|
| 1341 |
+
"eval_logits/rejected": -1.6965380907058716,
|
| 1342 |
+
"eval_logps/chosen": -375.7169494628906,
|
| 1343 |
+
"eval_logps/rejected": -323.76556396484375,
|
| 1344 |
+
"eval_loss": 0.6384284496307373,
|
| 1345 |
+
"eval_rewards/accuracies": 0.6428571343421936,
|
| 1346 |
+
"eval_rewards/chosen": -0.06950785219669342,
|
| 1347 |
+
"eval_rewards/margins": 0.34436169266700745,
|
| 1348 |
+
"eval_rewards/rejected": -0.41386955976486206,
|
| 1349 |
+
"eval_runtime": 21.8454,
|
| 1350 |
+
"eval_samples_per_second": 91.552,
|
| 1351 |
+
"eval_steps_per_second": 2.884,
|
| 1352 |
+
"step": 800
|
| 1353 |
+
},
|
| 1354 |
+
{
|
| 1355 |
+
"epoch": 1.6958911279769695,
|
| 1356 |
+
"grad_norm": 30.26944195604407,
|
| 1357 |
+
"learning_rate": 6.790558119157597e-08,
|
| 1358 |
+
"logits/chosen": -1.3412492275238037,
|
| 1359 |
+
"logits/rejected": -1.3922173976898193,
|
| 1360 |
+
"logps/chosen": -375.84429931640625,
|
| 1361 |
+
"logps/rejected": -326.71417236328125,
|
| 1362 |
+
"loss": 0.6295,
|
| 1363 |
+
"rewards/accuracies": 0.699999988079071,
|
| 1364 |
+
"rewards/chosen": -0.015008327551186085,
|
| 1365 |
+
"rewards/margins": 0.4259034991264343,
|
| 1366 |
+
"rewards/rejected": -0.44091176986694336,
|
| 1367 |
+
"step": 810
|
| 1368 |
+
},
|
| 1369 |
+
{
|
| 1370 |
+
"epoch": 1.7168280554828579,
|
| 1371 |
+
"grad_norm": 30.885265100170944,
|
| 1372 |
+
"learning_rate": 5.898544083397e-08,
|
| 1373 |
+
"logits/chosen": -1.4171245098114014,
|
| 1374 |
+
"logits/rejected": -1.5250798463821411,
|
| 1375 |
+
"logps/chosen": -388.115478515625,
|
| 1376 |
+
"logps/rejected": -320.20819091796875,
|
| 1377 |
+
"loss": 0.6055,
|
| 1378 |
+
"rewards/accuracies": 0.6312500238418579,
|
| 1379 |
+
"rewards/chosen": -0.05425529554486275,
|
| 1380 |
+
"rewards/margins": 0.4603540003299713,
|
| 1381 |
+
"rewards/rejected": -0.5146092176437378,
|
| 1382 |
+
"step": 820
|
| 1383 |
+
},
|
| 1384 |
+
{
|
| 1385 |
+
"epoch": 1.7377649829887463,
|
| 1386 |
+
"grad_norm": 32.971600431805705,
|
| 1387 |
+
"learning_rate": 5.065649387408705e-08,
|
| 1388 |
+
"logits/chosen": -1.3083207607269287,
|
| 1389 |
+
"logits/rejected": -1.2884520292282104,
|
| 1390 |
+
"logps/chosen": -338.13909912109375,
|
| 1391 |
+
"logps/rejected": -327.7836608886719,
|
| 1392 |
+
"loss": 0.6083,
|
| 1393 |
+
"rewards/accuracies": 0.668749988079071,
|
| 1394 |
+
"rewards/chosen": -0.11997182667255402,
|
| 1395 |
+
"rewards/margins": 0.3927108347415924,
|
| 1396 |
+
"rewards/rejected": -0.5126826167106628,
|
| 1397 |
+
"step": 830
|
| 1398 |
+
},
|
| 1399 |
+
{
|
| 1400 |
+
"epoch": 1.7587019104946349,
|
| 1401 |
+
"grad_norm": 29.20392566444622,
|
| 1402 |
+
"learning_rate": 4.292990551804171e-08,
|
| 1403 |
+
"logits/chosen": -1.5097484588623047,
|
| 1404 |
+
"logits/rejected": -1.4066120386123657,
|
| 1405 |
+
"logps/chosen": -314.53338623046875,
|
| 1406 |
+
"logps/rejected": -309.9684143066406,
|
| 1407 |
+
"loss": 0.6346,
|
| 1408 |
+
"rewards/accuracies": 0.6187499761581421,
|
| 1409 |
+
"rewards/chosen": -0.06001155450940132,
|
| 1410 |
+
"rewards/margins": 0.30454209446907043,
|
| 1411 |
+
"rewards/rejected": -0.36455363035202026,
|
| 1412 |
+
"step": 840
|
| 1413 |
+
},
|
| 1414 |
+
{
|
| 1415 |
+
"epoch": 1.7796388380005235,
|
| 1416 |
+
"grad_norm": 30.280553572438347,
|
| 1417 |
+
"learning_rate": 3.581603349196371e-08,
|
| 1418 |
+
"logits/chosen": -1.3757822513580322,
|
| 1419 |
+
"logits/rejected": -1.3954650163650513,
|
| 1420 |
+
"logps/chosen": -331.03826904296875,
|
| 1421 |
+
"logps/rejected": -323.1974182128906,
|
| 1422 |
+
"loss": 0.6233,
|
| 1423 |
+
"rewards/accuracies": 0.625,
|
| 1424 |
+
"rewards/chosen": -0.10794013738632202,
|
| 1425 |
+
"rewards/margins": 0.2812719941139221,
|
| 1426 |
+
"rewards/rejected": -0.38921213150024414,
|
| 1427 |
+
"step": 850
|
| 1428 |
+
},
|
| 1429 |
+
{
|
| 1430 |
+
"epoch": 1.8005757655064119,
|
| 1431 |
+
"grad_norm": 28.100566523523845,
|
| 1432 |
+
"learning_rate": 2.9324414157151367e-08,
|
| 1433 |
+
"logits/chosen": -1.3457200527191162,
|
| 1434 |
+
"logits/rejected": -1.4598686695098877,
|
| 1435 |
+
"logps/chosen": -356.97216796875,
|
| 1436 |
+
"logps/rejected": -286.18865966796875,
|
| 1437 |
+
"loss": 0.6215,
|
| 1438 |
+
"rewards/accuracies": 0.612500011920929,
|
| 1439 |
+
"rewards/chosen": -0.05811784416437149,
|
| 1440 |
+
"rewards/margins": 0.35237258672714233,
|
| 1441 |
+
"rewards/rejected": -0.4104904234409332,
|
| 1442 |
+
"step": 860
|
| 1443 |
+
},
|
| 1444 |
+
{
|
| 1445 |
+
"epoch": 1.8215126930123005,
|
| 1446 |
+
"grad_norm": 26.46890964804442,
|
| 1447 |
+
"learning_rate": 2.3463749726290284e-08,
|
| 1448 |
+
"logits/chosen": -1.4204833507537842,
|
| 1449 |
+
"logits/rejected": -1.5046513080596924,
|
| 1450 |
+
"logps/chosen": -404.6219177246094,
|
| 1451 |
+
"logps/rejected": -336.10150146484375,
|
| 1452 |
+
"loss": 0.6261,
|
| 1453 |
+
"rewards/accuracies": 0.6499999761581421,
|
| 1454 |
+
"rewards/chosen": 0.02932531200349331,
|
| 1455 |
+
"rewards/margins": 0.39560848474502563,
|
| 1456 |
+
"rewards/rejected": -0.366283118724823,
|
| 1457 |
+
"step": 870
|
| 1458 |
+
},
|
| 1459 |
+
{
|
| 1460 |
+
"epoch": 1.842449620518189,
|
| 1461 |
+
"grad_norm": 31.701066186197266,
|
| 1462 |
+
"learning_rate": 1.824189659787284e-08,
|
| 1463 |
+
"logits/chosen": -1.3159443140029907,
|
| 1464 |
+
"logits/rejected": -1.3131808042526245,
|
| 1465 |
+
"logps/chosen": -328.07098388671875,
|
| 1466 |
+
"logps/rejected": -308.87701416015625,
|
| 1467 |
+
"loss": 0.6266,
|
| 1468 |
+
"rewards/accuracies": 0.606249988079071,
|
| 1469 |
+
"rewards/chosen": -0.0714392215013504,
|
| 1470 |
+
"rewards/margins": 0.3882763683795929,
|
| 1471 |
+
"rewards/rejected": -0.45971551537513733,
|
| 1472 |
+
"step": 880
|
| 1473 |
+
},
|
| 1474 |
+
{
|
| 1475 |
+
"epoch": 1.8633865480240774,
|
| 1476 |
+
"grad_norm": 31.12356616666238,
|
| 1477 |
+
"learning_rate": 1.3665854824458035e-08,
|
| 1478 |
+
"logits/chosen": -1.3845950365066528,
|
| 1479 |
+
"logits/rejected": -1.434497594833374,
|
| 1480 |
+
"logps/chosen": -376.0118103027344,
|
| 1481 |
+
"logps/rejected": -331.4889831542969,
|
| 1482 |
+
"loss": 0.6095,
|
| 1483 |
+
"rewards/accuracies": 0.731249988079071,
|
| 1484 |
+
"rewards/chosen": -0.061675846576690674,
|
| 1485 |
+
"rewards/margins": 0.3783223330974579,
|
| 1486 |
+
"rewards/rejected": -0.43999820947647095,
|
| 1487 |
+
"step": 890
|
| 1488 |
+
},
|
| 1489 |
+
{
|
| 1490 |
+
"epoch": 1.8843234755299658,
|
| 1491 |
+
"grad_norm": 34.05071913262595,
|
| 1492 |
+
"learning_rate": 9.741758728888217e-09,
|
| 1493 |
+
"logits/chosen": -1.2828714847564697,
|
| 1494 |
+
"logits/rejected": -1.3924423456192017,
|
| 1495 |
+
"logps/chosen": -401.4546203613281,
|
| 1496 |
+
"logps/rejected": -317.35443115234375,
|
| 1497 |
+
"loss": 0.6207,
|
| 1498 |
+
"rewards/accuracies": 0.6312500238418579,
|
| 1499 |
+
"rewards/chosen": -0.004245785064995289,
|
| 1500 |
+
"rewards/margins": 0.4051188826560974,
|
| 1501 |
+
"rewards/rejected": -0.40936464071273804,
|
| 1502 |
+
"step": 900
|
| 1503 |
+
},
|
| 1504 |
+
{
|
| 1505 |
+
"epoch": 1.8843234755299658,
|
| 1506 |
+
"eval_logits/chosen": -1.6407170295715332,
|
| 1507 |
+
"eval_logits/rejected": -1.6976144313812256,
|
| 1508 |
+
"eval_logps/chosen": -375.70330810546875,
|
| 1509 |
+
"eval_logps/rejected": -323.78216552734375,
|
| 1510 |
+
"eval_loss": 0.6362326145172119,
|
| 1511 |
+
"eval_rewards/accuracies": 0.6785714030265808,
|
| 1512 |
+
"eval_rewards/chosen": -0.06266693770885468,
|
| 1513 |
+
"eval_rewards/margins": 0.3595210015773773,
|
| 1514 |
+
"eval_rewards/rejected": -0.4221878945827484,
|
| 1515 |
+
"eval_runtime": 22.2411,
|
| 1516 |
+
"eval_samples_per_second": 89.923,
|
| 1517 |
+
"eval_steps_per_second": 2.833,
|
| 1518 |
+
"step": 900
|
| 1519 |
+
},
|
| 1520 |
+
{
|
| 1521 |
+
"epoch": 1.9052604030358546,
|
| 1522 |
+
"grad_norm": 28.324746122618627,
|
| 1523 |
+
"learning_rate": 6.474868681043577e-09,
|
| 1524 |
+
"logits/chosen": -1.232722282409668,
|
| 1525 |
+
"logits/rejected": -1.3370740413665771,
|
| 1526 |
+
"logps/chosen": -330.0971984863281,
|
| 1527 |
+
"logps/rejected": -274.8087463378906,
|
| 1528 |
+
"loss": 0.6315,
|
| 1529 |
+
"rewards/accuracies": 0.6875,
|
| 1530 |
+
"rewards/chosen": -0.04480002075433731,
|
| 1531 |
+
"rewards/margins": 0.4823727011680603,
|
| 1532 |
+
"rewards/rejected": -0.5271727442741394,
|
| 1533 |
+
"step": 910
|
| 1534 |
+
},
|
| 1535 |
+
{
|
| 1536 |
+
"epoch": 1.926197330541743,
|
| 1537 |
+
"grad_norm": 32.98699943344935,
|
| 1538 |
+
"learning_rate": 3.869564046156459e-09,
|
| 1539 |
+
"logits/chosen": -1.3717395067214966,
|
| 1540 |
+
"logits/rejected": -1.4535510540008545,
|
| 1541 |
+
"logps/chosen": -373.8208923339844,
|
| 1542 |
+
"logps/rejected": -311.4999084472656,
|
| 1543 |
+
"loss": 0.6198,
|
| 1544 |
+
"rewards/accuracies": 0.6499999761581421,
|
| 1545 |
+
"rewards/chosen": -0.06762387603521347,
|
| 1546 |
+
"rewards/margins": 0.35773369669914246,
|
| 1547 |
+
"rewards/rejected": -0.4253575801849365,
|
| 1548 |
+
"step": 920
|
| 1549 |
+
},
|
| 1550 |
+
{
|
| 1551 |
+
"epoch": 1.9471342580476314,
|
| 1552 |
+
"grad_norm": 27.5401666731791,
|
| 1553 |
+
"learning_rate": 1.929337314139412e-09,
|
| 1554 |
+
"logits/chosen": -1.2926667928695679,
|
| 1555 |
+
"logits/rejected": -1.3644298315048218,
|
| 1556 |
+
"logps/chosen": -362.7403869628906,
|
| 1557 |
+
"logps/rejected": -317.42303466796875,
|
| 1558 |
+
"loss": 0.6124,
|
| 1559 |
+
"rewards/accuracies": 0.6875,
|
| 1560 |
+
"rewards/chosen": 0.01872597262263298,
|
| 1561 |
+
"rewards/margins": 0.4235456883907318,
|
| 1562 |
+
"rewards/rejected": -0.40481966733932495,
|
| 1563 |
+
"step": 930
|
| 1564 |
+
},
|
| 1565 |
+
{
|
| 1566 |
+
"epoch": 1.96807118555352,
|
| 1567 |
+
"grad_norm": 31.615150149296902,
|
| 1568 |
+
"learning_rate": 6.567894177967325e-10,
|
| 1569 |
+
"logits/chosen": -1.3021799325942993,
|
| 1570 |
+
"logits/rejected": -1.3374966382980347,
|
| 1571 |
+
"logps/chosen": -324.93255615234375,
|
| 1572 |
+
"logps/rejected": -273.21929931640625,
|
| 1573 |
+
"loss": 0.6255,
|
| 1574 |
+
"rewards/accuracies": 0.6937500238418579,
|
| 1575 |
+
"rewards/chosen": -0.05069868639111519,
|
| 1576 |
+
"rewards/margins": 0.33984681963920593,
|
| 1577 |
+
"rewards/rejected": -0.390545517206192,
|
| 1578 |
+
"step": 940
|
| 1579 |
+
},
|
| 1580 |
+
{
|
| 1581 |
+
"epoch": 1.9890081130594086,
|
| 1582 |
+
"grad_norm": 29.09184931904493,
|
| 1583 |
+
"learning_rate": 5.3626246194704575e-11,
|
| 1584 |
+
"logits/chosen": -1.3507764339447021,
|
| 1585 |
+
"logits/rejected": -1.4648717641830444,
|
| 1586 |
+
"logps/chosen": -361.6529235839844,
|
| 1587 |
+
"logps/rejected": -296.1907043457031,
|
| 1588 |
+
"loss": 0.6169,
|
| 1589 |
+
"rewards/accuracies": 0.637499988079071,
|
| 1590 |
+
"rewards/chosen": -0.08508863300085068,
|
| 1591 |
+
"rewards/margins": 0.3246951401233673,
|
| 1592 |
+
"rewards/rejected": -0.40978384017944336,
|
| 1593 |
+
"step": 950
|
| 1594 |
+
},
|
| 1595 |
+
{
|
| 1596 |
+
"epoch": 1.9973828840617638,
|
| 1597 |
+
"step": 954,
|
| 1598 |
+
"total_flos": 0.0,
|
| 1599 |
+
"train_loss": 0.6516540072998911,
|
| 1600 |
+
"train_runtime": 5944.7081,
|
| 1601 |
+
"train_samples_per_second": 20.568,
|
| 1602 |
+
"train_steps_per_second": 0.16
|
| 1603 |
+
}
|
| 1604 |
+
],
|
| 1605 |
+
"logging_steps": 10,
|
| 1606 |
+
"max_steps": 954,
|
| 1607 |
+
"num_input_tokens_seen": 0,
|
| 1608 |
+
"num_train_epochs": 2,
|
| 1609 |
+
"save_steps": 500,
|
| 1610 |
+
"stateful_callbacks": {
|
| 1611 |
+
"TrainerControl": {
|
| 1612 |
+
"args": {
|
| 1613 |
+
"should_epoch_stop": false,
|
| 1614 |
+
"should_evaluate": false,
|
| 1615 |
+
"should_log": false,
|
| 1616 |
+
"should_save": false,
|
| 1617 |
+
"should_training_stop": false
|
| 1618 |
+
},
|
| 1619 |
+
"attributes": {}
|
| 1620 |
+
}
|
| 1621 |
+
},
|
| 1622 |
+
"total_flos": 0.0,
|
| 1623 |
+
"train_batch_size": 2,
|
| 1624 |
+
"trial_name": null,
|
| 1625 |
+
"trial_params": null
|
| 1626 |
+
}
|