Skip to page content
SAVRN
Search Plan a project

Open-weight model · Text generation

FORM-8B

by Bakar Chargeishvili rakab/FORM-8B

FORM-8B is a model for text generation from Bakar Chargeishvili, released under Apache License 2.0 (access requested at publisher). Its published files total 558.3 MB.

FORM-8B is a QLoRA fine-tune of Qwen3-8B (unsloth/qwen3-8b-unsloth-bnb-4bit) specialised for zero-shot FORM code generation.

Parameters—
Context—
Weights524.0 MB
Licenseapache-2.0
AccessAccess requested at publisher
Monthly Downloads—

Model Card

By Bakar Chargeishvili, published under apache-2.0, revision 41eac888956f.

FORM-8B is a QLoRA fine-tune of Qwen3-8B (unsloth/qwen3-8b-unsloth-bnb-4bit) specialised for zero-shot FORM code generation. FORM is the symbolic manipulation language used for large perturbative QFT calculations (Grassmann The model is trained exclusively on execution-verified data: every training example was validated by running the generated FORM program through the FORM binary (deterministic-output match) plus an LLM consistency audit. Training config: QLoRA r=16, alpha=32, lr=2e-4, 5 epochs, 4-bit NF4 quantised base. is available from the author upon request. - Generating complete FORM programs from plain-English instructions - Assisting physicists with symbolic-algebra scripting…

Read Bakar Chargeishvili's full model card

FORM-8B: A Fine-Tuned Specialist for FORM Symbolic Algebra Code Generation

Model description

FORM-8B is a QLoRA fine-tune of Qwen3-8B (unsloth/qwen3-8b-unsloth-bnb-4bit) specialised for zero-shot FORM code generation. FORM is the symbolic manipulation language used for large perturbative QFT calculations (Grassmann variables: multi-loop Feynman diagram algebra).

The model is trained exclusively on execution-verified data: every training example was validated by running the generated FORM program through the FORM binary (deterministic-output match) plus an LLM consistency audit.

Available adapter variants

Adapter Training data Size
adapters/form-qwen3-8b-v3c full mix (2,465 deterministic + 2,168 open/Q&A/tutorial) — recommended 178 MB
adapters/form-qwen3-8b-v3cn full mix, no docs-in-context rows 178 MB
adapters/form-qwen3-8b-v3b deterministic-only (2,465 examples) 178 MB

Training config: QLoRA r=16, alpha=32, lr=2e-4, 5 epochs, 4-bit NF4 quantised base.

Training data: the training corpus is not included in this release; it is available from the author upon request.

Intended use

  • Generating complete FORM programs from plain-English instructions
  • Assisting physicists with symbolic-algebra scripting (gamma traces, tensor contractions, pattern matching, preprocessor metaprogramming)
  • Agentic workflows: pair with a FORM execution sandbox and route generation/verification to the model

Out of scope: general chat, non-FORM languages, guaranteed mathematical correctness (generation is syntax-verified at inference time by the caller).

Performance (see paper, Table 3)

All numbers from the revalidated (v2) benchmarks; frontier models evaluated with docs, FORM-8B zero-shot.

Benchmark FORM-8B (v3c) GLM-5.3 +docs GLM-5.2 756B +docs DeepSeek-V4 Flash 304B +docs
664 deterministic tasks (output match) 97.7% 67.8% 75.5% 62.3%
100 open-ended tasks, v2 (syntax pass) 83.0% 65.0% 55.0% 48.0%
89 output-determined of those (strict output match, lower bound) 18.0% 5.6% 5.6% 3.4%
44 tutorial tasks, v2 (syntax pass) 43.2% 54.5% 31.8% 25.0%
44 tutorial tasks, v2 (strict output match, 41 adjudicable) 14.6% 19.5% 22.0% 14.6%
32 open-ended tasks (rubric judge) 56.2% 65.6% 31.2% 53.1%
22 output-determined open-ended tasks (strict output match) 50.0% 59.1% 50.0% 54.5%
32 open-ended tasks, no docs (rubric judge) 56.2% 46.9% 40.6% 37.5%

Under the strict output-match metric, apparent tutorial differences between models are statistically insignificant (overlapping 95% CIs); on the 32-task rubric benchmark the differences between FORM-8B, GLM-5.3 and DeepSeek-V4 Flash are likewise within statistical noise, and the strict re-adjudication of its 22 output-determined tasks confirms GLM-5.3's lead there is genuine (13/22 solved vs. our 11/22, overlapping CIs). The Instruct-100 strict rate is a conservative lower bound: many of its instructions underspecify the target computation, so a correct-in-spirit program can fail the check (the same grading is applied to all models).

Usage

from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer

base = AutoModelForCausalLM.from_pretrained(
    "unsloth/qwen3-8b-unsloth-bnb-4bit", load_in_4bit=True, device_map="auto")
model = PeftModel.from_pretrained(base, "bakar-chargeishvili/FORM-8B",
                                  subfolder="adapters/form-qwen3-8b-v3c")
tok = AutoTokenizer.from_pretrained("unsloth/qwen3-8b-unsloth-bnb-4bit")

msgs = [{"role": "user", "content":
         "Compute the trace of a product of gamma matrices contracted with "
         "two external vectors, and simplify using the metric tensor in 4D."}]
text = tok.apply_chat_template(msgs, tokenize=False, add_generation_prompt=True,
                               enable_thinking=False)

Note: thinking mode is disabled — the model directly emits FORM code.

Limitations

  • Trained on synthetic + tutorial-derived data; may not cover exotic FORM features (parallel/local expressions, #procedure edge cases)
  • Output is syntactically valid FORM but semantic correctness must be verified by executing the program (this is by design — see paper §3)
  • General reasoning/coding capability preserved to within ~2.6 pp of base (MMLU, GSM8K, HumanEval) but not unchanged

License

Adapters inherit Apache-2.0 from the Qwen3-8B base model. Benchmark data: CC-BY-4.0.

Citation

See the accompanying paper: "Verification-Driven Fine-Tuning of Small Language Models for Zero-Shot FORM Symbolic Algebra Code Generation."

Identity and Version

Repository
rakab/FORM-8B
Publisher
Bakar Chargeishvili
Task
Text generation
Modality
Text
Library
peft
Parameters
Not stated by the source
Languages
Not stated by the source
Revision
41eac888956f0d2bf304e0da548cfc9db2d55e28
First published
2026-09-20
Last updated
2026-09-20

Files and Weights

20 files, 558.3 MB in total. The weights are 3 files totalling 524.0 MB in safetensors.

Weights3 files · 524.0 MB
Configuration3 files · 3.9 KB
Tokenizer6 files · 34.3 MB
Documentation4 files · 20.7 KB
Other3 files · 14.0 KB
Repository1 file · 1.8 KB
Every file
FileTypeSizeSHA-256
adapters/form-qwen3-8b-v3b/adapter_model.safetensorsWeights174.7 MB —
adapters/form-qwen3-8b-v3c/adapter_model.safetensorsWeights174.7 MB —
adapters/form-qwen3-8b-v3cn/adapter_model.safetensorsWeights174.7 MB —
adapters/form-qwen3-8b-v3b/adapter_config.jsonConfiguration1.3 KB —
adapters/form-qwen3-8b-v3c/adapter_config.jsonConfiguration1.3 KB —
adapters/form-qwen3-8b-v3cn/adapter_config.jsonConfiguration1.3 KB —
README.mdDocumentation5.0 KB —
adapters/form-qwen3-8b-v3b/README.mdDocumentation5.2 KB —
adapters/form-qwen3-8b-v3c/README.mdDocumentation5.2 KB —
adapters/form-qwen3-8b-v3cn/README.mdDocumentation5.2 KB —
adapters/form-qwen3-8b-v3b/chat_template.jinjaOther4.7 KB —
adapters/form-qwen3-8b-v3c/chat_template.jinjaOther4.7 KB —
adapters/form-qwen3-8b-v3cn/chat_template.jinjaOther4.7 KB —
.gitattributesRepository1.8 KB —
adapters/form-qwen3-8b-v3b/tokenizer.jsonTokenizer11.4 MB —
adapters/form-qwen3-8b-v3b/tokenizer_config.jsonTokenizer5.1 KB —
adapters/form-qwen3-8b-v3c/tokenizer.jsonTokenizer11.4 MB —
adapters/form-qwen3-8b-v3c/tokenizer_config.jsonTokenizer5.1 KB —
adapters/form-qwen3-8b-v3cn/tokenizer.jsonTokenizer11.4 MB —
adapters/form-qwen3-8b-v3cn/tokenizer_config.jsonTokenizer5.1 KB —

License and Download

License
apache-2.0
Access
Access requested at publisher
Download size
524.0 MB
Request access from Bakar Chargeishvili

Bakar Chargeishvili grants access through its official repository on Hugging Face. Read the license.

Memory Requirements

PrecisionWeights in memory
As published524.0 MB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About FORM-8B

Can I use FORM-8B commercially?

Yes. FORM-8B is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

Similar Models

Model · Text generation

opt-125m

AI at Meta

OPT was first introduced in Open Pre-trained Transformer Language Models and first released in metaseq's repository on May 3rd 2022 by Meta AI. Disclaimer: The team releasing OPT wrote an official model card, which is available in Appendix D of the paper. Content from this model card has been written by the Hugging Face team. To quote the first two paragraphs of the official paper OPT was predominantly pretrained with English text, but a small amount of non-English data is still present within the training corpus via CommonCrawl. The model was pretrained using a causal language modeling (CLM) objective. OPT belongs to the same family of decoder-only models like GPT-3. As such, it was…

Open weights other 2,048 tokens transformers

Model · Text generation

Ornith-1.5-9B-GGUF

Ornith

Chirp Chirp! We are introducing Ornith-1.5, a major step toward building foundation models through end-to-end self-improvement. Ornith-1.5 extends Ornith-1.0 (which was developed on top of Qwen3.5 and Gemma4 with additional continued pretraining, mid-training, and post-training) by expanding the self-improvement loop from scaffold and rollout optimization to jointly optimizing task generation, scaffold construction, and solution rollouts. Rather than relying on a fixed set of human-curated tasks and manually designed harnesses, Ornith-1.5 continuously generates new training tasks, discovers effective strategies for solving them, and improves the policy through reinforcement learning. For…

Open weights mit transformers

Model · Text generation

Ternary-Bonsai-2-27B-gguf

Prism ML

Full 27B-class reasoning in ternary transformer weights, for llama.cpp (CUDA, Metal, CPU) - \~5.9 GB language model (down from \~54 GB FP16) — full 27B-class reasoning on a standard laptop or a single GPU - 98.2% of FP16 intelligence retained: 84.78 average across 14 thinking-mode benchmarks — far above the conventional IQ2XXS build (72.59) at about 82% of its footprint, and within 0.4 points of UD-Q4KXL at three times the footprint - Retains thinking, reasoning, and agentic behavior deep in the sub-4-bit regime, where conventional low-bit representations collapse: math within half a point of full precision (96.57), coding level with the baseline (89.42), agentic tool calling at 74.92…

Open weights apache-2.0 llama.cpp

Model · Text generation

Ornith-1.5-35B-A3B-GGUF

Ornith

Chirp Chirp! We are introducing Ornith-1.5, a major step toward building foundation models through end-to-end self-improvement. Ornith-1.5 extends Ornith-1.0 (which was developed on top of Qwen3.5 and Gemma4 with additional continued pretraining, mid-training, and post-training) by expanding the self-improvement loop from scaffold and rollout optimization to jointly optimizing task generation, scaffold construction, and solution rollouts. Rather than relying on a fixed set of human-curated tasks and manually designed harnesses, Ornith-1.5 continuously generates new training tasks, discovers effective strategies for solving them, and improves the policy through reinforcement learning. For…

Open weights mit transformers

Uncensored Qwen3.8-27B, published as GGUF quantizations with the multi token prediction (MTP) head retained and verified. Refusal behaviour has been substantially reduced, not eliminated. See Measured behaviour for the numbers. Capabilities, training data, and architecture are otherwise unchanged. - Refusal directions removed with Heretic, which co minimizes refusal count against KL divergence from the base model. No handwritten refusal removal code, no finetuning, no additional training data. - Abliteration runs at bf16 (no 4 bit quantization). the resulting LoRA is merged into the bf16 base, so the published weights are not a quantized round trip. - mtp. tensors are copied verbatim from…

Open weights apache-2.0 llama.cpp

Model · Text generation

Ornith-1.0-9B-GGUF

Ornith

Aloha! Today, we are releasing Ornith-1.0, a self-improving family of open-source models for agentic coding. This model card documents Ornith-1.0-9B, the most lightweight member of the Ornith family, designed for efficient single-GPU deployment. Ornith-1.0-9B is a dense ~9B model (≈19 GB in bf16), so it serves comfortably on a single 80GB GPU. The recipes below stand up an OpenAI-compatible server; add --tensor-parallel-size / --tp if you want to shard across more GPUs. For a quick local test (or to script offline generation), load the model directly with Transformers. Make sure you have a recent release installed — see the Transformers installation guide; Ornith-1.0-9B requires…

Open weights mit transformers