Skip to page content
SAVRN
Search Plan a project

Open-weight model · Text generation

peta1

by Manoj Panda manojpanda/peta1

peta1 is an open-weight model for text generation from Manoj Panda, released under Apache License 2.0. It has 7.9B parameters and a 131,072-token context. At 16-bit it needs about 19.1 GB of GPU memory, which fits on 1x MI300X from $1.85 an hour, at the lowest prices in the SAVRN Index.

Peta1 is an autonomous software engineering agent checkpoint based on google/gemma-4-E4B-it (4.3B active parameters), post-trained using a targeted three-stage curriculum: 1.

Parameters7.9B
Context131,072
Weights15.9 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads—

Runs On

What it takes to serve peta1 (7.9B parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 15.9 GB 19.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 7.9 GB 9.5 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 4.0 GB 4.8 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Oct 18, 2026.

peta1 on every accelerator the SAVRN Index prices, at every precision

Model Card

By Manoj Panda, published under apache-2.0, revision 23dc782ab9f6.

Peta1 is an autonomous software engineering agent checkpoint based on google/gemma-4-E4B-it (4.3B active parameters), post-trained using a targeted three-stage curriculum: 1. Tree-of-Reasoning (ToR) SFT: Supervised deliberation in Gemma 4's native latent thinking tokens ( thought) enforcing hypothesis formulation, environment simulation, and branch pruning. 2. Capability Frontier Discovery: Screening of candidate tasks (G = 4, T = 0.7) to isolate the 18% informative frontier band (0 < p < 1.0), preventing policy gradient collapse from trivial (36%) and impossible (46%) tasks. 3. Verifiable Outcome GRPO: Policy gradient optimization with verifiable rewards (Rtarget + Rformat + Rtor - lambda…

Read Manoj Panda's full model card

Peta1: Gemma 4 E4B Tree-of-Reasoning & Verifiable Outcome GRPO

Peta1 is an autonomous software engineering agent checkpoint based on google/gemma-4-E4B-it (4.3B active parameters), post-trained using a targeted three-stage curriculum:

  1. Tree-of-Reasoning (ToR) SFT: Supervised deliberation in Gemma 4's native latent thinking tokens (<|channel|>thought) enforcing hypothesis formulation, environment simulation, and branch pruning.
  2. Capability Frontier Discovery: Screening of candidate tasks (G = 4, T = 0.7) to isolate the 18% informative frontier band (0 < p < 1.0), preventing policy gradient collapse from trivial (36%) and impossible (46%) tasks.
  3. Verifiable Outcome GRPO: Policy gradient optimization with verifiable rewards (R_target + R_format + R_tor - lambda * length) and Group Relative Advantage estimation driven entirely on Dual Tesla T4 GPUs.

Benchmark Results

1. Full Official SWE-bench Lite (n = 300)

Evaluated on the full official test split of princeton-nlp/SWE-bench_Lite:

Checkpoint Solved / Total Resolution Rate 95% Wilson CI
Base Gemma 4 E4B 25 / 300 8.33% [5.71%, 12.01%]
Peta1 (Stage 3 ToR GRPO) 101 / 300 33.67% [28.56%, 39.19%]
Absolute Gain (Delta) +76 tasks +25.33pp p = 5.23e-22

Paired Contingency Table (n = 300): - Mutual Failure: 198 - Mutual Success: 24 - Solved ONLY by Peta1: 77 tasks - Regressions (Solved ONLY by Base): 1 task - Two-tailed exact McNemar test: chi^2 = 72.12, p = 5.23 × 10^-22.

2. The Navigation vs. Comprehension Dissociation

In a controlled 2-turn agentic evaluation across 20 repository tasks: - Turn 1 (Autonomous Tool Navigation): Base Gemma 4 achieves 0.0% (0/20), while Peta1 achieves 25.0% (5/20) (+25.0pp gain). - Turn 2 (Grounded Code Comprehension): When grounded file context is provided, both Base and Peta1 achieve 100.0% (20/20) resolution. - This proves compact models possess strong latent code comprehension; post-training specifically cures exploration failure and tool navigation.


Quickstart

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "manojpanda/peta1"

tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    torch_dtype=torch.float16,
    device_map="auto"
)

messages = [
    {"role": "user", "content": "Locate the bug in flask/wrappers.py where JSON decoding does not respect request encoding."}
]

prompt = tokenizer.apply_chat_template(messages, add_generation_prompt=True, tokenize=False)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)

with torch.no_grad():
    outputs = model.generate(**inputs, max_new_tokens=512, do_sample=False)

print(tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=False))

Hardware & Training Details

  • Hardware: 2x NVIDIA Tesla T4 (15 GiB VRAM each, Kaggle Free Tier)
  • Precision: Full FP16 (zero quantization loss)
  • Parameters: 4.3B active parameters
  • License: Apache 2.0

Configuration

Architecture
Gemma4ForConditionalGeneration
Context length (tokens)
131,072
Layers
42
Hidden size
2,560
Feed-forward size
10,240
Attention heads
8
Key/value heads
2
Head dimension
256
Vocabulary size
262,144
Sliding window (tokens)
512
Model type
gemma4

Identity and Version

Repository
manojpanda/peta1
Publisher
Manoj Panda
Task
Text generation
Modality
Text
Library
transformers
Parameters
7.9B parameters
Languages
en
Revision
23dc782ab9f6056a2754d64a13bf21a344778d56
First published
2026-10-14
Last updated
2026-10-14

Files and Weights

12 files, 15.9 GB in total. The weights are 4 files totalling 15.9 GB in safetensors.

Weights4 files · 15.9 GB
Configuration3 files · 218.1 KB
Tokenizer2 files · 32.2 MB
Documentation1 file · 3.4 KB
Other1 file · 18.6 KB
Repository1 file · 1.6 KB
Every file
FileTypeSizeSHA-256
model-00001-of-00004.safetensorsWeights5.6 GB 0d5b997a2c03
model-00002-of-00004.safetensorsWeights4.0 GB 3db8c5d57c7c
model-00003-of-00004.safetensorsWeights4.0 GB dac6c000acc1
model-00004-of-00004.safetensorsWeights2.3 GB 9cad62dcb827
config.jsonConfiguration5.5 KB —
generation_config.jsonConfiguration204 B —
model.safetensors.index.jsonConfiguration212.4 KB —
README.mdDocumentation3.4 KB —
chat_template.jinjaOther18.6 KB —
.gitattributesRepository1.6 KB —
tokenizer.jsonTokenizer32.2 MB cc8d3a0ce364
tokenizer_config.jsonTokenizer3.7 KB —

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
15.9 GB
Download from Manoj Panda

Released by Manoj Panda through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published15.9 GB
16-bit15.9 GB
8-bit7.9 GB
4-bit4.0 GB

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

Questions About peta1

How much GPU memory does peta1 need?

About 19.1 GB at 16-bit and 4.8 GB at 4-bit: the weights (7.9B parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run peta1 on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use peta1 commercially?

Yes. peta1 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.

What is peta1's context length?

131,072 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Text generation

Baihua-Gemma4-E4B

Roland Wayne

Conversational Writing Model|口语化写作模型 Baihua-Gemma4-E4B 白话 Baihua 是Roland Wayne基于 Google Gemma 4 E4B-it 经过后训练的中文口语化写作模型。把已有内容,或整理好的事实、观点和提纲,写成像人类口述的正文,减少模板化、机械化的表达。 Roland Wayne 是内容创作者,也是白话 Baihua 的训练作者。在这个项目中,他负责确定表达目标、筛选训练材料,并通过实际测试和人工修改评估模型输出。 X:https://x.com/rwayne Github:https://github.com/ozrwayne - 微调方法:LoRA,rank 16,alpha 32;在前一轮风格 adapter 基础上继续进行配对微调。 - 完整权重:BF16 Safetensors,LoRA 已合并,加载完整权重时不需要再叠加同一 adapter。权重文件合计约 15.88 GB;含配套文件的完整包约 15.91 GB(十进制)。 - Ollama 性能测试使用约 14.94 GB 的 BF16 文本 GGUF 运行副本,归一化等少量张量为 FP32;它不包含纯文字推理不需要的音频和图像编码模块。原完整 Safetensors 模型保持独立。 - E4B 是基础模型的官方规格名称,不表示总参数只有 4B。官方标注约 4.5B 有效参数、含嵌入约 8B;当前 Ollama 文本副本实测为 7,463,013,674 个参数,约 7.5B。 - 配置总上下文:131,072…

Open weights apache-2.0 7.9B parameters 131,072 tokens transformers

Model · Text generation

shamrock-0-e4b

Oxalis

Gemma 4 E4B fine-tuned for the Oxalis desktop app's language-learning surfaces (camera translate, text translate, tutor, talk, dictionary) across Japanese, Korean, and Simplified Chinese. The E4B sibling As a fair warning... this fine-tune will perform poorly outside of the Oxalis app. Feel free to run it for funzies though:) shamrock-0-e4b is licensed under CC BY-NC 4.0 (see LICENSE). You can use, share and adapt it for non-commercial purposes, including personal projects and research, as long as you give credit. Commercial use, such as selling the weights, serving them in a paid product or API, or bundling them into a commercial app, is not permitted. For commercial licensing, reach out…

Open weights cc-by-nc-4.0 7.9B parameters 131,072 tokens transformers

Model · Text generation

LLaDA-8B-Instruct-PIG

IFML

LLaDA-8B-Instruct with Parallel Inconsistency Guidance (PIG), which lets the model commit more tokens per forward pass at the same accuracy. This repository is the whole model: the backbone, a 2.2M-parameter PIG adapter and its calibration tables. Paper: PIG: Parallel Inconsistency Guidance for Accelerating Diffusion Language Models, Fruytier, Xue, Shakkottai, Sanghavi (UT Austin), 2026; arXiv:2610.17375. Code: https://github.com/Quentin-Fruytier/PIG-DLM-release Blog: Which tokens can a diffusion language model commit together? Needs transformers 5.x and a GPU with 24 GB. Implementation details, every argument, and how the adapter and tables were fitted: AGENTS.md. MIT. The backbone is…

Open weights mit 8B parameters transformers

Full-parameter fine-tuning for TLINK temporal relation classification. mistralai/Ministral-8B-Instruct-2410 AnirbanSaha/tlink-classification-sentence-only The evaluation/ directory contains predictions, the classification report, confusion matrix, and a machine-readable evaluation summary.

Open weights 8B parameters 32,768 tokens transformers

Model · Text generation

Llama-3.1-8B-Instruct

Meta Llama

The Meta Llama 3.1 collection of multilingual large language models (LLMs) is a collection of pretrained and instruction tuned generative models in 8B, 70B and 405B sizes (text in/text out). The Llama 3.1 instruction tuned text only models (8B, 70B, 405B) are optimized for multilingual dialogue use cases and outperform many of the available open source and closed chat models on common industry benchmarks. Model Architecture: Llama 3.1 is an auto-regressive language model that uses an optimized transformer architecture. The tuned versions use supervised fine-tuning (SFT) and reinforcement learning with human feedback (RLHF) to align with human preferences for helpfulness and safety.…

Access requested at publisher llama3.1 8B parameters transformers