initial commit
Browse files
app.py
CHANGED
@@ -10,9 +10,6 @@ tokenizer = AutoTokenizer.from_pretrained(checkpoint)
|
|
10 |
model = AutoModelForCausalLM.from_pretrained(checkpoint).to(device)
|
11 |
|
12 |
|
13 |
-
|
14 |
-
|
15 |
-
generator = pipeline('text-generation', model='gpt2', return_full_text=False)
|
16 |
set_seed(42)
|
17 |
|
18 |
|
|
|
10 |
model = AutoModelForCausalLM.from_pretrained(checkpoint).to(device)
|
11 |
|
12 |
|
|
|
|
|
|
|
13 |
set_seed(42)
|
14 |
|
15 |
|