Spaces:
Sleeping
Sleeping
Joaoffg
commited on
Commit
·
3a7aa35
1
Parent(s):
57d5b1c
Update space
Browse files
app.py
CHANGED
@@ -12,6 +12,9 @@ prompt_template_name = "alpaca" # The prompt template to use, will default to a
|
|
12 |
|
13 |
prompter = CustomPrompter(prompt_template_name)
|
14 |
|
|
|
|
|
|
|
15 |
def tokenize(prompt, add_eos_token=True):
|
16 |
result = tokenizer(
|
17 |
prompt,
|
|
|
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(
|
20 |
prompt,
|