Alimubariz124 commited on
Commit
ab68eae
·
verified ·
1 Parent(s): 27fc94c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ from flask import Flask, render_template, request, jsonify
2
  from transformers import pipeline, LlamaTokenizer, LlamaForCausalLM
3
 
4
  # Load the LLaMA model and tokenizer
5
- model_name = "huggingface/llama-model" # Replace with the specific LLaMA model you want to use
6
  tokenizer = LlamaTokenizer.from_pretrained(model_name)
7
  model = LlamaForCausalLM.from_pretrained(model_name)
8
 
 
2
  from transformers import pipeline, LlamaTokenizer, LlamaForCausalLM
3
 
4
  # Load the LLaMA model and tokenizer
5
+ model_name = "NousResearch/Llama-2-7b-chat-hf" # Replace with the specific LLaMA model you want to use
6
  tokenizer = LlamaTokenizer.from_pretrained(model_name)
7
  model = LlamaForCausalLM.from_pretrained(model_name)
8