Corrigan123 commited on
Commit
362af59
1 Parent(s): c6b60a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ from transformers import GPT2Tokenizer, GPT2LMHeadModel, Trainer, TrainingArgume
2
  from datasets import load_dataset
3
 
4
  # Load the text dataset from the specified file
5
- dataset = load_dataset("text", data_files="C:\\Users\\Mike Corrigan\\Documents\\DMD Year 4 Sem 1\\FYP INFO\\fyp hugging face\\fypmc20277423\\training.txt")
6
 
7
 
8
  # Initialize the GPT-2 tokenizer
 
2
  from datasets import load_dataset
3
 
4
  # Load the text dataset from the specified file
5
+ dataset = load_dataset("text", data_files="training.txt")
6
 
7
 
8
  # Initialize the GPT-2 tokenizer