Xmaster6y commited on
Commit
b9c9401
1 Parent(s): c187fbe

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -5
README.md CHANGED
@@ -1,8 +1,8 @@
1
  ---
2
  license: mit
3
  datasets:
4
- - Xmaster6y/stockfish-debug
5
- name: Xmaster6y/gpt2-stockfish-debug
6
  results:
7
  - task: train
8
  metrics:
@@ -28,7 +28,7 @@ See my [blog post](https://yp-edu.github.io/projects/training-gpt2-on-stockfish-
28
 
29
  ## Training Details
30
 
31
- The model was trained during 1 epoch on the [Xmaster6y/stockfish-debug](https://huggingface.co/datasets/Xmaster6y/stockfish-debug) dataset (no hyperparameter tuning done). The samples are:
32
 
33
  ```json
34
  {"prompt":"FEN: {fen}\nMOVE:", "completion": " {move}"}
@@ -66,8 +66,8 @@ def next_move(model, tokenizer, fen):
66
 
67
 
68
  board = chess.Board()
69
- model = AutoModelForCausalLM.from_pretrained("Xmaster6y/gpt2-stockfish-debug")
70
- tokenizer = AutoTokenizer.from_pretrained("Xmaster6y/gpt2-stockfish-debug") # or "gpt2"
71
  tokenizer.pad_token = tokenizer.eos_token
72
  for i in range(100):
73
  fen = board.fen()
 
1
  ---
2
  license: mit
3
  datasets:
4
+ - yp-edu/stockfish-debug
5
+ name: yp-edu/gpt2-stockfish-debug
6
  results:
7
  - task: train
8
  metrics:
 
28
 
29
  ## Training Details
30
 
31
+ The model was trained during 1 epoch on the [yp-edu/stockfish-debug](https://huggingface.co/datasets/yp-edu/stockfish-debug) dataset (no hyperparameter tuning done). The samples are:
32
 
33
  ```json
34
  {"prompt":"FEN: {fen}\nMOVE:", "completion": " {move}"}
 
66
 
67
 
68
  board = chess.Board()
69
+ model = AutoModelForCausalLM.from_pretrained("yp-edu/gpt2-stockfish-debug")
70
+ tokenizer = AutoTokenizer.from_pretrained("yp-edu/gpt2-stockfish-debug") # or "gpt2"
71
  tokenizer.pad_token = tokenizer.eos_token
72
  for i in range(100):
73
  fen = board.fen()