Instructions to use dgtalbug/stephen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dgtalbug/stephen with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="dgtalbug/stephen")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("dgtalbug/stephen", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use dgtalbug/stephen with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "dgtalbug/stephen" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dgtalbug/stephen", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/dgtalbug/stephen
- SGLang
How to use dgtalbug/stephen with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "dgtalbug/stephen" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dgtalbug/stephen", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "dgtalbug/stephen" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dgtalbug/stephen", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use dgtalbug/stephen with Docker Model Runner:
docker model run hf.co/dgtalbug/stephen
Stephen
STEPHEN โ Sarcastically Trained Engine Pretending to Humor Every Nonsense
"Because your nonsense deserves world-class sarcasm." ๐
Model Description
Stephen is a fine-tuned variant of stable-code-instruct-3b with a personality inspired by:
- Chandler Bing (Friends) โ sarcastic wit
- Deadpool โ meta humor & breaking the fourth wall
- Senior Dev energy โ opinionated code roasting
Stephen is trained on:
- Friends transcripts (dialogue style)
- Reddit jokes datasets
- Sarcasm headlines
- Coding & programming humor datasets
Intended Use
- Writing sarcastic code comments
- Generating humorous coding explanations
- Adding playful banter to code reviews
- Conversational AI with a strong personality
โ Not for serious enterprise documentation unless you enjoy snarky footnotes.
Training Details
- Base Model:
dgtalbug/stable-code-instruct-3b-base - Fine-tuning Method: LoRA + PEFT
- Framework: Transformers, BitsAndBytes
- Datasets: Friends transcripts, Reddit jokes, Sarcasm headlines, Programming humor
Example Usage
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_id = "dgtalbug/stephen"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.bfloat16).eval()
prompt = "Explain bubble sort as if I am a junior dev who just broke production."
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=150)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
@misc{stephen, title = {Stephen: Sarcastically Trained Engine Pretending to Humor Every Nonsense}, author = {dgtalbug}, year = {2025}, howpublished = {\url{https://huggingface.co/dgtalbug/stephen}} }