Spaces:
Sleeping
Sleeping
Joaoffg
commited on
Commit
·
556d1f3
1
Parent(s):
3a7aa35
Update space
Browse files
app.py
CHANGED
@@ -12,8 +12,8 @@ prompt_template_name = "alpaca" # The prompt template to use, will default to a
|
|
12 |
|
13 |
prompter = CustomPrompter(prompt_template_name)
|
14 |
|
15 |
-
model = AutoModelForCausalLM("Joaoffg/ELM")
|
16 |
-
tokenizer = AutoTokenizer("Joaoffg/ELM")
|
17 |
|
18 |
def tokenize(prompt, add_eos_token=True):
|
19 |
result = tokenizer(
|
|
|
12 |
|
13 |
prompter = CustomPrompter(prompt_template_name)
|
14 |
|
15 |
+
model = AutoModelForCausalLM.from_pretrained("Joaoffg/ELM")
|
16 |
+
tokenizer = AutoTokenizer.from_pretrained("Joaoffg/ELM")
|
17 |
|
18 |
def tokenize(prompt, add_eos_token=True):
|
19 |
result = tokenizer(
|