Downloads · 30 days
0
sdan/jokegen2-1t-rl
jokegen2-1t-rl is a machine learning model from sdan. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
<a href="https://github.com/sdan/jokegen"<img src="https://img.shields.io/badge/GitHub-sdan%2Fjokegen-blue?logo=github" alt="GitHub"</a
Downloads · 30 days
0
Access
Public
Updated Jan 27, 2026
Repo size
18.8 GB
Likes
9
Public
Click a slice to open those files.
.safetensors18.8 GB · 100%
From the Hugging Face model README
<a href="https://github.com/sdan/jokegen"><img src="https://img.shields.io/badge/GitHub-sdan%2Fjokegen-blue?logo=github" alt="GitHub"></a>
LoRA adapter for Kimi-K2-Thinking. RL-tuned with comedy rubrics.
Reinforcement learning on top of SFT. It uses a qualitative rubric similar to how Kimi was able to score high on eqbench. The rubrics score for specificity, turn, compression, and commitment. There is also one prescriptive rubric to prevent reward hacking, no laugh signaling, no explanation, no hedging, and no AI-isms -- otherwise the model will learn to append something similar to "lmao 💀" to everything.
For this experiment, I used qwen3 8b to grade the jokes.
pip install tinker transformers
export TINKER_API_KEY=your_key
import tinker
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("moonshotai/Kimi-K2-Thinking", trust_remote_code=True)
sampler = tinker.ServiceClient().create_sampling_client(
model_path="tinker://4977bc84-470e-50e8-89fd-0bf9cd13c372:train:0/sampler_weights/000050"
)
prompt = "<|im_start|>system\nYou write sharp, witty comedy.<|im_end|>\n<|im_start|>user\nwrite a joke about startups<|im_end|>\n<|im_start|>assistant\n"
response = sampler.sample(
prompt=tinker.types.ModelInput.from_ints(tokenizer.encode(prompt)),
sampling_params=tinker.types.SamplingParams(max_tokens=256, temperature=0.8, stop=["<|im_end|>"]),
).result()
print(tokenizer.decode(response.sequences[0].tokens[len(tokenizer.encode(prompt)):]))
tbd