Downloads · 30 days
12
9% of all-time downloads
Raziel1234/GAD-2-177M-SFT-Preview
GAD-2-177M-SFT-Preview is a text generation model from Raziel1234. 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.
GAD-2-177M-SFT-Refined is a specialized, small-scale language model developed by TopAI-IL.
Downloads · 30 days
12
9% of all-time downloads
All-time downloads
131
Public
Parameters
177M
355 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors355 MB · 99%
From the Hugging Face model README
GAD-2-177M-SFT-Refined is a specialized, small-scale language model developed by TopAI-IL.
This model is a significant evolution of the original GAD-2-Base. It has undergone Supervised Fine-Tuning (SFT) using a high-quality, curated dataset focused on educational content, STEM, and logical reasoning (derived from FineWeb-Edu).
During training, the model exhibited a fascinating phenomenon: instead of becoming a rigid chatbot, it evolved into a Highly Refined Base Model. It demonstrates superior linguistic coherence and factual density compared to standard models of its size (177M parameters).
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_name = "Raziel1234/GAD-2-177M-SFT-Preview"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype=torch.bfloat16,
device_map="auto",
trust_remote_code=True
)
prompt = "User: Explain the significance of the Turing Test.\nAssistant:"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
with torch.no_grad():
outputs = model.generate(
**inputs,
max_new_tokens=128,
repetition_penalty=1.2,
do_sample=True,
temperature=0.7
)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))