Text Generation
Transformers
PyTorch
Safetensors
Finnish
llama
finnish
text-generation-inference
aapot commited on
Commit
20f8d9b
1 Parent(s): 3e169cc
Files changed (1) hide show
  1. EasyLM/data.py +1 -1
EasyLM/data.py CHANGED
@@ -227,7 +227,7 @@ class HuggingfaceDataset(object):
227
  def get_state_dict(self):
228
  return dict(
229
  config=self.config,
230
- dataset_loc=self._index if self._train_epochs < 1 else 0,
231
  total_tokens=self._total_tokens,
232
  epochs=self._train_epochs,
233
  )
 
227
  def get_state_dict(self):
228
  return dict(
229
  config=self.config,
230
+ dataset_loc=self._index,
231
  total_tokens=self._total_tokens,
232
  epochs=self._train_epochs,
233
  )