Abliterated Edge Device LLM's
Collection
0.5B - 1B - 3B
•
10 items
•
Updated
•
1
Stablelm-3b-abliterated is a multilingual large language model (LLM) designed for text-based generative AI applications. It is a 3-billion parameter model optimized for dialogue-based interactions, including summarization, retrieval-augmented generation, and creative writing. This model is based on the
StableLmForCausalLM
architecture and is instruction-tuned to handle a variety of conversational and agentic tasks.
Ensure you have the latest version of transformers
installed:
pip install --upgrade transformers
You can load and use the model via the transformers
library:
import torch
from transformers import pipeline
model_id = "stabilityai/Stablelm-3b-abliterated"
pipe = pipeline(
"text-generation",
model=model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
)
messages = [
{"role": "system", "content": "You are a scientific assistant who provides precise, well-researched answers."},
{"role": "user", "content": "Explain quantum entanglement in simple terms."},
]
outputs = pipe(
messages,
max_new_tokens=256,
)
print(outputs[0]["generated_text"][-1])