Ahmed-El-Sharkawy
commited on
Commit
•
2b51d5e
1
Parent(s):
8603052
Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ preprocess = transforms.Compose([
|
|
68 |
|
69 |
# Load Meta's LLaMA model for generating product descriptions
|
70 |
def load_llama():
|
71 |
-
model_name = "meta-llama/
|
72 |
token = os.getenv("HUGGINGFACE_TOKEN")
|
73 |
tokenizer = AutoTokenizer.from_pretrained(model_name, use_auth_token=token)
|
74 |
model = AutoModelForCausalLM.from_pretrained(model_name, use_auth_token=token).to(device)
|
|
|
68 |
|
69 |
# Load Meta's LLaMA model for generating product descriptions
|
70 |
def load_llama():
|
71 |
+
model_name = "meta-llama/Meta-Llama-3-8B-Instruct"
|
72 |
token = os.getenv("HUGGINGFACE_TOKEN")
|
73 |
tokenizer = AutoTokenizer.from_pretrained(model_name, use_auth_token=token)
|
74 |
model = AutoModelForCausalLM.from_pretrained(model_name, use_auth_token=token).to(device)
|