Update README.md
Browse files
README.md
CHANGED
@@ -71,6 +71,7 @@ class Tokenizer:
|
|
71 |
def __call__(self, example):
|
72 |
return example
|
73 |
|
|
|
74 |
# Transform Stockfish score and terminal outcomes.
|
75 |
def score_fn(score):
|
76 |
return score
|
@@ -105,6 +106,7 @@ import random
|
|
105 |
from datasets import load_dataset
|
106 |
from torch.utils.data import DataLoader
|
107 |
|
|
|
108 |
# A mock tokenizer and functions for demonstration.
|
109 |
class Tokenizer:
|
110 |
def __init__(self):
|
@@ -112,6 +114,7 @@ class Tokenizer:
|
|
112 |
def __call__(self, example):
|
113 |
return example
|
114 |
|
|
|
115 |
def score_fn(score):
|
116 |
# Transform Stockfish score and terminal outcomes.
|
117 |
return score
|
|
|
71 |
def __call__(self, example):
|
72 |
return example
|
73 |
|
74 |
+
|
75 |
# Transform Stockfish score and terminal outcomes.
|
76 |
def score_fn(score):
|
77 |
return score
|
|
|
106 |
from datasets import load_dataset
|
107 |
from torch.utils.data import DataLoader
|
108 |
|
109 |
+
|
110 |
# A mock tokenizer and functions for demonstration.
|
111 |
class Tokenizer:
|
112 |
def __init__(self):
|
|
|
114 |
def __call__(self, example):
|
115 |
return example
|
116 |
|
117 |
+
|
118 |
def score_fn(score):
|
119 |
# Transform Stockfish score and terminal outcomes.
|
120 |
return score
|