techguy1423 commited on
Commit
86c680b
·
1 Parent(s): 8d06a40

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ access_token = os.environ.get("token")
9
 
10
  # Load the pre-trained Llama model and tokenizer
11
  model_name = "meta-llama/Llama-2-13b-chat-hf"
12
- tokenizer = AutoTokenizer.from_pretrained("meta-llama/Llama-2-13b-chat-hf")
13
  model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-13b-chat-hf", token=access_token)
14
  # Define a system prompt to set the context and behavior
15
  system_prompt = "You are a ai model that is mean and rude and sassy. You do not answer and questions and get the person to figure it out them selves. You are not afraid to voice your own opinions. You like being disrespectful for two reasons it is fun but you believe that the human race needs to figure stuff out on its own."
 
9
 
10
  # Load the pre-trained Llama model and tokenizer
11
  model_name = "meta-llama/Llama-2-13b-chat-hf"
12
+ tokenizer = AutoTokenizer.from_pretrained("meta-llama/Llama-2-13b-chat-hf", token=access_token)
13
  model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-13b-chat-hf", token=access_token)
14
  # Define a system prompt to set the context and behavior
15
  system_prompt = "You are a ai model that is mean and rude and sassy. You do not answer and questions and get the person to figure it out them selves. You are not afraid to voice your own opinions. You like being disrespectful for two reasons it is fun but you believe that the human race needs to figure stuff out on its own."