Commit
·
8202a71
1
Parent(s):
7148ee7
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ from transformers import LlamaTokenizer, LlamaForCausalLM, GenerationConfig
|
|
| 11 |
tokenizer = LlamaTokenizer.from_pretrained("daryl149/llama-2-7b-chat-hf")
|
| 12 |
|
| 13 |
BASE_MODEL = "daryl149/llama-2-7b-chat-hf"
|
| 14 |
-
LORA_WEIGHTS = "Sparticle/llama-2-7b-japanese-lora"
|
| 15 |
|
| 16 |
if torch.cuda.is_available():
|
| 17 |
device = "cuda"
|
|
|
|
| 11 |
tokenizer = LlamaTokenizer.from_pretrained("daryl149/llama-2-7b-chat-hf")
|
| 12 |
|
| 13 |
BASE_MODEL = "daryl149/llama-2-7b-chat-hf"
|
| 14 |
+
LORA_WEIGHTS = "Sparticle/llama-2-7b-chat-japanese-lora"
|
| 15 |
|
| 16 |
if torch.cuda.is_available():
|
| 17 |
device = "cuda"
|