Views
No views yet
google/gemma-4-31B-it.[thing] [action] [reason]. [next step].JBrussee/gemma-4-31B-caveman-lora.1from transformers import AutoModelForCausalLM, AutoTokenizer
2import torch
3
4tok = AutoTokenizer.from_pretrained("JBrussee/gemma-4-31B-caveman")
5model = AutoModelForCausalLM.from_pretrained(
6 "JBrussee/gemma-4-31B-caveman",
7 torch_dtype=torch.bfloat16,
8 device_map="auto",
9)
10
11msgs = [{"role": "user", "content": "Explain database connection pooling."}]
12ids = tok.apply_chat_template(msgs, return_tensors="pt", add_generation_prompt=True).to(model.device)
13out = model.generate(ids, max_new_tokens=300, do_sample=False)
14print(tok.decode(out[0, ids.shape[1]:], skip_special_tokens=True))Parent re-render → child re-render by default. Props "change" each render
if inline obj/array/fn → new ref → child sees new props.
Fix:
- Wrap child: React.memo(Child)
- Stabilize props: useMemo for obj/array, useCallback for fn
- Lift state so parent re-render not needed
Check: if child memo'd but still re-renders, inline prop is culprit.q,k,v,o,gate,up,downcompletion_only_loss=True| Source | License | Used |
|---|---|---|
| OpenAssistant/oasst2 | Apache 2.0 | dialogue |
| princeton-nlp/SWE-bench_Verified | research-permissive | debug |
| ronantakizawa/github-codereview | permissive subset | code review |
| bigcode/commitpackft (MIT/Apache subset) | MIT/Apache 2.0 | refactor |
| theblackcat102/evol-codealpaca-v1 | Apache 2.0 | short Q&A |
| HuggingFaceH4/ultrachat_200k | MIT | short Q&A |
claude -p) and Codex CLI (codex exec with GPT-5.5), routed through the SKILL.md ruleset.| Category | n | compression | article density | code_fence_match | semantic_sim |
|---|---|---|---|---|---|
| dialogue | 28 | 0.59 | 0.020 | 1.000 | 0.91 |
| debug | 34 | 0.92 | 0.009 | 0.995 | 0.98 |
| refactor | 27 | 0.92 | 0.005 | 0.963 | 0.98 |
| qa | 104 | 0.65 | 0.007 | 1.000 | 0.92 |
train_loss 0.024 · eval_loss 0.72 · eval_mean_token_accuracy 0.815.@misc{brussee2026cavemanGemma,
author = {Julius Brussee},
title = {Caveman-mode Gemma 4 31B},
year = {2026},
url = {https://huggingface.co/JBrussee/gemma-4-31B-caveman}
}