pratikshahp commited on
Commit
c7befb8
·
verified ·
1 Parent(s): adfa719

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import fitz # PyMuPDF
3
  from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
4
 
5
  # Load the LLaMA model and tokenizer
6
- model_name = "meta-llama/Meta-Llama-3-8B" # Update this with the correct LLaMA model name
7
  tokenizer = AutoTokenizer.from_pretrained(model_name)
8
  model = AutoModelForCausalLM.from_pretrained(model_name)
9
 
 
3
  from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
4
 
5
  # Load the LLaMA model and tokenizer
6
+ model_name = "meta-llama/Meta-Llama-Guard-2-8B" # Update this with the correct LLaMA model name
7
  tokenizer = AutoTokenizer.from_pretrained(model_name)
8
  model = AutoModelForCausalLM.from_pretrained(model_name)
9