Downloads · 30 days
26
4% of all-time downloads
singtan/solvrays-llm-pdf
solvrays-llm-pdf is a text generation model from singtan. 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.
This is a specialized, fine-tuned version of Gemma 2B optimized for Ground-Truth Technical Retrieval. Unlike standard LLMs, this model has been conditioned through specific "Senior AI Engineering" grounding templates…
Downloads · 30 days
26
4% of all-time downloads
All-time downloads
689
Public
Parameters
2.5B
5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors5 GB · 99%
From the Hugging Face model README
This is a specialized, fine-tuned version of Gemma 2B optimized for Ground-Truth Technical Retrieval. Unlike standard LLMs, this model has been conditioned through specific "Senior AI Engineering" grounding templates to minimize hallucinations and prioritize information extracted directly from technical documentation.
To get the most accurate, non-hallucinatory responses, use the following grounded prompt:
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_id = "singtan/solvrays-llm-pdf"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto", torch_dtype=torch.float16)
# MUST use the Ground-Truth prompt template
prompt = "Based strictly on the provided architectural documentation, provide a precise summary of technical insights."
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
with torch.no_grad():
outputs = model.generate(
**inputs,
max_new_tokens=256,
do_sample=False, # Force deterministic facts
repetition_penalty=1.5
)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
For production-grade accuracy, always verify specific numeric values with the original PDF. This model is intended for summarizing and retrieving architectural concepts documented in its training corpus.
Scientifically Fine-tuned by Bibek Lama Singtan