app.py
CHANGED
@@ -2,6 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import pipeline, set_seed
|
3 |
from transformers import GPTNeoForCausalLM, GPT2Tokenizer
|
4 |
|
|
|
5 |
set_seed(42)
|
6 |
|
7 |
model = GPTNeoForCausalLM.from_pretrained("EleutherAI/gpt-neo-1.3B")
|
|
|
2 |
from transformers import pipeline, set_seed
|
3 |
from transformers import GPTNeoForCausalLM, GPT2Tokenizer
|
4 |
|
5 |
+
|
6 |
set_seed(42)
|
7 |
|
8 |
model = GPTNeoForCausalLM.from_pretrained("EleutherAI/gpt-neo-1.3B")
|