Downloads · 30 days
19
2% of all-time downloads
solvrays/scribegene-llm-v1.1
scribegene-llm-v1.1 is a text generation model from solvrays. 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 model is a high-precision fine-tuning of google/gemma-2b-it, specifically architected for Zero-Hallucination Technical Retrieval. It has been trained on a proprietary dataset of technical and architectural docume…
Downloads · 30 days
19
2% of all-time downloads
All-time downloads
1.1K
Public
Parameters
2.5B
5.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors5 GB · 99%
From the Hugging Face model README
This model is a high-precision fine-tuning of google/gemma-2b-it, specifically architected for Zero-Hallucination Technical Retrieval. It has been trained on a proprietary dataset of technical and architectural documentation to ensure deep contextual grounding.
do_sample=False for architectural accuracy.The model requires specific prompt construction to trigger its 'Knowledge Retrieval' mode:
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_id = 'solvrays/scribegene-llm-v1.1'
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
device_map='auto',
torch_dtype=torch.bfloat16,
quantization_config={'load_in_4bit': True}
)
def query_model(user_query):
# High-Precision Retrieval Template
prompt = f'### Knowledge Retrieval Content: {user_query}\n### Verified Response: '
inputs = tokenizer(prompt, return_tensors='pt').to(model.device)
outputs = model.generate(**inputs, max_new_tokens=512, do_sample=False)
return tokenizer.decode(outputs[0], skip_special_tokens=True).split('### Verified Response:')[-1].strip()
| Feature | Configuration |
|---|---|
| Base Model | google/gemma-2b-it |
| Precision | BrainFloat16 (BF16) |
| Fine-tuning | QLoRA (4-bit Normalized Float) |
| LoRA Rank (r) | 16 |
| LoRA Alpha | 32 |
| Target Modules | q, k, v, o, gate, up, down |
| Training Epochs | 25 |
Developed and Maintained by: Solvrays | Enterprise AI Solutions: [email protected]