CoolFace
Modelpublic

Abiray/Sutra-Instruct-350M-GGUF

sourceHugging Facemitupdated 6mo agoView on Hugging Face
2likes44downloads
Model Card

Sutra-Instruct-350M-GGUF

This repository contains the official GGUF quantizations of **Sutra-Instruct-350M**, a 350-million parameter model trained entirely from scratch by Abhiray.

The Sutra (सूत्र) series is designed to be a high-speed, rule-based instruction model. These GGUF versions are optimized for ultra-low latency inference on consumer-grade hardware, including CPUs and mobile devices.


📁 Available Quantizations

File NameQuant MethodSizeDescription
sutra-fp16.ggufNone (F16)~779 MBOriginal weights. RECOMMENDED MOST Best for maximum quality and accuracy.
sutra-Q8_0.ggufQ8_0~417 MBStandard 8-bit. Near-lossless; RECOMMENDED for most users.
sutra-Q4_K_M.ggufQ4KM~258 MB4-bit Medium. Its for just testing not recommended much.

🚀 Quick Start (Inference)

1. Using llama.cpp

Run the model directly from your terminal using llama-cli:

bash
./llama-cli -m sutra-Q8_0.gguf -p "Instruction: What is the law of gravity?\n\nResponse:" -n 400 --temp 0.55 --repeat-penalty 1.2

2. Using Ollama (Plug-and-Play)

To use this with Ollama, create a file named Modelfile with the following content:

FROM ./sutra-Q8_0.gguf TEMPLATE """Instruction: {{ .Prompt }}

Response: """ PARAMETER stop "Instruction:" PARAMETER stop "\nInstruction:" PARAMETER temperature 0.55 PARAMETER repeatpenalty 1.2 PARAMETER topk 50 PARAMETER num_predict 512

Then, initialize and run the model:

ollama create sutra -f Modelfile ollama run sutra

⚙️ Optimized Settings To prevent the model from looping or hallucinating, we strongly recommend these inference parameters:

Temperature: 0.55

Repeat Penalty: 1.2

Top-K: 50

Max Tokens: 512