Downloads · 30 days
39
6% of all-time downloads
ramankrishna10/npc-agentic-7b-v3
npc-agentic-7b-v3 is a text generation model from ramankrishna10. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
[](https://doi.org/10.5281/zenodo.19954103)
Downloads · 30 days
39
6% of all-time downloads
All-time downloads
629
Public
Parameters
7.6B
15.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors15.2 GB · 100%
From the Hugging Face model README
A 7B long-form reasoning and agent-trace specialist from the Bottensor NPC Model Family.
NPC Agentic v1 is fine-tuned from Qwen2.5-7B-Instruct on a mix of distilled
reasoning traces (GLM-5.1) and agent tool-use traces (Hermes). It's built for
structured multi-step reasoning with explicit <think> blocks, agentic /
tool-calling workflows, and identity-bound conversations as the NPC Agentic
persona.
<think> blocks then concludes with an answer; strong at multi-step decomposition (system design, root-cause analysis, algorithmic reasoning)<tool_call> / <tool_response> patterns<think> blocks but often doesn't terminate arithmetic cleanly under greedy/low-temp decoding, and direct-arithmetic quality regressed.Qwen/Qwen2.5-7B-Instruct or Qwen/Qwen2.5-Math-7B-Instruct instead. A v2 with stronger reasoning data (OpenThoughts-114k at 16K) is planned.from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
tok = AutoTokenizer.from_pretrained("ramankrishna10/npc-agentic-7b")
model = AutoModelForCausalLM.from_pretrained(
"ramankrishna10/npc-agentic-7b",
torch_dtype=torch.bfloat16,
device_map="auto",
)
messages = [
{"role": "user", "content": "Design an event-sourced microservice with exactly-once command handling."},
]
prompt = tok.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tok(prompt, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=1024, temperature=0.7, top_p=0.9)
print(tok.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
If you use NPC Agentic 7B in your work, please cite:
@misc{bachu2026npcagentic7b,
title = {NPC Agentic 7B: A Single-GPU QLoRA Recipe for a Laptop-Scale Conversational Model},
author = {Bachu, Rama Krishna},
year = {2026},
month = may,
publisher = {Zenodo},
version = {v1},
doi = {10.5281/zenodo.19954103},
url = {https://doi.org/10.5281/zenodo.19954103},
note = {Preprint}
}
Paper: https://doi.org/10.5281/zenodo.19954103
Built by Bottensor.