Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import transformers
|
|
3 |
import torch
|
4 |
import streamlit as st
|
5 |
|
6 |
-
model = LlamaTokenizer.from_pretrained('klyang/MentaLLaMA-chat-13B')
|
7 |
model = LlamaForCausalLM.from_pretrained('klyang/MentaLLaMA-chat-13B', device_map='auto')
|
8 |
|
9 |
tokenizer = AutoTokenizer.from_pretrained(model)
|
|
|
3 |
import torch
|
4 |
import streamlit as st
|
5 |
|
6 |
+
# model = LlamaTokenizer.from_pretrained('klyang/MentaLLaMA-chat-13B')
|
7 |
model = LlamaForCausalLM.from_pretrained('klyang/MentaLLaMA-chat-13B', device_map='auto')
|
8 |
|
9 |
tokenizer = AutoTokenizer.from_pretrained(model)
|