Downloads · 30 days
49
52% of all-time downloads
LLM-course/chess-littletestmodel
chess-littletestmodel is a text generation model from LLM-course. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
Downloads · 30 days
49
52% of all-time downloads
All-time downloads
95
Public
Parameters
791K
3.2 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors3.2 MB · 98%
From the Hugging Face model README
Chess model for LLM Course Challenge.
The model uses a custom tokenizer. Load it with:
from transformers import GPT2LMHeadModel, AutoConfig
import json
config = AutoConfig.from_pretrained("LLM-course/chess-littletestmodel")
model = GPT2LMHeadModel.from_pretrained("LLM-course/chess-littletestmodel", config=config)
# Load vocab
with open("vocab.json") as f:
vocab = json.load(f)