Downloads · 30 days
15
25% of all-time downloads
migmm/tiny-gpt2-finetuned-ajem
tiny-gpt2-finetuned-ajem is a machine learning model from migmm. 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 mit.
Este es un modelo de lenguaje entrenado específicamente para jugar ajedrez usando notación algebraica estándar.
Downloads · 30 days
15
25% of all-time downloads
All-time downloads
59
Public
Parameters
103K
78.2 MB on disk
Likes
0
Public
Click a slice to open those files.
.bin77.4 MB · 99%
From the Hugging Face model README
Este es un modelo de lenguaje entrenado específicamente para jugar ajedrez usando notación algebraica estándar.
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("tu-usuario/tiny-gpt2-finetuned-ajem")
model = AutoModelForCausalLM.from_pretrained("tu-usuario/tiny-gpt2-finetuned-ajem")
# Generar siguiente movimiento
input_text = "1.e4 e5 2.Nf3"
inputs = tokenizer.encode(input_text, return_tensors="pt")
outputs = model.generate(inputs, max_length=50, do_sample=True)
next_move = tokenizer.decode(outputs[0], skip_special_tokens=True)
Modelo entrenado en partidas de ajedrez usando PyTorch con arquitectura Transformer personalizada.