Downloads · 30 days
31
20% of all-time downloads
tksluangrath/lol-matchbook
lol-matchbook is a text generation model from tksluangrath. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as mit.
A LoRA adapter for Qwen/Qwen3-4B-Instruct-2507, fine-tuned to answer free-form League of Legends matchup follow-up questions in a fixed early/mid/late-game format. It's the /ask model behind LoL Matchbook, a local cha…
Downloads · 30 days
31
20% of all-time downloads
All-time downloads
155
Public
Repo size
10.6 GB
Likes
0
Public
Click a slice to open those files.
.gguf10.5 GB · 100%
From the Hugging Face model README
A LoRA adapter for Qwen/Qwen3-4B-Instruct-2507, fine-tuned to answer free-form League of Legends matchup follow-up questions in a fixed early/mid/late-game format. It's the /ask model behind LoL Matchbook, a local champ-select assistant. A precomputed lookup answers the time-critical pick/ban question; this adapter handles the conversational follow-ups after that.
This is an unofficial fan project, not endorsed by or affiliated with Riot Games.
q/k/v/o_proj + gate/up/down_proj, r=8, alpha=16, dropout=0.05)train.py for the compute-gate rationale)You are a League of Legends coach. Give concise, rank-aware matchup advice for the game phase asked about. If you do not have reliable data for this matchup at this rank, say so plainly instead of inventing specifics.
Also published in this repo: merged-qualitative-v2/ (adapter merged into the base model, fp16 safetensors) and gguf-qualitative-v2/ (f16 and Q4_K_M GGUF quantizations for llama.cpp serving).
Conversational matchup Q&A as a follow-up to a precomputed lookup answer. It is not the source of truth for win rates or patch-specific numbers; verify any cited percentages or kit details against a real source before acting on them.
eval/eval_results.json; full loss/accuracy curve: eval/training_log_history.json.from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-4B-Instruct-2507")
tok = AutoTokenizer.from_pretrained("Qwen/Qwen3-4B-Instruct-2507")
model = PeftModel.from_pretrained(base, "tksluangrath/lol-matchbook")
messages = [
{"role": "system", "content": "You are a League of Legends coach. Give concise, rank-aware matchup advice for the game phase asked about. If you do not have reliable data for this matchup at this rank, say so plainly instead of inventing specifics."},
{"role": "user", "content": "How does Camille beat Urgot in the early game?"},
]
inputs = tok.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt")
out = model.generate(inputs, max_new_tokens=256)
print(tok.decode(out[0][inputs.shape[-1]:], skip_special_tokens=True))
For the GGUF files, load gguf-qualitative-v2/merged-qualitative-v2-Q4_K_M.gguf (or -f16.gguf) with llama.cpp / llama-cpp-python.
MIT, matching the LoL Matchbook repo. Base model license (Qwen3, Apache 2.0) applies to the base weights this adapter is applied to. This project uses Riot Games IP under Riot's Developer API terms; it is not licensed, sponsored, or endorsed by Riot Games.