Downloads · 30 days
10
6% of all-time downloads
ambrosfitz/qwen-1.5b-book-rarity-grpo
qwen-1.5b-book-rarity-grpo is a text generation model from ambrosfitz. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
This model is a fine-tuned version of Qwen/Qwen2.5-1.5B-Instruct using GRPO (Group Relative Policy Optimization) for improved reasoning about book rarity and marketplace value.
Downloads · 30 days
10
6% of all-time downloads
All-time downloads
157
Public
Parameters
1.5B
3.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors3.1 GB · 99%
From the Hugging Face model README
This model is a fine-tuned version of Qwen/Qwen2.5-1.5B-Instruct using GRPO (Group Relative Policy Optimization) for improved reasoning about book rarity and marketplace value.
The model was trained to:
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "ambrosfitz/qwen-1.5b-book-rarity-grpo"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name)
prompt = """Analyze this book for rarity and marketplace value. Provide step-by-step reasoning.
Title: First Edition Book Title
Author: Author Name
Year: 1990
Holdings: 5 libraries
Tier: 2
Thesis: 0
Gov Doc: 0
Think through: holdings, language, document type, age, and rarity tier."""
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
| Metric | Start | Final | Improvement |
|---|---|---|---|
| Reward | 1.86 | 3.17 | +67% |
| Reward Std | 0.99 | 0.53 | -46% (more stable) |
| KL Divergence | 0.001 | 0.013 | Controlled |
The model provides analysis across multiple dimensions:
Apache 2.0 (inherits from Qwen 2.5 base model)
For questions or issues, please open an issue on the model repository.