Run this model with HF Jobs

Run pgfeldman/GPT2-chess on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/pgfeldman/GPT2-chess. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/pgfeldman/GPT2-chess on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/pgfeldman/GPT2-chess. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/pgfeldman/GPT2-chess. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

Model trained on chess "narratives" created from PGN notation from a large set of games downloaded from The Week in Chess (https://theweekinchess.com/). A script was run to convert the PGN notation to english text, and the model was finetuned on that. The approach is described in the paper Navigating Human Language Models with Synthetic Agents.

Useful Prompts:

  • "The game begins"
  • "In move X" // X can be a number between 1 and approximately 100
  • "White/Black moves X from Y" // X is the piece (pawn, bishop, knight, rook, queen, king) and Y is the square (e.g. e2)
  • "The game begins as white uses the X opening" // X is a known opening move such as Sicilian
  • "White moves X from" // X is the piece (pawn, bishop, knight, rook, queen, king)
  • "Black moves X from" // X is the piece (pawn, bishop, knight, rook, queen, king)

Citation:

@misc{feldman2020navigating,
      title={Navigating Human Language Models with Synthetic Agents}, 
      author={Philip Feldman and Antonio Bucchiarone},
      year={2020},
      eprint={2008.04162},
      archivePrefix={arXiv},
      primaryClass={cs.AI}
}
Downloads last month
31
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Paper for pgfeldman/GPT2-chess