Spaces:
Build error
Build error
Sidrasultana41
commited on
Commit
•
dcc3458
1
Parent(s):
ba704c3
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ tokenizer = AutoTokenizer.from_pretrained('distilgpt2')
|
|
6 |
model = AutoModelForCausalLM.from_pretrained('distilgpt2')
|
7 |
|
8 |
# Load your dataset from a text file
|
9 |
-
dataset_path = "/
|
10 |
with open(dataset_path, "r") as file:
|
11 |
dataset_lines = file.readlines()
|
12 |
|
|
|
6 |
model = AutoModelForCausalLM.from_pretrained('distilgpt2')
|
7 |
|
8 |
# Load your dataset from a text file
|
9 |
+
dataset_path = "/openweb.txt" # Update this with the path to your dataset file
|
10 |
with open(dataset_path, "r") as file:
|
11 |
dataset_lines = file.readlines()
|
12 |
|