Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import LlamaTokenizer, LlamaForCausalLM, pipeline
|
3 |
import torch
|
4 |
# Load your model and tokenizer
|
5 |
-
model_name = "midrees2806/
|
6 |
tokenizer = LlamaTokenizer.from_pretrained(model_name)
|
7 |
model = LlamaForCausalLM.from_pretrained(model_name,torch_dtype=torch.float16)
|
8 |
|
|
|
2 |
from transformers import LlamaTokenizer, LlamaForCausalLM, pipeline
|
3 |
import torch
|
4 |
# Load your model and tokenizer
|
5 |
+
model_name = "midrees2806/2Krows_uoe_edu"
|
6 |
tokenizer = LlamaTokenizer.from_pretrained(model_name)
|
7 |
model = LlamaForCausalLM.from_pretrained(model_name,torch_dtype=torch.float16)
|
8 |
|