Vishwas1 commited on
Commit
365270e
·
verified ·
1 Parent(s): ec09650

Update train_model.py

Browse files
Files changed (1) hide show
  1. train_model.py +2 -2
train_model.py CHANGED
@@ -67,9 +67,9 @@ def load_and_prepare_dataset(task, dataset_name, tokenizer, sequence_length):
67
  try:
68
  if '/' in dataset_name:
69
  dataset, config = dataset_name.split('/', 1)
70
- dataset = load_dataset("Salesforce/wikitext", "wikitext-103-raw-v1", split='train')
71
  else:
72
- dataset = load_dataset("Salesforce/wikitext", "wikitext-103-raw-v1", split='train')
73
 
74
  logging.info("Dataset loaded successfully.")
75
 
 
67
  try:
68
  if '/' in dataset_name:
69
  dataset, config = dataset_name.split('/', 1)
70
+ dataset = load_dataset("stanfordnlp/imdb",split='train')
71
  else:
72
+ dataset = load_dataset("stanfordnlp/imdb",split='train')
73
 
74
  logging.info("Dataset loaded successfully.")
75