curiouscurrent commited on
Commit
6d2fd5c
·
verified ·
1 Parent(s): e1348f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,8 +1,8 @@
1
  from transformers import AutoTokenizer, AutoModelForCausalLM
2
 
3
  # Load model directly
4
- tokenizer = AutoTokenizer.from_pretrained("codellama/CodeLlama-7b-hf")
5
- model = AutoModelForCausalLM.from_pretrained("codellama/CodeLlama-7b-hf")
6
 
7
  # System message
8
  system_message = "You are a code teaching assistant named OmniCode created by Anusha K. Answer all the code related questions being asked."
 
1
  from transformers import AutoTokenizer, AutoModelForCausalLM
2
 
3
  # Load model directly
4
+ tokenizer = AutoTokenizer.from_pretrained("nchen909/codellama-7b-sft-v1.3")
5
+ model = AutoModelForCausalLM.from_pretrained("nchen909/codellama-7b-sft-v1.3")
6
 
7
  # System message
8
  system_message = "You are a code teaching assistant named OmniCode created by Anusha K. Answer all the code related questions being asked."