Downloads · 30 days
67
8% of all-time downloads
qbz506/nyaya-llama-3b-stage0-full
nyaya-llama-3b-stage0-full is a text generation model from qbz506. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as llama3.2.
This folder contains full merged weights for the Stage 0 Nyaya-structured model. It does not require a LoRA adapter at inference time.
Downloads · 30 days
67
8% of all-time downloads
All-time downloads
846
Public
Parameters
3.2B
8.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors6.4 GB · 76%
From the Hugging Face model README
This folder contains full merged weights for the Stage 0 Nyaya-structured model. It does not require a LoRA adapter at inference time.
model-00001-of-00002.safetensorsmodel-00002-of-00002.safetensorsmodel.safetensors.index.jsonconfig.json, tokenizer.json, tokenizer_config.json, chat_template.jinjanyaya-llama-3b-stage0-merged-q4.gguf (quantized full model for Ollama)unsloth/llama-3.2-3b-instructfrom transformers import AutoModelForCausalLM, AutoTokenizer
repo_id = "qbz506/nyaya-llama-3b-stage0"
subfolder = "full/nyaya-llama-3b-stage0-merged"
model = AutoModelForCausalLM.from_pretrained(
repo_id,
subfolder=subfolder,
torch_dtype="auto",
device_map="auto",
)
tokenizer = AutoTokenizer.from_pretrained(
repo_id,
subfolder=subfolder,
use_fast=True,
)
Download nyaya-llama-3b-stage0-merged-q4.gguf, then:
cat > Modelfile <<EOM
FROM ./nyaya-llama-3b-stage0-merged-q4.gguf
SYSTEM """
You are a Nyaya reasoning engine. Follow the exact output format provided.
"""
PARAMETER temperature 0
PARAMETER top_p 1
EOM
ollama create nyaya-llama-3b-stage0-merged-q4 -f Modelfile
ollama run nyaya-llama-3b-stage0-merged-q4 "<your prompt>"
Use the exact Nyaya section headers for best adherence:
## Samshaya (Doubt Analysis)
## Pramana (Sources of Knowledge)
## Pancha Avayava (5-Member Syllogism)
## Tarka (Counterfactual Reasoning)
## Hetvabhasa (Fallacy Check)
## Nirnaya (Ascertainment)
This model is tuned for structured 6-phase Nyaya reasoning on logic-style problems. It is research-grade and optimized for format adherence over open-ended creativity.
If you use this model/dataset, please cite:
@misc{sathish2026pramanafinetuninglargelanguage,
title={Pramana: Fine-Tuning Large Language Models for Epistemic Reasoning through Navya-Nyaya},
author={Sharath Sathish},
year={2026},
eprint={2604.04937},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2604.04937},
}