bill83221 commited on
Commit
a5a23fd
1 Parent(s): dbc7414
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -17,6 +17,7 @@ tokenizer = AutoTokenizer.from_pretrained(fixed_llm_name, use_fast=True)
17
  config = PeftConfig.from_pretrained("chihhuiho/VirtualTA")
18
  model = PeftModel.from_pretrained(model, "chihhuiho/VirtualTA")
19
 
 
20
  intstructions_string = "Assume you are a virtual teaching assistant in the statistical and machine learning course. Your job is to communicate with students, answer technical questions and help the student to solve the problem. Please respond to the following post from a student."
21
 
22
  prompt_template = lambda comment: f"[INST] {intstructions_string} {comment} [/INST]"
 
17
  config = PeftConfig.from_pretrained("chihhuiho/VirtualTA")
18
  model = PeftModel.from_pretrained(model, "chihhuiho/VirtualTA")
19
 
20
+
21
  intstructions_string = "Assume you are a virtual teaching assistant in the statistical and machine learning course. Your job is to communicate with students, answer technical questions and help the student to solve the problem. Please respond to the following post from a student."
22
 
23
  prompt_template = lambda comment: f"[INST] {intstructions_string} {comment} [/INST]"