lfm3: add INT4, FP8 per-channel and VL notes, tests, eval and results

Sync the repo with the working directory: full NOTES.md (rounds 4-5, LFM3-VL),
VL tests and test images, quality eval, AutoRound W4A16 quantization scripts
and calibration recipe, the variant.sh MODEL/DOCKER_ENV options, and the
remaining benchmark results. Large regenerable artifacts (INT4 checkpoint,
ref_vl.pt, raw logprob dumps) stay out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Pascal LinxweilerandClaude Opus 5.5 committed 2026-10-29 13:59:43 +01:00
1 parent 0412bb1f72
commit 1834792bb8
67 files changed
+119589 -9

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
# Fixed eval inputs: wikitext-2-raw-v1 test -> 20 contiguous 2048-token chunks (LFM3 tokenizer), plus
# a ~2k-token article for summarization and ~700 tokens of filler for the long-context prompt.
import json, sys
from datasets import load_dataset
from transformers import AutoTokenizer
tok = AutoTokenizer.from_pretrained(sys.argv[1])
text = "".join(load_dataset("Salesforce/wikitext", "wikitext-2-raw-v1", split="test")["text"])
ids = tok(text, add_special_tokens=False)["input_ids"]
chunks = [ids[i:i + 2048] for i in range(0, 20 * 2048, 2048)]
import re
heads = [m.start() for m in re.finditer(r"^ = [^=\n]+ = $", text, re.M)] # top-level article titles
arts = [text[a:b].strip() for a, b in zip(heads, heads[1:] + [len(text)])]
long_art = next(a for a in arts if 1700 <= len(tok(a)["input_ids"]) <= 2400)
filler = tok.decode(ids[60000:60700])
json.dump({"ppl_chunks": chunks, "summary_article": long_art, "filler_700": filler},
open(sys.argv[2], "w"), ensure_ascii=False)
print(len(chunks), "ppl chunks;", len(tok(long_art)["input_ids"]), "tok article;", len(tok(filler)["input_ids"]), "tok filler")
+1
View File
@@ -0,0 +1 @@
{"ppl_chunks": [[550, 6102, 61512, 385, 550, 469, 6102, 61512, 385, 355, 401, 3478, 2815, 1228, 8086, 309, 24900, 14498, 1200, 904, 819, 267, 21021, 1762, 21, 40, 37892, 3170, 383, 278, 8086, 3587, 440, 8047, 296, 229, 585, 24, 1200, 969, 452, 5614, 467, 267, 37892, 3170, 296, 278, 1431, 2864, 795, 4484, 467, 14538, 29574, 540, 1228, 643, 452, 5312, 296, 229, 585, 25, 462, 278, 7565, 7419, 18931, 1200, 904, 819, 267, 21021, 3170, 296, 278, 8086, 3587, 31975, 2409, 1015, 290, 296, 229, 585, 26, 1200, 529, 229, 585, 28, 61512, 385, 28078, 267, 3170, 405, 496, 32327, 496, 296, 278, 13636, 496, 336, 51647, 951, 91, 15590, 496, 302, 278, 8086, 3587, 440, 7987, 53770, 3791, 449, 54618, 16023, 17501, 4409, 32107, 309, 55589, 12675, 81, 1200, 904, 452, 6054, 296, 278, 229, 585, 29, 24900, 43420, 302, 278, 13544, 42717, 2273, 1431, 32569, 34735, 1228, 643, 452, 5312, 462, 278, 3082, 399, 18931, 296, 48298, 309, 278, 8597, 644, 61634, 38147, 296, 4595, 1200, 904, 452, 10378, 467, 2409, 336, 3389, 1255, 309, 54618, 16023, 6122, 1084, 719, 1233, 1228, 1450, 1731, 895, 10823, 1228, 15649, 13186, 1228, 44863, 15328, 775, 1228, 39614, 586, 17413, 309, 124708, 6828, 1200, 469, 529, 229, 585, 30, 1228, 61512, 385, 54618, 16023, 1084, 719, 1233, 296, 278, 1431, 43799, 1373, 4484, 467, 4409, 56756, 31043, 1200, 904, 8124, 383, 267, 229, 585, 30, 13636, 302, 278, 8086, 3587, 1228, 50269, 1228, 5614, 467, 267, 3170, 296, 278, 229, 585, 31, 24900, 3392, 302, 1712, 310, 6620, 411, 10378, 467, 7541, 381, 408, 425, 1019, 1200, 1712, 310, 6620, 411, 452, 5312, 462, 18001, 18931, 296, 278, 4595, 49249, 302, 28696, 370, 35236, 309, 30187, 3844, 1200, 61512, 385, 54618, 296, 1046, 6922, 296, 229, 585, 32, 1228, 5751, 4601, 7085, 47379, 467, 2815, 28258, 4741, 1127, 740, 81, 1228, 309, 4789, 4016, 372, 5351, 10378, 467, 6439, 375, 5130, 18217, 1200, 529, 2853, 229, 585, 32, 1228, 61512, 385, 1546, 267, 21021, 9458, 383, 267, 1046, 1762, 21, 40, 691, 13636, 16896, 302, 278, 8086, 3587, 422, 1437, 278, 19884, 1228, 5614, 467, 401, 9458, 383, 278, 8086, 3587, 4780, 26922, 688, 296, 4342, 229, 585, 32, 1200, 904, 819, 267, 48358, 3170, 296, 3175, 19440, 302, 278, 8086, 3587, 7257, 650, 1436, 296, 229, 523, 24, 1228, 405, 496, 483, 9736, 57082, 496, 1200, 61512, 385, 54618, 296, 278, 229, 523, 25, 2815, 18762, 270, 4967, 10378, 467, 4741, 1127, 740, 81, 1200, 469, 550, 550, 48370, 550, 550, 469, 550, 550, 550, 229, 585, 24, 748, 229, 585, 29, 550, 550, 550, 469, 529, 229, 585, 24, 61512, 385, 819, 267, 21021, 1762, 21, 40, 37892, 3170, 383, 278, 8086, 3587, 440, 8047, 3791, 449, 35103, 496, 8543, 1833, 657, 496, 296, 278, 13636, 1228, 496, 529, 35096, 53299, 496, 1200, 61512, 385, 54618, 405, 496, 8543, 496, 296, 278, 1431, 2864, 795, 4484, 467, 14538, 29574, 540, 1228, 643, 452, 5312, 296, 229, 585, 25, 462, 278, 7565, 7419, 18931, 1200, 334, 3701, 302, 61512, 385, 951, 91, 4294, 296, 440, 26135, 383, 13730, 4524, 1388, 405, 496, 4226, 867, 375, 1893, 6999, 496, 296, 278, 3170, 1228, 309, 449, 4567, 5749, 14429, 296, 440, 41473, 1228, 309, 60720, 13797, 1200, 904, 8124, 296, 278, 8086, 3587, 31975, 2409, 1015, 290, 296, 229, 585, 26, 405, 496, 4890, 369, 1007, 8151, 546, 496, 296, 278, 13636, 496, 24995, 36926, 5675, 496, 1228, 309, 819, 267, 3170, 405, 267, 1346, 2837, 496, 336, 17174, 2740, 10233, 496, 383, 440, 8047, 1200, 469, 904, 819, 267, 48358, 3170, 296, 229, 585, 27, 383, 1046, 19440, 302, 440, 8047, 1228, 405, 2837, 496, 1519, 21455, 21727, 496, 1200, 529, 229, 585, 28, 61512, 385, 28078, 267, 3170, 405, 496, 32327, 496, 296, 278, 13636, 496, 336, 51647, 951, 91, 15590, 496, 302, 278, 8086, 3587, 440, 7987, 53770, 3791, 449, 54618, 16023, 17501, 4409, 32107, 309, 55589, 12675, 81, 1200, 61512, 385, 54618, 405, 496, 8196, 779, 496, 1228, 296, 278, 229, 585, 29, 24900, 43420, 302, 278, 13544, 42717, 2273, 1431, 32569, 34735, 1200, 810, 452, 5312, 462, 278, 3082, 399, 18931, 296, 48298, 1228, 309, 278, 8597, 644, 61634, 38147, 296, 4595, 1200, 904, 452, 10378, 467, 2409, 336, 3389, 1255, 309, 54618, 16023, 6122, 1084, 719, 1233, 1228, 1450, 1731, 895, 10823, 1228, 15649, 13186, 1228, 44863, 15328, 775, 1228, 39614, 586, 17413, 309, 124708, 6828, 1200, 61512, 385, 4567, 267, 25623, 3701, 296, 440, 19057, 52718, 954, 496, 440, 14746, 355, 526, 2903, 11232, 15539, 1228, 415, 288, 1765, 20300, 487, 6122, 1084, 719, 1233, 342, 1665, 445, 54937, 55449, 487, 709, 4294, 405, 91313, 427, 11967, 951, 91, 51246, 3850, 1228, 6102, 61512, 385, 1228, 1450, 1731, 895, 10823, 309, 44863, 15328, 775, 1200, 496, 440, 32417, 7865, 1228, 496, 6122, 1084, 719, 1233, 309, 6102, 61512, 385, 3254, 5066, 19926, 33808, 278, 6330, 389, 2593, 1200, 496, 469, 550, 550, 550, 229, 585, 30, 748, 1750, 550, 550, 550, 469, 529, 229, 585, 30, 61512, 385, 54618, 296, 278, 1431, 43799, 1373, 4484, 467, 4409, 56756, 31043, 1200, 440, 1431, 452, 691, 302, 267, 3587, 643, 14210, 1346, 53934, 91, 1228, 21809, 22749, 1406, 40330, 5151, 1406, 43799, 1373, 1200, 529, 267, 22Line truncated
+68
View File
@@ -0,0 +1,68 @@
#!/usr/bin/env python3
"""Quality eval for one served variant: perplexity on fixed wikitext-2 test tokens (vLLM
prompt_logprobs, 20 x 2048 tokens, so the 256-token sliding window matters) + 8 greedy chat prompts.
python3 eval/eval_quality.py PORT LABEL -> eval/results_LABEL.json
"""
import json, math, sys, urllib.request
port, label = int(sys.argv[1]), sys.argv[2]
data = json.load(open("eval/eval_data.json"))
URL = f"http://127.0.0.1:{port}/v1"
def post(path, body):
req = urllib.request.Request(URL + path, json.dumps(body).encode(), {"Content-Type": "application/json"})
return json.loads(urllib.request.urlopen(req, timeout=900).read())
# --- perplexity: mean NLL of every token after the first, per chunk, pooled over all chunks
nll, n = 0.0, 0
for ids in data["ppl_chunks"]:
r = post("/completions", {"model": "lfm3-1.7b", "prompt": ids, "max_tokens": 1, "temperature": 0.0,
"prompt_logprobs": 0})
for tid, lp in zip(ids[1:], r["choices"][0]["prompt_logprobs"][1:]):
nll -= lp[str(tid)]["logprob"]; n += 1
ppl = math.exp(nll / n)
print(f"{label}: PPL {ppl:.4f} over {n} tokens", flush=True)
TOOLS = [
{"type": "function", "function": {"name": "get_weather", "description": "Current weather for a city.",
"parameters": {"type": "object", "properties": {"city": {"type": "string"},
"unit": {"type": "string", "enum": ["celsius", "fahrenheit"]}}, "required": ["city"]}}},
{"type": "function", "function": {"name": "search_flights", "description": "Search flights.",
"parameters": {"type": "object", "properties": {"origin": {"type": "string"}, "destination": {"type": "string"},
"date": {"type": "string", "description": "YYYY-MM-DD"}, "adults": {"type": "integer"}},
"required": ["origin", "destination", "date"]}}},
{"type": "function", "function": {"name": "convert_currency", "description": "Convert an amount between currencies.",
"parameters": {"type": "object", "properties": {"amount": {"type": "number"}, "from": {"type": "string"},
"to": {"type": "string"}}, "required": ["amount", "from", "to"]}}},
]
PROMPTS = {
"factual": "What is the capital of Australia, and why was it chosen instead of Sydney or Melbourne? Answer in two sentences.",
"german": "Schreibe eine kurze, höfliche E-Mail an deine Kollegin Frau Weber: Das Meeting am Dienstag muss auf "
"Donnerstag um 14 Uhr verschoben werden.",
"math": "A shop sells pens at 3 for 2.40 EUR and notebooks at 4.50 EUR each. Anna buys 7 pens and 3 notebooks and "
"pays with a 50 EUR note. How much change does she get? End with the amount.",
"tool_weather": "Is it raining in Hamburg right now? Use celsius.",
"tool_flights": "Find flights from Hamburg to Lisbon on 2026-11-14 for 2 adults.",
"json": "Extract the data as a JSON object with keys name (string), age (integer), city (string), skills (list of "
"strings). Output only the JSON.\n\nMaria Schmidt is 34, lives in Leipzig and works with Python, SQL and Tableau.",
"summary_2k": "Summarize the following article in three sentences.\n\n" + data["summary_article"],
"long_context": "The secret code word is 'BLUE HERON 47'. Remember it.\n\n" + data["filler_700"] +
"\n\nWhat was the secret code word mentioned at the very beginning? Answer with the code word only.",
}
out = {"label": label, "ppl": ppl, "ppl_tokens": n, "prompts": {}}
for name, text in PROMPTS.items():
body = {"model": "lfm3-1.7b", "messages": [{"role": "user", "content": text}], "max_tokens": 3000,
"temperature": 0.0, "repetition_penalty": 1.0}
if name.startswith("tool_"):
body["tools"] = TOOLS
r = post("/chat/completions", body)
c = r["choices"][0]; m = c["message"]
out["prompts"][name] = {"content": m.get("content"), "reasoning": m.get("reasoning"),
"tool_calls": [tc["function"] for tc in (m.get("tool_calls") or [])],
"finish_reason": c["finish_reason"], "completion_tokens": r["usage"]["completion_tokens"]}
print(f" {name}: {c['finish_reason']}, {r['usage']['completion_tokens']} tok", flush=True)
json.dump(out, open(f"eval/results_{label}.json", "w"), ensure_ascii=False, indent=1)
+73
View File
@@ -0,0 +1,73 @@
{
"label": "bf16",
"ppl": 18.51761236925693,
"ppl_tokens": 40940,
"prompts": {
"factual": {
"content": "The capital of Australia is Canberra. It was chosen as a compromise between Sydney and Melbourne, and as a purpose‑built city in the Australian Capital Territory, to provide a neutral seat of government away from the larger, more established capitals.",
"reasoning": "We need to answer the question: \"What is the capital of Australia, and why was it chosen instead of Sydney or Melbourne?\" and we must answer in exactly two sentences.\n\nFirst, recall the capital of Australia. It's Canberra. It was chosen as a compromise between Sydney and Melbourne, two of the largest cities. The reason: to avoid being tied to the largest city and to be centrally located between them, and to be a purpose-built city. The selection process involved the British colonial government and the idea of a \"new capital\" separate from the existing capitals. Specifically, Canberra was chosen because it was located in the Australian Capital Territory (ACT) and was built as a planned city, while Sydney and Melbourne were already established. The decision was made in 1908 through a contest or by the federal government's choice of site.\n\nSo, two sentences: First sentence: The capital of Australia is Canberra. Second sentence: It was chosen as a compromise between Sydney and Melbourne, and as a purpose-built city located in the Australian Capital Territory, to avoid being dominated by the larger, more established cities and to serve as a neutral federal seat.\n\nLet's craft precisely: \"The capital of Australia is Canberra. It was selected as a compromise between Sydney and Melbourne, and as a purpose‑built city in the Australian Capital Territory, to provide a neutral seat of government away from the larger, more established capitals.\" That's two sentences. Check: first sentence states the capital. Second explains why chosen instead of Sydney or Melbourne. That should suffice.\n\nMake sure it's exactly two sentences. No extra periods. I'll write them as two sentences separated by a space. Ensure no extra punctuation that could be interpreted as a sentence end. Use one period at the end of each. So:\n\n\"The capital of Australia is Canberra. It was chosen as a compromise between Sydney and Melbourne, and as a purpose‑built city in the Australian Capital Territory, to provide a neutral seat of government away from the larger, more established capitals.\"\n\nThat's two sentences. Yes.",
"tool_calls": [],
"finish_reason": "stop",
"completion_tokens": 473
},
"german": {
"content": "**Betreff:** Terminverschiebung – Donnerstag um 14:00 Uhr \n\nSehr geehrte Frau Weber, \n\nich möchte Sie informieren, dass das Meeting am Dienstag auf Donnerstag um 14 Uhr verschoben werden muss. Bitte passen Sie Ihren Kalender entsprechend an. \n\nMit freundlichen Grüßen \n[Dein Name]",
"reasoning": "We need to write a short, polite email to colleague \"Frau Weber\" (note: \"Kollegin Frau Weber\" might be a bit redundant, but it's a female colleague named Frau Weber. \"Frau\" is a title, so \"Kollegin Frau Weber\" means \"colleague Mrs. Weber\" or \"colleague Frau Weber\". We'll just address her as \"Frau Weber\" or \"Kollegin Weber\". Typically in German, \"Frau Weber\" is the full name with title. I'll use \"Sehr geehrte Frau Weber,\" or \"Liebe Frau Weber,\" but \"Sehr geehrte Frau Weber,\" is standard for polite email.\n\nThe content: The meeting on Tuesday must be moved to Thursday at 2 PM. So we need to inform her of the rescheduling.\n\nWe need to keep it short and polite. So something like:\n\nBetreff: Verschiebung des Termins\n\nSehr geehrte Frau Weber,\n\nich möchte Sie informieren, dass das Meeting am Dienstag auf Donnerstag um 14 Uhr verschoben werden muss. Bitte passen Sie Ihren Kalender entsprechend an.\n\nMit freundlichen Grüßen\n[Name]\n\nBut we need to be careful: The user didn't specify the sender's name. We can use a placeholder like \"Ihr Kollege\" or just \"Sehr geehrte Frau Weber,\" and sign with \"Ihr [Name]\" or leave it blank? Usually we can write \"Mit freundlichen Grüßen, [Dein Name]\". Since it's a short email, we can just use a generic \"Ihr Kollege\" or \"Sehr geehrte Frau Weber,\" and then \"Mit freundlichen Grüßen\" and maybe \"Ihr [Name]\" but we don't know. I'll assume the user wants a template. I'll write it in a way that can be easily filled.\n\nLet's craft:\n\nBetreff: Terminverschiebung – Donnerstag 14:00 Uhr\n\nSehr geehrte Frau Weber,\n\nich möchte Sie informieren, dass das Meeting am Dienstag auf Donnerstag um 14 Uhr verschoben werden muss. Bitte aktualisieren Sie Ihren Kalender entsprechend.\n\nMit freundlichen Grüßen\n[Dein Name]\n\nThat's short and polite. I'll make sure it's in German. Also note \"Donnerstag\" is Thursday. \"Um 14 Uhr\" is 2 PM. So that's correct.\n\nThus final answer: the email text. I'll output just the email content.",
"tool_calls": [],
"finish_reason": "stop",
"completion_tokens": 601
},
"math": {
"content": "The cost per pen is \\( \\frac{2.40}{3} = 0.80 \\) EUR. \nCost for 7 pens: \\( 7 \\times 0.80 = 5.60 \\) EUR. \nCost for 3 notebooks: \\( 3 \\times 4.50 = 13.50 \\) EUR. \nTotal cost: \\( 5.60 + 13.50 = 19.10 \\) EUR. \nChange from 50 EUR: \\( 50 - 19.10 = 30.90 \\) EUR.\n\n\\[\n\\boxed{30.90}\n\\]",
"reasoning": "We need to solve: A shop sells pens at 3 for 2.40 EUR. That means the price per pen is 2.40/3 = 0.80 EUR per pen. Notebooks are 4.50 EUR each. Anna buys 7 pens and 3 notebooks. She pays with a 50 EUR note. How much change does she get?\n\nCompute total cost:\n\nPens: 7 pens * (2.40/3) = 7 * 0.80 = 5.60 EUR? Let's check: 2.40/3 = 0.8 exactly. So 7 * 0.8 = 5.6 EUR.\n\nNotebooks: 3 * 4.50 = 13.50 EUR.\n\nTotal = 5.60 + 13.50 = 19.10 EUR.\n\nShe pays 50 EUR. Change = 50 - 19.10 = 30.90 EUR.\n\nBut let's double-check: 5.6 + 13.5 = 19.1 indeed. 50 - 19.1 = 30.9.\n\nThus change is 30.90 EUR.\n\nBut maybe we need to consider rounding? The price of pens is given as 3 for 2.40 EUR, which is exactly 0.8 per pen. So no rounding issues.\n\nThus answer: 30.90 EUR.\n\nBut the problem says \"End with the amount.\" So we just output the amount.\n\nThus final: 30.90 EUR? Usually they want just the number. I'll put 30.90.\n\nBut let's ensure: 50 - 19.1 = 30.9. So 30.90.\n\nThus \\boxed{30.90} or \\boxed{30.9}? Usually with two decimals. I'll do \\boxed{30.90}.\n\nBut check: 7 pens at 3 for 2.40. That means for every 3 pens, cost 2.40. So cost for 7 pens: 7/3 * 2.40 = (7*2.40)/3 = 16.8/3 = 5.6. Yes.\n\nNotebooks: 3 * 4.50 = 13.5.\n\nTotal = 19.1.\n\n50 - 19.1 = 30.9.\n\nSo answer: 30.90 EUR.\n\nThus final.",
"tool_calls": [],
"finish_reason": "stop",
"completion_tokens": 632
},
"tool_weather": {
"content": null,
"reasoning": "We need to find out if it's raining in Hamburg right now. The user specified using celsius. There's a tool `get_weather` that takes parameters `city` and optionally `unit`. The required parameter is `city`. The user asked for \"celsius\" so we should set `unit` to \"celsius\". \n\nLet's construct the call.",
"tool_calls": [
{
"name": "get_weather",
"arguments": "{\"city\": \"Hamburg\", \"unit\": \"celsius\"}"
}
],
"finish_reason": "tool_calls",
"completion_tokens": 106
},
"tool_flights": {
"content": null,
"reasoning": "We need to find flights from Hamburg to Lisbon on 2026-11-14 for 2 adults. The user provided all required parameters: origin (Hamburg), destination (Lisbon), date (2026-11-14), and adults (2). The function `search_flights` requires origin, destination, and date, and optionally adults. So I should call `search_flights` with these parameters. Let's do that.",
"tool_calls": [
{
"name": "search_flights",
"arguments": "{\"origin\": \"Hamburg\", \"destination\": \"Lisbon\", \"date\": \"2026-11-14\", \"adults\": 2}"
}
],
"finish_reason": "tool_calls",
"completion_tokens": 147
},
"json": {
"content": "{\n \"name\": \"Maria Schmidt\",\n \"age\": 34,\n \"city\": \"Leipzig\",\n \"skills\": [\"Python\", \"SQL\", \"Tableau\"]\n}",
"reasoning": "We need to extract data from the given sentence: \"Maria Schmidt is 34, lives in Leipzig and works with Python, SQL and Tableau.\"\n\nWe need to output a JSON object with keys: name (string), age (integer), city (string), skills (list of strings).\n\nFrom the sentence:\n- Name: Maria Schmidt\n- Age: 34\n- City: Leipzig\n- Skills: Python, SQL, Tableau. These are listed as \"works with Python, SQL and Tableau.\" So skills are these three. We need to split them into a list of strings. Probably separate by commas. So skills: [\"Python\", \"SQL\", \"Tableau\"].\n\nThus JSON:\n{\n \"name\": \"Maria Schmidt\",\n \"age\": 34,\n \"city\": \"Leipzig\",\n \"skills\": [\"Python\", \"SQL\", \"Tableau\"]\n}\n\nMake sure output only the JSON. No extra text.\n\nLet's produce that.",
"tool_calls": [],
"finish_reason": "stop",
"completion_tokens": 240
},
"summary_2k": {
"content": "Little Gidding, the fourth poem of T. S. Eliot’s Four Quartets, was first published in October 1942 after a year’s delay caused by World War II air raids and Eliot’s declining health; its title refers to a 17th‑century Anglican community in Huntingdonshire that was scattered during the English Civil War. The poem employs fire—both natural and Pentecostal—to stress purification and purgation, and through a ghost that gathers Dante, Yeats, Swift and others it explores the unity of past, present and future, arguing that humanity’s salvation requires recognizing this unity and that suffering is a necessary prelude to rebirth. Critics have praised its mystical, belief‑laden language and its link to religious renewal and the Holy Spirit, while also noting its heavy emphasis on pain and the choice between redemption and destruction, and Eliot himself saw it as a work that seeks to work on the soul as well as society.",
"reasoning": "We need to summarize the article in three sentences. The article is about \"Little Gidding\" poem by T.S. Eliot, part of Four Quartets, its publication, background, themes, etc. We need to condense into three sentences.\n\nWe need to capture key points: It's the fourth poem of Four Quartets, published 1942 after delays due to WWII air raids and Eliot's health; title refers to a 17th-century Anglican community; uses fire and Pentecostal fire to emphasize purification; narrator meets a ghost of various poets; focuses on unity of past, present, future and salvation; Eliot wrote it after health decline, first draft dissatisfied, etc.; themes: renewal through suffering, purgation, redemption vs destruction, connection of holy places and Holy Spirit; ghost is a compilation of poets like Dante, Yeats, etc.; critics have mixed reactions; Eliot's belief that belief and words are one.\n\nWe need three sentences, so we can combine many points.\n\nSentence 1: Introduce poem, its place in Four Quartets, publication, title origin, and context (WWII, health, delayed). Sentence 2: Summarize content: fire, purification, ghost of poets, unity of past/present/future, need for sacrifice and redemption. Sentence 3: Discuss themes, reception, and significance: religious renewal, connection to Holy Spirit, criticism, and Eliot's intent.\n\nLet's craft:\n\n\"Little Gidding, the fourth and final poem of T. S. Eliot’s Four Quartets, was first published in October 1942 after a year’s delay caused by World War II air raids and Eliot’s declining health; its title refers to a 17th‑century Anglican community in Huntingdonshire that was scattered during the English Civil War. The poem uses the image of fire—both natural and Pentecostal—to stress purification and purgation, and through a ghost that gathers Dante, Yeats, Swift and others it explores the unity of past, present and future and argues that humanity’s salvation requires recognizing this unity and suffering as a necessary prelude to rebirth. Critics have praised its mystical, belief‑laden language and its link to religious renewal and the Holy Spirit, while also noting its heavy emphasis on pain and the choice between redemption and destruction, and Eliot himself saw it as a poetic work that seeks to work on the soul as well as society.\"\n\nThat's three sentences? Let's count: Sentence 1 ends after \"...and Eliot’s declining health; its title refers to a 17th‑century Anglican community...\" That's one. Sentence 2: \"The poem uses the image of fire—both natural and Pentecostal—to stress purification and purgation, and through a ghost that gathers Dante, Yeats, Swift and others it explores the unity of past, present and future and argues that humanity’s salvation requires recognizing this unity and suffering as a necessary prelude to rebirth.\" That's second. Sentence 3: \"Critics have praised its mystical, belief‑laden language and its link to religious renewal and the Holy Spirit, while also noting its heavy emphasis on pain and the choice between redemption and destruction, and Eliot himself saw it as a poetic work that seeks to work on the soul as well as society.\" That's third.\n\nWe need to ensure it's three sentences, not too long but okay. Let's refine for clarity and conciseness.\n\nPotential final:\n\n\"Little Gidding, the fourth poem of T. S. Eliot’s Four Quartets, was first published in October 1942 after a year’s delay caused by World War II air raids and Eliot’s declining health; its title refers to a 17th‑century Anglican community in Huntingdonshire that was scattered during the English Civil War. The poem employs fire—both natural and Pentecostal—to stress purification and purgation, and through a ghost that gathers Dante, Yeats, Swift and others it explores the unity of past, present and future, arguing that humanity’s salvation requires recognizing this unity and that suffering is a necessary prelude to rebirth. Critics have praised its mystical, belief‑laden language and its link to religious renewal and the Holy Spirit, while also noting its heavy emphasis on pain and the choice between redemption and destruction, and Eliot himself saw it as a work that seeks to work on the soul as well as society.\"\n\nThat's three sentences. Let's check punctuation: The first sentence ends after \"War.\" Actually we need to ensure it's one sentence. The first sentence: \"Little Gidding, the fourth poem of T. S. Eliot’s Four Quartets, was first published in October 1942 after a year’s delay caused by World War II air raids and Eliot’s declining health; its title refers to a 17th‑century Anglican community in Huntingdonshire that was scattered during the English Civil War.\" That's one sentence (though contains a semicolon). That's okay.\n\nSecond sentence: \"The poem employs fire—both natural and Pentecostal—to stress purification and purgation, and through a ghost that gathers Dante, Yeats, Line truncated
"tool_calls": [],
"finish_reason": "stop",
"completion_tokens": 1467
},
"long_context": {
"content": "BLUE HERON 47",
"reasoning": "We need to answer: \"The secret code word is 'BLUE HERON 47'. Remember it.\" Then a long passage about paleontology. The question: \"What was the secret code word mentioned at the very beginning? Answer with the code word only.\"\n\nThus we just need to output \"BLUE HERON 47\". Probably exactly that, case and spacing. The passage: \"The secret code word is 'BLUE HERON 47'. Remember it.\" So answer: BLUE HERON 47.\n\nThus final: BLUE HERON 47.",
"tool_calls": [],
"finish_reason": "stop",
"completion_tokens": 124
}
}
}
+73
View File
@@ -0,0 +1,73 @@
{
"label": "fp8",
"ppl": 19.207493778980304,
"ppl_tokens": 40940,
"prompts": {
"factual": {
"content": "The capital of Australia is Canberra. It was chosen as a purpose‑built city located between Sydney and Melbourne to avoid being dominated by either metropolis and to serve as a neutral political center, a decision reached after a long debate and compromise in the early 20th century.",
"reasoning": "We need to answer the question: \"What is the capital of Australia, and why was it chosen instead of Sydney or Melbourne?\" and we must answer in exactly two sentences.\n\nFirst, recall the capital of Australia. It's Canberra. Why was it chosen instead of Sydney or Melbourne? Historically, the decision was made to create a new capital city to avoid being too close to the largest city (Sydney) and to have a more neutral location. The site was chosen because of its location between Sydney and Melbourne, and it was built as a purpose-built city. The rivalry between Sydney and Melbourne for the capital led to the compromise of Canberra, which was established in the early 20th century.\n\nSo, we need to condense that into two sentences.\n\nSentence 1: State the capital: Canberra is the capital of Australia.\n\nSentence 2: Explain why it was chosen over Sydney or Melbourne: It was selected as a purpose-built city located between the two major cities to balance their influence and to serve as a neutral political center, with the site chosen through a compromise process after decades of debate.\n\nLet's craft it precisely.\n\nOption: \"The capital of Australia is Canberra. It was chosen as a purpose-built city between Sydney and Melbourne to avoid being dominated by either city and to provide a neutral political center, a decision reached after a long debate and compromise in the early 20th century.\"\n\nThat's two sentences. Check: First sentence: \"The capital of Australia is Canberra.\" Second: \"It was chosen as a purpose-built city between Sydney and Melbourne to avoid being dominated by either city and to provide a neutral political center, a decision reached after a long debate and compromise in the early 20th century.\" That's two sentences. It answers both parts.\n\nWe should ensure it's accurate: The site was selected in 1908, and the city was built around Yarra Valley. The reason: to be equidistant and to have a capital separate from the largest city. Yes.\n\nThus final answer.",
"tool_calls": [],
"finish_reason": "stop",
"completion_tokens": 472
},
"german": {
"content": "**Betreff:** Verschiebung des Termins am Dienstag \n\nSehr geehrte Frau Weber,\n\nich möchte Sie informieren, dass unser Meeting am Dienstag auf **Donnerstag um 14:00 Uhr** verschoben werden muss. Bitte passen Sie Ihren Kalender entsprechend an.\n\nIch hoffe, das passt Ihnen gut. Lassen Sie mich wissen, falls Sie weitere Anpassungen benötigen.\n\nMit freundlichen Grüßen \n[Dein Name]",
"reasoning": "We need to write a short, polite email to a colleague, Frau Weber. The content: The meeting on Tuesday must be moved to Thursday at 2 PM. So we need to draft an email in German presumably, as the user wrote in German. The user says: \"Schreibe eine kurze, höfliche E-Mail an deine Kollegin Frau Weber: Das Meeting am Dienstag muss auf Donnerstag um 14 Uhr verschoben werden.\" So we need to produce a short, polite email. We'll address her as \"Frau Weber\" or \"Kollegin Frau Weber\". Use proper greeting, mention the meeting originally scheduled for Tuesday, now moved to Thursday at 14:00, ask for confirmation or just inform. Keep it short and polite.\n\nWe should consider typical email format: Subject line, greeting, body, closing. Use polite language: \"Sehr geehrte Frau Weber,\" or \"Liebe Frau Weber,\" but \"Kollegin\" suggests colleague, maybe \"Sehr geehrte Frau Weber,\" or \"Liebe Kollegin Weber,\" but \"Frau Weber\" is fine. We'll keep it short.\n\nLet's draft:\n\nSubject: Verschiebung des Termins am Dienstag\n\nBody:\n\nSehr geehrte Frau Weber,\n\nich möchte Sie informieren, dass unser Meeting am Dienstag auf Donnerstag um 14:00 Uhr verschoben werden muss. Bitte passen Sie Ihren Kalender entsprechend an.\n\nIch hoffe, das passt Ihnen gut. Lassen Sie mich wissen, falls Sie weitere Anpassungen benötigen.\n\nMit freundlichen Grüßen\n[Name]\n\nThat's short and polite. Could also add \"vielen Dank für Ihre Rückmeldung.\" But it's fine.\n\nWe need to ensure it's in German. Also note that \"14 Uhr\" is 14:00. Use \"Donnerstag um 14 Uhr\". So final email:\n\nBetreff: Verschiebung des Termins am Dienstag\n\nSehr geehrte Frau Weber,\n\nich möchte Sie informieren, dass unser Meeting am Dienstag auf Donnerstag um 14:00 Uhr verschoben werden muss. Bitte aktualisieren Sie Ihren Kalender entsprechend.\n\nIch hoffe, das passt Ihnen gut. Lassen Sie mich wissen, falls Sie weitere Anpassungen benötigen.\n\nMit freundlichen Grüßen\n[Dein Name]\n\nThat's good. We'll output that. Also maybe include \"Kollegin\" but it's okay.\n\nThus final answer: the email text.",
"tool_calls": [],
"finish_reason": "stop",
"completion_tokens": 613
},
"math": {
"content": "The price of pens is 3 for 2.40 EUR, so the cost per pen is \\( \\frac{2.40}{3} = 0.80 \\) EUR. \nFor 7 pens: \\( 7 \\times 0.80 = 5.60 \\) EUR. \nNotebooks cost 4.50 EUR each, so for 3 notebooks: \\( 3 \\times 4.50 = 13.50 \\) EUR. \nTotal cost: \\( 5.60 + 13.50 = 19.10 \\) EUR. \nAnna pays with a 50 EUR note, so change is \\( 50.00 - 19.10 = 30.90 \\) EUR.\n\n\\[\n\\boxed{30.90}\n\\]",
"reasoning": "We need to solve: A shop sells pens at 3 for 2.40 EUR. That means the price per pen? \"3 for 2.40 EUR\" implies that for every 3 pens, the cost is 2.40 EUR. So price per pen = 2.40 / 3 = 0.80 EUR per pen. Notebooks are 4.50 EUR each. Anna buys 7 pens and 3 notebooks. She pays with a 50 EUR note. We need to find change.\n\nCompute total cost:\n\nPens: 7 pens * 0.80 EUR/pen = 7 * 0.8 = 5.6 EUR.\n\nNotebooks: 3 * 4.50 = 13.5 EUR.\n\nTotal = 5.6 + 13.5 = 19.1 EUR.\n\nShe pays 50 EUR, so change = 50 - 19.1 = 30.9 EUR.\n\nBut check: 5.6 + 13.5 = 19.1 exactly? 5.6 + 13.5 = 19.1. Yes.\n\nThus change = 50 - 19.1 = 30.9 EUR.\n\nBut maybe the price for pens is 3 for 2.40 EUR, meaning the total for 3 pens is 2.40, so per pen is 0.8. That seems correct.\n\nThus answer: 30.9 EUR.\n\nBut let's double-check: 7 pens: 7/3 = 2.333... groups of 3, but we need to compute cost exactly: For 7 pens, we can compute as: 2.40 EUR for 3 pens, so for 6 pens it's 2 * 2.40 = 4.80 EUR. Then one extra pen at 0.80 EUR = 5.60 EUR. So same.\n\nNotebooks: 3 * 4.50 = 13.50.\n\nTotal = 5.60 + 13.50 = 19.10.\n\nChange = 50.00 - 19.10 = 30.90.\n\nThus answer: 30.90 EUR.\n\nBut maybe they want to round to two decimals? 30.90.\n\nThus final: \\boxed{30.90} or \\boxed{30.9}? Usually currency to two decimals. I'll put \\boxed{30.90} but check: 50 - 19.1 = 30.9 exactly? 19.1 is 19.10, so 50 - 19.10 = 30.90. So yes.\n\nThus final answer: \\boxed{30.90} EUR? The problem says \"End with the amount.\" So just the number.\n\nI'll output \\boxed{30.90}.",
"tool_calls": [],
"finish_reason": "stop",
"completion_tokens": 747
},
"tool_weather": {
"content": null,
"reasoning": "We need to find out if it's raining in Hamburg right now. The user specified using celsius. There's a tool `get_weather` that takes parameters `city` and optionally `unit`. The required parameter is `city`. The user asked for \"celsius\" so we should set `unit` to \"celsius\". \n\nLet's call the function.",
"tool_calls": [
{
"name": "get_weather",
"arguments": "{\"city\": \"Hamburg\", \"unit\": \"celsius\"}"
}
],
"finish_reason": "tool_calls",
"completion_tokens": 106
},
"tool_flights": {
"content": null,
"reasoning": "We need to find flights from Hamburg to Lisbon on 2026-11-14 for 2 adults. The user provided all required parameters: origin (Hamburg), destination (Lisbon), date (2026-11-14), and adults (2). The function `search_flights` requires origin, destination, and date, and optionally adults. So I should call `search_flights` with these parameters. Let's do that.",
"tool_calls": [
{
"name": "search_flights",
"arguments": "{\"origin\": \"Hamburg\", \"destination\": \"Lisbon\", \"date\": \"2026-11-14\", \"adults\": 2}"
}
],
"finish_reason": "tool_calls",
"completion_tokens": 147
},
"json": {
"content": "{\n \"name\": \"Maria Schmidt\",\n \"age\": 34,\n \"city\": \"Leipzig\",\n \"skills\": [\n \"Python\",\n \"SQL\",\n \"Tableau\"\n ]\n}",
"reasoning": "We need to extract data from the given sentence: \"Maria Schmidt is 34, lives in Leipzig and works with Python, SQL and Tableau.\"\n\nWe need to output a JSON object with keys: name (string), age (integer), city (string), skills (list of strings).\n\nFrom the sentence:\n- Name: Maria Schmidt\n- Age: 34\n- City: Leipzig\n- Skills: Python, SQL, Tableau. These are listed as \"works with Python, SQL and Tableau.\" So skills are these three. We need to split them into a list of strings. Probably \"Python\", \"SQL\", \"Tableau\". Note: The sentence uses commas and \"and\". So we can parse.\n\nThus JSON:\n{\n \"name\": \"Maria Schmidt\",\n \"age\": 34,\n \"city\": \"Leipzig\",\n \"skills\": [\"Python\", \"SQL\", \"Tableau\"]\n}\n\nMake sure output only the JSON, no extra text.\n\nLet's produce that.",
"tool_calls": [],
"finish_reason": "stop",
"completion_tokens": 253
},
"summary_2k": {
"content": "“Little Gidding,” the fourth and final poem of T. S. Eliot’s *Four Quartets*, was first published in October 1942 after being delayed by World War II air raids and Eliot’s declining health; its title alludes to a 17th‑century Anglican community in Huntingdonshire that was scattered during the English Civil War. The poem employs fire and Pentecostal imagery to stress purification and purgation, juxtaposing the Battle of Britain, death, and a ghost of poets (originally “Ser Brunetto”) who urges the narrator to confront past mistakes, suffer, and be redeemed by the Holy Spirit’s flame, thereby achieving unity of past, present, and future and salvation. Eliot completed five drafts, finishing the work in September 1942, and it was intended to conclude the series by linking themes of renewal, suffering, and spiritual rebirth; critics react with mixed emotions, praising its mystical, belief‑laden language while also noting its painful emphasis on disease, war, and the need for fire‑based redemption.",
"reasoning": "We need to summarize the article in three sentences. The article is about \"Little Gidding\" poem by T. S. Eliot, part of Four Quartets, its background, themes, etc. We need to condense into three sentences.\n\nWe need to capture key points: It's the fourth poem of Four Quartets, published 1942 after delays due to WWII air raids and Eliot's health; title refers to a 17th-century Anglican community in Huntingdonshire; uses fire and Pentecostal fire imagery to emphasize purification; narrator meets a ghost of various poets; focuses on unity of past, present, future and salvation; Eliot wrote it after health decline, first draft in 1941, revised after months, finished 1942; themes: renewal through suffering, purgation by fire, connection of holy places with Holy Spirit, etc.; critics have mixed reactions; ghost originally \"Ser Brunetto\" changed to ambiguous \"you\". Also mention that it's intended to conclude the series.\n\nWe need three sentences. Let's craft:\n\nSentence 1: Provide basic info: Little Gidding is the fourth poem of T. S. Eliot's Four Quartets, first published in October 1942 after delays due to WWII air raids and Eliot's declining health; the title refers to a 17th‑century Anglican community in Huntingdonshire.\n\nSentence 2: Summarize content: The poem uses fire and Pentecostal imagery to depict purification and purgation, juxtaposing the Battle of Britain, death, and a ghost of poets (originally \"Ser Brunetto\") who urges the narrator to experience renewal through suffering and the Holy Spirit's fire, thereby achieving salvation.\n\nSentence 3: Mention themes and reception: Eliot wrote five drafts, finished it in September 1942, and it aims to summarize the series' ideas about past, present, future and humanity's redemption; critics find it both mystical and painful, with some praising its belief and language while others criticize its emphasis on suffering and religious sanctity.\n\nCheck length: three sentences, each fairly long but okay.\n\nLet's refine for clarity and conciseness.\n\nSentence 1: \"Little Gidding, the fourth and final poem of T. S. Eliot’s Four Quartets, was first published in October 1942 after being delayed by World War II air raids and Eliot’s declining health; its title alludes to a 17th‑century Anglican community in Huntingdonshire that was scattered during the English Civil War.\"\n\nSentence 2: \"The poem employs fire and Pentecostal imagery to stress purification and purgation, juxtaposing the Battle of Britain, death, and a ghost of poets (originally “Ser Brunetto”) who urges the narrator to confront past mistakes, suffer, and be redeemed by the Holy Spirit’s flame, thereby achieving unity of past, present, and future and salvation.\"\n\nSentence 3: \"Eliot completed five drafts, finishing the work in September 1942, and it was intended to conclude the series by linking the themes of renewal, suffering, and spiritual rebirth; critics react with mixed emotions, praising its mystical, belief‑laden language while also noting its painful emphasis on disease, war, and the need for fire‑based redemption.\"\n\nThat's three sentences. Let's check: Sentence 1 is okay. Sentence 2 is okay. Sentence 3 is okay.\n\nWe need to ensure it's three sentences exactly. Yes.\n\nNow produce final answer.",
"tool_calls": [],
"finish_reason": "stop",
"completion_tokens": 974
},
"long_context": {
"content": "BLUE HERON 47",
"reasoning": "We need to answer: \"The secret code word is 'BLUE HERON 47'. Remember it.\" Then a long passage about paleontology. The question: \"What was the secret code word mentioned at the very beginning? Answer with the code word only.\"\n\nThus we just need to output \"BLUE HERON 47\". Probably exactly that, case and spacing. The passage: \"The secret code word is 'BLUE HERON 47'. Remember it.\" So answer: BLUE HERON 47.\n\nThus final: BLUE HERON 47.",
"tool_calls": [],
"finish_reason": "stop",
"completion_tokens": 124
}
}
}
+73
View File
@@ -0,0 +1,73 @@
{
"label": "fp8pc",
"ppl": 18.52298631067281,
"ppl_tokens": 40940,
"prompts": {
"factual": {
"content": "The capital of Australia is Canberra. It was chosen as a purpose‑built city in the Australian Capital Territory rather than Sydney or Melbourne to create a neutral, centrally located seat of government that balanced the two largest cities and offered good transport links.",
"reasoning": "We need to answer the question: \"What is the capital of Australia, and why was it chosen instead of Sydney or Melbourne?\" and we must answer in two sentences.\n\nFirst, recall that the capital of Australia is Canberra. It was chosen as a purpose-built city rather than being the largest city like Sydney or Melbourne. The reason: to avoid being dominated by the largest city and to create a neutral capital. The selection was based on a compromise between Sydney and Melbourne, and the site was chosen because of its location between the two cities, on the Australian Capital Territory, with good railway connections and natural beauty. Specifically, the site was selected in 1908 through a competition, and the decision was made to build a new capital city rather than use an existing one.\n\nSo, two sentences: First sentence: The capital of Australia is Canberra. Second sentence: It was chosen as a purpose-built city in the Australian Capital Territory to avoid being dominated by Sydney or Melbourne and to provide a neutral, centrally located seat of government.\n\nLet's craft that concisely.\n\nSentence 1: \"The capital of Australia is Canberra.\" (That's straightforward.)\n\nSentence 2: \"It was selected as a new, purpose-built city in the Australian Capital Territory rather than Sydney or Melbourne to create a neutral seat of government that balanced the two largest cities and offered a central location with good transport links.\" That's a bit long but okay. Need to ensure it's two sentences total.\n\nLet's count: \"The capital of Australia is Canberra.\" (1) \"It was chosen as a purpose‑built city in the Australian Capital Territory to avoid being dominated by Sydney or Melbourne and to provide a neutral, centrally located seat of government.\" (2) That's two sentences.\n\nYes. I'll answer that.",
"tool_calls": [],
"finish_reason": "stop",
"completion_tokens": 416
},
"german": {
"content": "**Betreff:** Verschiebung des Termins am Dienstag \n\nSehr geehrte Frau Weber, \n\nich möchte Sie informieren, dass das Meeting, das ursprünglich am Dienstag geplant war, auf **Donnerstag um 14:00 Uhr** verschoben werden muss. \n\nBitte teilen Sie mir mit, ob dieser neue Termin für Sie passt. \n\nMit freundlichen Grüßen \n[Dein Name]",
"reasoning": "We need to write a short, polite email to colleague Frau Weber. The content: The meeting on Tuesday must be moved to Thursday at 2 PM. So we need to draft an email in German presumably, as the user wrote in German. The user says: \"Schreibe eine kurze, höfliche E-Mail an deine Kollegin Frau Weber: Das Meeting am Dienstag muss auf Donnerstag um 14 Uhr verschoben werden.\" So we need to produce a short, polite email. We'll address her as \"Frau Weber\" or \"Kollegin Frau Weber\". Use proper salutation, mention the meeting originally on Tuesday, now moved to Thursday at 14:00. Possibly ask for confirmation or just inform. Keep it short and polite.\n\nWe should consider typical email format: Subject line, greeting, body, closing, signature. Use polite language: \"Sehr geehrte Frau Weber,\" or \"Liebe Frau Weber,\" but \"Kollegin\" suggests colleague, maybe \"Sehr geehrte Frau Weber,\" or \"Liebe Kollegin Weber,\" but \"Frau Weber\" is fine. We'll keep it short.\n\nLet's draft:\n\nSubject: Verschiebung des Termins am Dienstag\n\nBody:\n\nSehr geehrte Frau Weber,\n\nich möchte Sie informieren, dass das Meeting, das ursprünglich am Dienstag geplant war, auf Donnerstag um 14:00 Uhr verschoben werden muss.\n\nBitte teilen Sie mir mit, ob dieser Termin passt.\n\nMit freundlichen Grüßen\n[Name]\n\nThat's short and polite. Could add \"Ich hoffe, dass dies für Sie passt.\" etc.\n\nWe'll produce that. Ensure it's in German. Use proper punctuation. Also maybe mention \"um 14 Uhr\" as 14:00. Use \"Donnerstag um 14 Uhr\". Good.\n\nThus final answer: a short email. We'll include subject line and body. Possibly include placeholders for name.\n\nLet's write:\n\nBetreff: Verschiebung des Termins am Dienstag\n\nSehr geehrte Frau Weber,\n\nich schreibe Ihnen, um Ihnen mitzuteilen, dass das Meeting, das am Dienstag geplant war, auf Donnerstag um 14:00 Uhr verschoben werden muss.\n\nBitte bestätigen Sie, ob dieser neue Termin für Sie passt.\n\nMit freundlichen Grüßen\n[Dein Name]\n\nThat's fine. We'll keep it short. Also maybe \"Kollegin\" is used, but \"Frau Weber\" is enough.\n\nThus final.",
"tool_calls": [],
"finish_reason": "stop",
"completion_tokens": 620
},
"math": {
"content": "Anna buys 7 pens at a rate of 3 for 2.40 EUR, so the cost per pen is \\( \\frac{2.40}{3} = 0.80 \\) EUR. \nCost for 7 pens: \\( 7 \\times 0.80 = 5.60 \\) EUR. \n\nNotebooks cost 4.50 EUR each, so cost for 3 notebooks: \\( 3 \\times 4.50 = 13.50 \\) EUR. \n\nTotal cost: \\( 5.60 + 13.50 = 19.10 \\) EUR. \n\nShe pays with a 50 EUR note, so change is \\( 50 - 19.10 = 30.90 \\) EUR. \n\n\\[\n\\boxed{30.90}\n\\]",
"reasoning": "We need to solve: A shop sells pens at 3 for 2.40 EUR. That means the price per pen is 2.40/3 = 0.80 EUR per pen. Notebooks are 4.50 EUR each. Anna buys 7 pens and 3 notebooks. She pays with a 50 EUR note. We need to find change.\n\nCompute total cost:\n\nPens: 7 pens * (2.40/3) = 7 * 0.80 = 5.60 EUR? Let's check: 2.40/3 = 0.8 exactly. 7 * 0.8 = 5.6.\n\nNotebooks: 3 * 4.50 = 13.50 EUR.\n\nTotal = 5.60 + 13.50 = 19.10 EUR.\n\nShe pays 50 EUR. Change = 50 - 19.10 = 30.90 EUR.\n\nBut let's double-check: 5.6 + 13.5 = 19.1 indeed. 50 - 19.1 = 30.9.\n\nThus change is 30.90 EUR.\n\nBut maybe we need to consider rounding? The price per pen is 2.40 for 3 pens, so total for 3 pens is 2.40. For 7 pens, we can compute as (7/3)*2.40 = 7 * (2.40/3) = 7 * 0.8 = 5.6. That's fine.\n\nThus answer: 30.90 EUR.\n\nBut let's ensure the format: \"End with the amount.\" So we just output the amount? Probably \"30.90 EUR\" or \"30.9 EUR\"? Usually with two decimals. So 30.90.\n\nThus final: 30.90 EUR.\n\nBut let's re-evaluate: 2.40 EUR for 3 pens. So per pen = 0.80. 7 pens = 5.60. Notebooks: 4.50 each, 3 notebooks = 13.50. Sum = 19.10. 50 - 19.10 = 30.90.\n\nYes.\n\nThus answer: 30.90 EUR.\n\nI'll put \"30.90\" or \"30.90 EUR\"? The problem says \"How much change does she get? End with the amount.\" So I'll output \"30.90 EUR\" or just \"30.90\". Usually they want the amount. I'll include the currency? The problem uses EUR. So I'll say \"30.90 EUR\". But \"End with the amount.\" So maybe just the number. I'll do: 30.90.\n\nBetter to be precise: 30.90.\n\nThus final.",
"tool_calls": [],
"finish_reason": "stop",
"completion_tokens": 746
},
"tool_weather": {
"content": null,
"reasoning": "We need to find out if it's raining in Hamburg right now. The user specified using celsius. There's a tool `get_weather` that takes parameters `city` and optionally `unit`. The required parameter is `city`. The user asked about Hamburg and wants the unit to be celsius. So I should call `get_weather` with city \"Hamburg\" and unit \"celsius\". Let's do that.",
"tool_calls": [
{
"name": "get_weather",
"arguments": "{\"city\": \"Hamburg\", \"unit\": \"celsius\"}"
}
],
"finish_reason": "tool_calls",
"completion_tokens": 120
},
"tool_flights": {
"content": null,
"reasoning": "We need to find flights from Hamburg to Lisbon on 2026-11-14 for 2 adults. The user provided all required parameters: origin (Hamburg), destination (Lisbon), date (2026-11-14), and adults (2). The function `search_flights` requires origin, destination, and date, and optionally adults. So I should call `search_flights` with these parameters. Let's construct the call.",
"tool_calls": [
{
"name": "search_flights",
"arguments": "{\"origin\": \"Hamburg\", \"destination\": \"Lisbon\", \"date\": \"2026-11-14\", \"adults\": 2}"
}
],
"finish_reason": "tool_calls",
"completion_tokens": 148
},
"json": {
"content": "{\n \"name\": \"Maria Schmidt\",\n \"age\": 34,\n \"city\": \"Leipzig\",\n \"skills\": [\n \"Python\",\n \"SQL\",\n \"Tableau\"\n ]\n}",
"reasoning": "We need to extract data from the given sentence: \"Maria Schmidt is 34, lives in Leipzig and works with Python, SQL and Tableau.\"\n\nWe need to output a JSON object with keys: name (string), age (integer), city (string), skills (list of strings).\n\nFrom the sentence:\n- Name: Maria Schmidt\n- Age: 34\n- City: Leipzig\n- Skills: Python, SQL, Tableau. These are listed as \"works with Python, SQL and Tableau.\" So skills are these three. We need to split them into a list of strings. Probably separate by commas and spaces. So skills: [\"Python\", \"SQL\", \"Tableau\"].\n\nThus JSON:\n{\n \"name\": \"Maria Schmidt\",\n \"age\": 34,\n \"city\": \"Leipzig\",\n \"skills\": [\"Python\", \"SQL\", \"Tableau\"]\n}\n\nMake sure output only the JSON. No extra text.\n\nLet's produce that.",
"tool_calls": [],
"finish_reason": "stop",
"completion_tokens": 248
},
"summary_2k": {
"content": "Little Gidding, the fourth and final poem of T. S. Eliot’s Four Quartets, was first published in October 1942 after being delayed by World War II air raids and Eliot’s declining health; its title refers to a 17th‑century Huntingdonshire Anglican community, and the poem uses fire and Pentecostal imagery to stress purification and the need to overcome humanity’s flawed, war‑filled past. Eliot wrote five drafts, revising his first after leaving for a lecture tour, and finished the work in September 1942; the poem introduces a ghost of various poets (originally “Ser Brunetto”) who urges the narrator to experience purgation through fire and to see the unity of past, present, and future as the path to salvation. Themes of renewal, suffering, and redemption—contrasted with the threat of London’s air raids—are explored, and critics have responded with mixed emotions, praising its mystical, almost Buddhist tone while noting its heavy emphasis on pain and the poet’s attempt to help the world through language and soul.",
"reasoning": "We need to summarize the article in three sentences. The article is a long passage about \"Little Gidding\" poem by T.S. Eliot, its background, composition, themes, etc. We need to condense into three sentences.\n\nWe need to capture key points: It's the fourth and final poem of Four Quartets, published 1942 after delays due to WWII air raids and Eliot's health. Title refers to a 17th-century Anglican community in Huntingdonshire. The poem uses fire and Pentecostal fire to emphasize purification; humanity's flawed understanding leads to war, but can be overcome by recognizing past lessons. The narrator meets a ghost of various poets; focuses on unity of past, present, future, and salvation. Eliot wrote it after health decline, first draft in 1941, revised after leaving for lectures, finished Aug 1942. Themes: renewal through suffering, religious community, connection of holy places and Holy Spirit, Puritan dispersal, etc. Critics have mixed reactions, some see it as mystical, Buddhist, etc. The ghost originally \"Ser Brunetto\" changed to ambiguous \"you\". The poem ends with sacrifice and reincarnation.\n\nWe need three sentences. Let's craft:\n\nSentence 1: Provide overview: \"Little Gidding\" is the fourth and final poem of T. S. Eliot's Four Quartets, first published in October 1942 after delays caused by WWII air raids and Eliot's declining health; it draws on the 17th‑century Huntingdonshire Anglican community and uses fire and Pentecostal imagery to stress purification and the need to overcome humanity's flawed, war‑filled past.\"\n\nSentence 2: Discuss composition and content: \"Eliot wrote five drafts, revising his first after leaving for lectures, and finished the poem in September 1942; the work features a ghost of poets (originally \"Ser Brunetto\") who urges the narrator to experience purgation through fire and recognize the unity of past, present, and future as a path to salvation.\"\n\nSentence 3: Themes and reception: \"Critics find the poem a mystical, almost Buddhist meditation on renewal, suffering, and redemption, with the final choice between divine love and the bombing of London, and the reception has been mixed, praising its lyrical belief and controversy over its emphasis on pain and religious fervor.\"\n\nCheck length: three sentences, each fairly dense. Let's refine.\n\nSentence 1: \"Little Gidding, the fourth and final poem of T. S. Eliot’s Four Quartets, was first published in October 1942 after being delayed by World War II air raids and Eliot’s declining health; its title refers to a 17th‑century Huntingdonshire Anglican community, and the poem uses fire and Pentecostal imagery to stress purification and the need to overcome humanity’s flawed, war‑filled past.\"\n\nSentence 2: \"Eliot completed five drafts, revising his first after leaving for a lecture tour, and finished the work in September 1942; the poem introduces a ghost of various poets (originally “Ser Brunetto”) who urges the narrator to experience purgation through fire and to see the unity of past, present, and future as the way to salvation.\"\n\nSentence 3: \"Themes of renewal, suffering, and redemption—contrasted with the threat of London’s air raids—are explored, and critics have responded with mixed emotions, praising its mystical, almost Buddhist tone while noting its heavy emphasis on pain and the poet’s attempt to help the world through language and soul.\"\n\nThat's three sentences. Let's check: Sentence 1 is long but okay. Sentence 2 is okay. Sentence 3 is okay.\n\nWe need to ensure it's three sentences, not more. I'll count periods. I'll write them as three separate sentences separated by periods. Ensure no extra periods inside abbreviations? \"Eliot’s\" includes an apostrophe, not a period. \"World War II\" includes a period? No. \"October 1942\" includes a period? No. \"Four Quartets\" includes a period? No. So three sentences.\n\nLet's rewrite more concisely:\n\nSentence 1: \"Little Gidding, the fourth and final poem of T. S. Eliot’s Four Quartets, was first published in October 1942 after being delayed by World War II air raids and Eliot’s declining health; its title refers to a 17th‑century Huntingdonshire Anglican community, and the poem uses fire and Pentecostal imagery to stress purification and the need to overcome humanity’s flawed, war‑filled past.\"\n\nSentence 2: \"Eliot wrote five drafts, revising his first after leaving for a lecture tour, and finished the work in September 1942; the poem introduces a ghost of various poets (originally “Ser Brunetto”) who urges the narrator to experience purgation through fire and to see the unity of past, present, and future as the path to salvation.\"\n\nSentence 3: \"Themes of renewal, suffering, and redemption—contrasted with the threat of London’s air raids—are explored, and critics have responded with mixed emotions, praising its mystical, almost Buddhist tone while noting its heavLine truncated
"tool_calls": [],
"finish_reason": "stop",
"completion_tokens": 1377
},
"long_context": {
"content": "BLUE HERON 47",
"reasoning": "We need to answer: \"What was the secret code word mentioned at the very beginning? Answer with the code word only.\"\n\nThe user gave a paragraph starting: \"The secret code word is 'BLUE HERON 47'. Remember it.\"\n\nThus the secret code word is \"BLUE HERON 47\". So answer with that code word only.\n\nThus output: BLUE HERON 47\n\nBut we need to be careful about case and spacing. The text: 'BLUE HERON 47'. So exactly that.\n\nThus final answer: BLUE HERON 47.",
"tool_calls": [],
"finish_reason": "stop",
"completion_tokens": 128
}
}
}
+73
View File
@@ -0,0 +1,73 @@
{
"label": "int4",
"ppl": 19.886369735448092,
"ppl_tokens": 40940,
"prompts": {
"factual": {
"content": "The capital of Australia is Canberra. It was chosen as a compromise between Sydney and Melbourne to serve as a neutral, purpose-built city that would not favor either of the existing major urban centers.",
"reasoning": "We need to answer the question: \"What is the capital of Australia, and why was it chosen instead of Sydney or Melbourne?\" in two sentences.\n\nFirst, the capital of Australia is Canberra. It was chosen as a compromise between Sydney and Melbourne, two of the largest cities, to avoid favoring either. The reason for choosing Canberra is that it was selected as the site for the new capital city through a contest and was built to be a neutral location between the two major cities.\n\nSo, two sentences: \n1. The capital of Australia is Canberra.\n2. It was chosen as a compromise between Sydney and Melbourne to ensure the new capital was neither too close to the existing major cities nor in a contested location.\n\nLet's craft precisely.\n\nSentence 1: Canberra is the capital of Australia. (But we need to mention why it was chosen instead of Sydney or Melbourne.)\n\nSentence 2: It was selected as a neutral site between the two largest cities, Sydney and Melbourne, to avoid favoring either and to provide a new, purpose-built capital.\n\nThat's two sentences. Let's make them concise.\n\nFinal answer: \"The capital of Australia is Canberra. It was chosen as a compromise between Sydney and Melbourne to serve as a neutral, purpose-built city that would not favor either of the existing major urban centers.\"\n\nCheck: That's two sentences. Yes.",
"tool_calls": [],
"finish_reason": "stop",
"completion_tokens": 321
},
"german": {
"content": "**Betreff:** Verschiebung des Termins\n\nSehr geehrte Frau Weber,\n\nich möchte Sie informieren, dass das Meeting, das ursprünglich am Dienstag geplant war, auf **Donnerstag um 14 Uhr** verschoben werden muss.\n\nBitte passen Sie Ihren Kalender entsprechend an.\n\nMit freundlichen Grüßen \n[Dein Name]",
"reasoning": "We need to write a short, polite email to a colleague, Frau Weber (Mrs. Weber). The meeting on Tuesday needs to be moved to Thursday at 2 PM. So we need to compose an email in German, presumably. The user says: \"Schreibe eine kurze, höfliche E-Mail an deine Kollegin Frau Weber: Das Meeting am Dienstag muss auf Donnerstag um 14 Uhr verschoben werden.\" So we need to produce the email content. We should be polite, concise, and include the necessary details: recipient, subject, body. Possibly include a greeting, mention the meeting originally scheduled for Tuesday, now moved to Thursday at 14:00, and ask for confirmation or just inform. Also sign off politely.\n\nWe need to keep it short. Let's draft:\n\nSubject: Verschiebung des Meetings\n\nDear Frau Weber,\n\nIch möchte Sie informieren, dass das Meeting, das ursprünglich am Dienstag geplant war, auf Donnerstag um 14 Uhr verschoben werden muss.\n\nBitte passen Sie Ihren Kalender entsprechend an.\n\nMit freundlichen Grüßen\n[Name]\n\nBut we need to be careful: \"Kollegin\" means colleague, female. So \"Frau Weber\" is the title. Use \"Sehr geehrte Frau Weber,\" or \"Liebe Frau Weber,\"? Usually \"Sehr geehrte Frau Weber,\" is formal. Since it's a colleague, maybe \"Liebe Frau Weber\" is okay but \"Sehr geehrte Frau Weber\" is more formal. I'll go with \"Sehr geehrte Frau Weber,\".\n\nLet's write:\n\nBetreff: Verschiebung des Termins\n\nSehr geehrte Frau Weber,\n\nich möchte Sie informieren, dass das Meeting, das ursprünglich am Dienstag angesetzt war, auf Donnerstag um 14 Uhr verschoben werden muss.\n\nBitte passen Sie Ihren Kalender entsprechend an.\n\nMit freundlichen Grüßen\n[Dein Name]\n\nThat's short and polite. Possibly add \"Ich hoffe, dass dies keine Probleme verursacht\" but not necessary. Keep it short.\n\nThus final answer: the email text. I'll include placeholders for name. Also maybe mention \"Dienstag\" and \"Donnerstag\" and \"14 Uhr\". I'll write in German.\n\nLet's produce.",
"tool_calls": [],
"finish_reason": "stop",
"completion_tokens": 553
},
"math": {
"content": "The price per pen is \\( \\frac{2.40}{3} = 0.8 \\) EUR. \nCost for 7 pens: \\( 7 \\times 0.8 = 5.6 \\) EUR. \nCost for 3 notebooks: \\( 3 \\times 4.50 = 13.5 \\) EUR. \nTotal cost: \\( 5.6 + 13.5 = 19.1 \\) EUR. \nChange from a 50 EUR note: \\( 50 - 19.1 = 30.9 \\) EUR.\n\nThus, Anna gets 30.9 EUR in change.\n\n\\boxed{30.9}",
"reasoning": "We need to solve: A shop sells pens at 3 for 2.40 EUR. That means the price per pen is 2.40/3 = 0.8 EUR per pen. Notebooks are 4.50 EUR each. Anna buys 7 pens and 3 notebooks. She pays with a 50 EUR note. We need to find how much change she gets.\n\nFirst, compute total cost for pens: 7 pens * (2.40/3) = 7 * 0.8 = 5.6 EUR? Let's check: 2.40/3 = 0.8 exactly. 7 * 0.8 = 5.6 EUR.\n\nNotebooks: 3 notebooks * 4.50 = 13.5 EUR.\n\nTotal cost = 5.6 + 13.5 = 19.1 EUR.\n\nShe pays 50 EUR. Change = 50 - 19.1 = 30.9 EUR.\n\nBut let's double-check: 2.40 EUR for 3 pens. So price per pen = 2.40/3 = 0.8. 7 pens cost 7*0.8 = 5.6. Notebooks: 4.50 each, 3*4.50 = 13.5. Sum = 19.1. 50 - 19.1 = 30.9. So change is 30.90 EUR.\n\nThus answer: 30.9 EUR? Usually they'd write 30.90 or 30.9. I'll put 30.90? The problem says \"End with the amount.\" So just the number.\n\nThus final: 30.9 EUR? But let's compute precisely: 2.40/3 = 0.8 exactly. 7*0.8 = 5.6. 3*4.5 = 13.5. Sum = 19.1. 50 - 19.1 = 30.9. So 30.9.\n\nBut maybe they want 30.90? I'll put 30.9.\n\nThus final answer: \\boxed{30.9} or \\boxed{30.90}? I'll do \\boxed{30.9} but maybe include two decimals: 30.90. Since 2.40 has two decimals, 4.50 has two, 50 has none. Typically change would be 30.90. I'll do \\boxed{30.90} to be safe. But 30.9 is same as 30.90. I'll go with \\boxed{30.9} or \\boxed{30.90}? Let's see: 19.1 is 19.10? Actually 5.6 + 13.5 = 19.1 exactly. 50 - 19.1 = 30.9. So it's 30.9. I'll put \\boxed{30.9} but maybe they expect 30.90. I'll check: 2.40/3 = 0.8 exactly, 7*0.8 = 5.6, 3*4.5 = 13.5, sum = 19.1. 50 - 19.1 = 30.9. So 30.9.\n\nThus final: \\boxed{30.9} EUR? The problem says \"End with the amount.\" So just the number. I'll put \\boxed{30.9}. But I'll add two decimal places: \\boxed{30.90}? I'll decide: 30.9 is fine.\n\nLet's do a quick check: 2.40/3 = 0.8 exactly. 7*0.8 = 5.6. 3*4.5 = 13.5. Total = 19.1. 50 - 19.1 = 30.9. Yes.\n\nThus answer: 30.9 EUR.\n\nI'll put \\boxed{30.9}.",
"tool_calls": [],
"finish_reason": "stop",
"completion_tokens": 986
},
"tool_weather": {
"content": null,
"reasoning": "We need to find out if it's raining in Hamburg right now. The user specified using celsius for the unit. There's a function `get_weather` that takes parameters `city` and optionally `unit`. The required parameter is `city`. The user asked about Hamburg and wants the unit in celsius. So I should call `get_weather` with `city` as \"Hamburg\" and `unit` as \"celsius\". Let's do that.",
"tool_calls": [
{
"name": "get_weather",
"arguments": "{\"city\": \"Hamburg\", \"unit\": \"celsius\"}"
}
],
"finish_reason": "tool_calls",
"completion_tokens": 128
},
"tool_flights": {
"content": null,
"reasoning": "We need to find flights from Hamburg to Lisbon on 2026-11-14 for 2 adults. The user provided origin (Hamburg), destination (Lisbon), date (2026-11-14), and number of adults (2). The function `search_flights` requires parameters: origin, destination, date, and optionally adults. The required parameters are origin, destination, and date. So I can call the function with these parameters.\n\nLet's construct the tool call.",
"tool_calls": [
{
"name": "search_flights",
"arguments": "{\"origin\": \"Hamburg\", \"destination\": \"Lisbon\", \"date\": \"2026-11-14\", \"adults\": 2}"
}
],
"finish_reason": "tool_calls",
"completion_tokens": 155
},
"json": {
"content": "{\n \"name\": \"Maria Schmidt\",\n \"age\": 34,\n \"city\": \"Leipzig\",\n \"skills\": [\"Python\", \"SQL\", \"Tableau\"]\n}",
"reasoning": "We need to extract data as a JSON object with keys: name (string), age (integer), city (string), skills (list of strings). The input: \"Maria Schmidt is 34, lives in Leipzig and works with Python, SQL and Tableau.\"\n\nSo:\n- name: \"Maria Schmidt\"\n- age: 34 (integer)\n- city: \"Leipzig\"\n- skills: list of strings: \"Python\", \"SQL\", \"Tableau\". Note: The phrase \"works with Python, SQL and Tableau\" implies skills: Python, SQL, Tableau. So list: [\"Python\", \"SQL\", \"Tableau\"].\n\nThus JSON object: {\"name\": \"Maria Schmidt\", \"age\": 34, \"city\": \"Leipzig\", \"skills\": [\"Python\", \"SQL\", \"Tableau\"]}\n\nWe just output only the JSON. Ensure proper formatting: no extra text.\n\nLet's produce:\n\n{\n \"name\": \"Maria Schmidt\",\n \"age\": 34,\n \"city\": \"Leipzig\",\n \"skills\": [\"Python\", \"SQL\", \"Tableau\"]\n}\n\nWe can output as a single JSON object. I'll use double quotes for keys and string values. Age as integer without quotes.\n\nThus final answer.",
"tool_calls": [],
"finish_reason": "stop",
"completion_tokens": 302
},
"summary_2k": {
"content": "Little Gidding is the fourth and final poem of T. S. Eliot’s *Four Quartets*, first published in October 1942 after being delayed by World War II air raids and Eliot’s declining health; its title refers to a small 17th‑century Anglican community in Huntingdonshire that was scattered during the English Civil War. The poem uses the combined image of fire and Pentecostal fire to stress purification, arguing that humanity’s flawed understanding of life and its turning away from God leads to war, but this can be overcome by recognizing the lessons of the past, as illustrated by a ghost—an amalgam of poets such as Dante, Yeats and Swift—who speaks to the narrator and urges a unity of past, present and future as a path to salvation. Critics have praised its mystical, belief‑laden language and its fourth section as Eliot’s greatest achievement, yet they also noted its heavy emphasis on pain and the choice between divine fire and the bombing of London, reflecting Eliot’s hope that belief and words can redeem the soul.",
"reasoning": "We need to summarize the article in three sentences. The article is about \"Little Gidding\" poem by T. S. Eliot, part of Four Quartets, its publication, background, themes, etc. We need to condense into three sentences.\n\nWe need to capture key points: It's the fourth and final poem of Four Quartets, published 1942 after delays due to WWII air raids and Eliot's health; title refers to a 17th-century Anglican community; uses fire and Pentecostal fire to emphasize purification; narrator meets a ghost of various poets; focuses on unity of past, present, future, and salvation; Eliot's health issues and drafts; the poem deals with time, war, death, regrets, and the need for purgation through fire; themes of renewal, religious community, connection of holy places with Holy Spirit, etc.; critics have mixed reactions; the ghost is a compilation of poets like Dante, Yeats, etc.; Eliot's letter about changing \"Ser Brunetto\" to \"you\" for purgatorial effect; the poem ends with sacrifice and rebirth.\n\nWe need three sentences. Let's craft:\n\nSentence 1: Introduce the poem, its place in Four Quartets, publication date, reasons for delay, and title's reference to an Anglican community.\n\nSentence 2: Summarize the central themes: fire and purification, past/present/future unity, ghost of poets, need for redemption through suffering and sacrifice, and the interplay of historical and literary figures.\n\nSentence 3: Mention critical reception and the significance of the ghost and the final choice between fire and bombing, plus Eliot's belief in belief and language.\n\nWe need to keep it concise but cover main points.\n\nLet's draft:\n\n\"Little Gidding is the final poem of T. S. Eliot’s Four Quartets, first published in October 1942 after being delayed by World War II air raids and Eliot’s declining health; its title refers to a 17th‑century Anglican community in Huntingdonshire that was scattered during the English Civil War. The poem uses the image of fire—both natural and Pentecostal—to stress purification and the need to overcome humanity’s flawed understanding of life, while a ghost composed of poets such as Dante, Yeats and Swift confronts the narrator and urges a union of past, present and future as a path to salvation. Critics have praised its mystical, belief‑laden language and its fourth section as a greatest achievement, yet also noted its heavy emphasis on pain and the choice between divine fire and the bombing of London, reflecting Eliot’s hope that belief and words can redeem the soul.\"\n\nThat's three sentences? Let's count: Actually that's three sentences? Let's check: The first ends after \"health; its title refers to...\" That's one sentence. The second ends after \"future as a path to salvation.\" That's second. The third ends after \"London, reflecting Eliot’s hope...\" That's third. Yes.\n\nBut we need to ensure it's exactly three sentences. Let's rewrite with proper punctuation.\n\nSentence 1: \"Little Gidding is the fourth and final poem of T. S. Eliot’s Four Quartets, first published in October 1942 after being delayed by World War II air raids and Eliot’s declining health; its title refers to a small 17th‑century Anglican community in Huntingdonshire that was scattered during the English Civil War.\"\n\nSentence 2: \"The poem employs the combined image of fire and Pentecostal fire to stress purification, arguing that humanity’s flawed understanding of life and its turning away from God leads to war, but this can be overcome by recognizing the lessons of the past, as illustrated by a ghost—an amalgam of poets such as Dante, Yeats and Swift—who speaks to the narrator and urges a unity of past, present and future as a route to salvation.\"\n\nSentence 3: \"While critics have lauded its mystical, belief‑laden language and its fourth section as Eliot’s greatest achievement, they also noted its heavy emphasis on pain and the choice between divine fire and the bombing of London, reflecting Eliot’s hope that belief and words can redeem the soul.\"\n\nCheck: That's three sentences. Let's count periods: Sentence 1 ends after \"War.\" Actually we need to ensure we have three periods. Let's rewrite clearly:\n\n1. \"Little Gidding is the fourth and final poem of T. S. Eliot’s Four Quartets, first published in October 1942 after being delayed by World War II air raids and Eliot’s declining health; its title refers to a small 17th‑century Anglican community in Huntingdonshire that was scattered during the English Civil War.\"\n\n2. \"The poem uses the combined image of fire and Pentecostal fire to stress purification, arguing that humanity’s flawed understanding of life and its turning away from God leads to a cycle of warfare, but this can be overcome by recognizing the lessons of the past, as illustrated by a ghost—an amalgam of poets such as Dante, Yeats and Swift—who speaks to the narrator and urges a unity of past, present and future aLine truncated
"tool_calls": [],
"finish_reason": "stop",
"completion_tokens": 1467
},
"long_context": {
"content": "BLUE HERON 47",
"reasoning": "We need to answer the question: \"The secret code word is 'BLUE HERON 47'. Remember it. these first specimens was disputed , however . Leopold Fitzinger named the animal Batrachosaurus in 1837 . ... [long text] ... Cope placed stegocephalians in the class What was the secret code word mentioned at the very beginning? Answer with the code word only.\"\n\nSo the user gave a long passage about paleontology, and at the very beginning they said: \"The secret code word is 'BLUE HERON 47'. Remember it.\" So the answer is simply \"BLUE HERON 47\". The user asks: \"What was the secret code word mentioned at the very beginning? Answer with the code word only.\"\n\nThus we just output \"BLUE HERON 47\". Ensure we match case and spacing exactly. The phrase: 'BLUE HERON 47'. So answer exactly that.\n\nThus final: BLUE HERON 47.",
"tool_calls": [],
"finish_reason": "stop",
"completion_tokens": 211
}
}
}
+221
View File
@@ -0,0 +1,221 @@
# LFM3-1.7B: BF16 vs FP8 vs INT4 (W4A16) — quality comparison
Generated from eval/results_{bf16,fp8,int4}.json (`eval/eval_quality.py`). All variants served by vLLM 0.32 + our plugin on the Arc Pro B65, compile + FULL_AND_PIECEWISE graphs, greedy (temperature 0, repetition_penalty 1.0), max_tokens 3000, thinking on (server default). INT4 = `./quant/LFM3-1.7B-W4A16-autoround` (AutoRound bits 4 / group 128 / sym, oneDNN `int4_gemm_w4a16`).
## Perplexity
wikitext-2-raw-v1 test, first 20 contiguous 2048-token chunks (LFM3 tokenizer), 40,940 scored tokens, identical tokens for every variant (vLLM `prompt_logprobs`).
| variant | PPL | vs BF16 |
|---|--:|--:|
| BF16 | 18.518 | — |
| FP8 W8A16 | 19.207 | +3.7% |
| INT4 W4A16 (AutoRound) | 19.886 | +7.4% |
## Greedy outputs side by side
Final answers only (reasoning is in the JSON files). Token counts include the thinking phase.
### factual
**BF16** — finish `stop`, 473 tokens
> The capital of Australia is Canberra. It was chosen as a compromise between Sydney and Melbourne, and as a purpose‑built city in the Australian Capital Territory, to provide a neutral seat of government away from the larger, more established capitals.
**FP8 W8A16** — finish `stop`, 472 tokens
> The capital of Australia is Canberra. It was chosen as a purpose‑built city located between Sydney and Melbourne to avoid being dominated by either metropolis and to serve as a neutral political center, a decision reached after a long debate and compromise in the early 20th century.
**INT4 W4A16 (AutoRound)** — finish `stop`, 321 tokens
> The capital of Australia is Canberra. It was chosen as a compromise between Sydney and Melbourne to serve as a neutral, purpose-built city that would not favor either of the existing major urban centers.
### german
**BF16** — finish `stop`, 601 tokens
> **Betreff:** Terminverschiebung – Donnerstag um 14:00 Uhr
>
> Sehr geehrte Frau Weber,
>
> ich möchte Sie informieren, dass das Meeting am Dienstag auf Donnerstag um 14 Uhr verschoben werden muss. Bitte passen Sie Ihren Kalender entsprechend an.
>
> Mit freundlichen Grüßen
> [Dein Name]
**FP8 W8A16** — finish `stop`, 613 tokens
> **Betreff:** Verschiebung des Termins am Dienstag
>
> Sehr geehrte Frau Weber,
>
> ich möchte Sie informieren, dass unser Meeting am Dienstag auf **Donnerstag um 14:00 Uhr** verschoben werden muss. Bitte passen Sie Ihren Kalender entsprechend an.
>
> Ich hoffe, das passt Ihnen gut. Lassen Sie mich wissen, falls Sie weitere Anpassungen benötigen.
>
> Mit freundlichen Grüßen
> [Dein Name]
**INT4 W4A16 (AutoRound)** — finish `stop`, 553 tokens
> **Betreff:** Verschiebung des Termins
>
> Sehr geehrte Frau Weber,
>
> ich möchte Sie informieren, dass das Meeting, das ursprünglich am Dienstag geplant war, auf **Donnerstag um 14 Uhr** verschoben werden muss.
>
> Bitte passen Sie Ihren Kalender entsprechend an.
>
> Mit freundlichen Grüßen
> [Dein Name]
### math
**BF16** — finish `stop`, 632 tokens
> The cost per pen is \( \frac{2.40}{3} = 0.80 \) EUR.
> Cost for 7 pens: \( 7 \times 0.80 = 5.60 \) EUR.
> Cost for 3 notebooks: \( 3 \times 4.50 = 13.50 \) EUR.
> Total cost: \( 5.60 + 13.50 = 19.10 \) EUR.
> Change from 50 EUR: \( 50 - 19.10 = 30.90 \) EUR.
>
> \[
> \boxed{30.90}
> \]
**FP8 W8A16** — finish `stop`, 747 tokens
> The price of pens is 3 for 2.40 EUR, so the cost per pen is \( \frac{2.40}{3} = 0.80 \) EUR.
> For 7 pens: \( 7 \times 0.80 = 5.60 \) EUR.
> Notebooks cost 4.50 EUR each, so for 3 notebooks: \( 3 \times 4.50 = 13.50 \) EUR.
> Total cost: \( 5.60 + 13.50 = 19.10 \) EUR.
> Anna pays with a 50 EUR note, so change is \( 50.00 - 19.10 = 30.90 \) EUR.
>
> \[
> \boxed{30.90}
> \]
**INT4 W4A16 (AutoRound)** — finish `stop`, 986 tokens
> The price per pen is \( \frac{2.40}{3} = 0.8 \) EUR.
> Cost for 7 pens: \( 7 \times 0.8 = 5.6 \) EUR.
> Cost for 3 notebooks: \( 3 \times 4.50 = 13.5 \) EUR.
> Total cost: \( 5.6 + 13.5 = 19.1 \) EUR.
> Change from a 50 EUR note: \( 50 - 19.1 = 30.9 \) EUR.
>
> Thus, Anna gets 30.9 EUR in change.
>
> \boxed{30.9}
### tool_weather
**BF16** — finish `tool_calls`, 106 tokens
> tool call(s): `[{"name": "get_weather", "arguments": "{\"city\": \"Hamburg\", \"unit\": \"celsius\"}"}]`
**FP8 W8A16** — finish `tool_calls`, 106 tokens
> tool call(s): `[{"name": "get_weather", "arguments": "{\"city\": \"Hamburg\", \"unit\": \"celsius\"}"}]`
**INT4 W4A16 (AutoRound)** — finish `tool_calls`, 128 tokens
> tool call(s): `[{"name": "get_weather", "arguments": "{\"city\": \"Hamburg\", \"unit\": \"celsius\"}"}]`
### tool_flights
**BF16** — finish `tool_calls`, 147 tokens
> tool call(s): `[{"name": "search_flights", "arguments": "{\"origin\": \"Hamburg\", \"destination\": \"Lisbon\", \"date\": \"2026-11-14\", \"adults\": 2}"}]`
**FP8 W8A16** — finish `tool_calls`, 147 tokens
> tool call(s): `[{"name": "search_flights", "arguments": "{\"origin\": \"Hamburg\", \"destination\": \"Lisbon\", \"date\": \"2026-11-14\", \"adults\": 2}"}]`
**INT4 W4A16 (AutoRound)** — finish `tool_calls`, 155 tokens
> tool call(s): `[{"name": "search_flights", "arguments": "{\"origin\": \"Hamburg\", \"destination\": \"Lisbon\", \"date\": \"2026-11-14\", \"adults\": 2}"}]`
### json
**BF16** — finish `stop`, 240 tokens
> {
> "name": "Maria Schmidt",
> "age": 34,
> "city": "Leipzig",
> "skills": ["Python", "SQL", "Tableau"]
> }
**FP8 W8A16** — finish `stop`, 253 tokens
> {
> "name": "Maria Schmidt",
> "age": 34,
> "city": "Leipzig",
> "skills": [
> "Python",
> "SQL",
> "Tableau"
> ]
> }
**INT4 W4A16 (AutoRound)** — finish `stop`, 302 tokens
> {
> "name": "Maria Schmidt",
> "age": 34,
> "city": "Leipzig",
> "skills": ["Python", "SQL", "Tableau"]
> }
### summary_2k
**BF16** — finish `stop`, 1467 tokens
> Little Gidding, the fourth poem of T. S. Eliot’s Four Quartets, was first published in October 1942 after a year’s delay caused by World War II air raids and Eliot’s declining health; its title refers to a 17th‑century Anglican community in Huntingdonshire that was scattered during the English Civil War. The poem employs fire—both natural and Pentecostal—to stress purification and purgation, and through a ghost that gathers Dante, Yeats, Swift and others it explores the unity of past, present and future, arguing that humanity’s salvation requires recognizing this unity and that suffering is a necessary prelude to rebirth. Critics have praised its mystical, belief‑laden language and its link to religious renewal and the Holy Spirit, while also noting its heavy emphasis on pain and the choice between redemption and destruction, and Eliot himself saw it as a work that seeks to work on the soul as well as society.
**FP8 W8A16** — finish `stop`, 974 tokens
> “Little Gidding,” the fourth and final poem of T. S. Eliot’s *Four Quartets*, was first published in October 1942 after being delayed by World War II air raids and Eliot’s declining health; its title alludes to a 17th‑century Anglican community in Huntingdonshire that was scattered during the English Civil War. The poem employs fire and Pentecostal imagery to stress purification and purgation, juxtaposing the Battle of Britain, death, and a ghost of poets (originally “Ser Brunetto”) who urges the narrator to confront past mistakes, suffer, and be redeemed by the Holy Spirit’s flame, thereby achieving unity of past, present, and future and salvation. Eliot completed five drafts, finishing the work in September 1942, and it was intended to conclude the series by linking themes of renewal, suffering, and spiritual rebirth; critics react with mixed emotions, praising its mystical, belief‑laden language while also noting its painful emphasis on disease, war, and the need for fire‑based redemption.
**INT4 W4A16 (AutoRound)** — finish `stop`, 1467 tokens
> Little Gidding is the fourth and final poem of T. S. Eliot’s *Four Quartets*, first published in October 1942 after being delayed by World War II air raids and Eliot’s declining health; its title refers to a small 17th‑century Anglican community in Huntingdonshire that was scattered during the English Civil War. The poem uses the combined image of fire and Pentecostal fire to stress purification, arguing that humanity’s flawed understanding of life and its turning away from God leads to war, but this can be overcome by recognizing the lessons of the past, as illustrated by a ghost—an amalgam of poets such as Dante, Yeats and Swift—who speaks to the narrator and urges a unity of past, present and future as a path to salvation. Critics have praised its mystical, belief‑laden language and its fourth section as Eliot’s greatest achievement, yet they also noted its heavy emphasis on pain and the choice between divine fire and the bombing of London, reflecting Eliot’s hope that belief and words can redeem the soul.
### long_context
**BF16** — finish `stop`, 124 tokens
> BLUE HERON 47
**FP8 W8A16** — finish `stop`, 124 tokens
> BLUE HERON 47
**INT4 W4A16 (AutoRound)** — finish `stop`, 211 tokens
> BLUE HERON 47
## Verdict (honest)
| prompt | BF16 | FP8 | INT4 | notes |
|---|---|---|---|---|
| factual (Canberra) | ✔ | ✔ | ✔ | all name Canberra + compromise between Sydney/Melbourne |
| German e-mail | ✔ | ✔ | ✔ | all correct, polite German; INT4 phrasing as good as BF16 |
| math (change) | 30.90 ✔ | 30.90 ✔ | 30.9 ✔ | INT4 thinks 56% longer (986 vs 632 tokens) to get there |
| tool call: weather | ✔ | ✔ | ✔ | identical call; parsed by qwen3_coder into `tool_calls` (finish `tool_calls`) |
| tool call: flights | ✔ | ✔ | ✔ | identical call incl. integer `adults: 2` |
| JSON extraction | ✔ | ✔ | ✔ | valid JSON, identical values |
| summary of ~2k-token article | ✔* | ✔* | ✔* | all say "published October 1942": the article says both "first published in September 1942" and "published in the October New English Weekly" — shared ambiguity, not an INT4 error. Content quality equivalent. |
| long context (needle before 700 tokens) | ✔ | ✔ | ✔ | sliding-window + full-attention layers still retrieve the needle |
**Where INT4 degrades:**
- **Perplexity +7.4%** over BF16 (19.89 vs 18.52), about twice FP8's +3.7%. Measurable, moderate for 4-bit
on a 1.7B model (small models usually lose more).
- **Greedy path stability:** INT4 flips tokens that BF16 was fairly confident about (top-2 margins 0.75 and
1.375 on the 64-token raw-prompt check), FP8 only flips near-ties (≤ 0.375). Outputs are differently
worded, not wrong.
- **Longer thinking:** INT4 used more tokens on 5/8 prompts (math +56%, JSON +26%, weather +21%,
long-context +70%) to reach the same answers. That eats part of the decode speed gain end-to-end.
- **Not observed:** no broken tool calls, no invalid JSON, no wrong final answers, no language drift in
German, no long-context failure on this set. 8 prompts is a small sample, so read this as "no gross
regressions", not as "lossless".