ducklin404/chezz_dataset
Viewer • Updated • 500k • 3
How to use ducklin404/chezz with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("TinyLlama/TinyLlama-1.1B-Chat-v1.0")
model = PeftModel.from_pretrained(base_model, "ducklin404/chezz")chezz-tinyllama-lora
chezz-tinyllama-lora is a LoRA adapter that adds two skills to TinyLlama-1.1B-Chat-v1.0:
Because only the rank-16 LoRA matrices are shared, the download is tiny (< 100 MB) and license-clean: users still pull the original Apache-2.0 TinyLlama weights.
| Developed by | Ducklin (aka ducklin404) |
| Financed by | – |
| Shared by | Ducklin |
| Model type | LoRA adapter for a causal language model |
| Languages | English (natural language) + algebraic chess notation |
| License | Apache 2.0 |
| Fine-tuned from | TinyLlama/TinyLlama-1.1B-Chat-v1.0 |
{"from":"e2","to":"e4","piece":"P","explanation":"…","taunt":"…"}
Base model
TinyLlama/TinyLlama-1.1B-Chat-v1.0
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("TinyLlama/TinyLlama-1.1B-Chat-v1.0") model = PeftModel.from_pretrained(base_model, "ducklin404/chezz")