choco-conoz commited on
Commit
f981207
·
1 Parent(s): 5fc3510

feat: change model

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +2 -2
src/streamlit_app.py CHANGED
@@ -7,8 +7,8 @@ from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
7
  AI_MODE = "ON"
8
 
9
  if AI_MODE == "ON":
10
- # model_id = "choco-conoz/TwinLlama-3.2-1B-DPO"
11
- model_id = "choco-conoz/TwinLlama-3.2-1B"
12
  tokenizer = AutoTokenizer.from_pretrained(model_id)
13
  model = AutoModelForCausalLM.from_pretrained(model_id)
14
  # for GPU inference, uncomment the following line
 
7
  AI_MODE = "ON"
8
 
9
  if AI_MODE == "ON":
10
+ model_id = "choco-conoz/TwinLlama-3.2-1B-DPO"
11
+ # model_id = "choco-conoz/TwinLlama-3.2-1B"
12
  tokenizer = AutoTokenizer.from_pretrained(model_id)
13
  model = AutoModelForCausalLM.from_pretrained(model_id)
14
  # for GPU inference, uncomment the following line