GitHub Actions commited on
Commit
7dab830
·
1 Parent(s): c2af030

Sync from GitHub Actions

Browse files
codeInsight/inference/code_assistant.py CHANGED
@@ -11,7 +11,7 @@ class CodeAssistant:
11
  try:
12
  self.config = load_config(config_path)
13
  self.dataset_config = self.config['dataset']
14
- model_repo = self.config['model']['final_model_repo']
15
  logging.info(f"Initializing CodeAssistant with model from: {model_repo}")
16
 
17
  self.model = AutoModelForCausalLM.from_pretrained(
 
11
  try:
12
  self.config = load_config(config_path)
13
  self.dataset_config = self.config['dataset']
14
+ model_repo = self.config['paths']['final_model_repo']
15
  logging.info(f"Initializing CodeAssistant with model from: {model_repo}")
16
 
17
  self.model = AutoModelForCausalLM.from_pretrained(
requirements.txt CHANGED
@@ -8,4 +8,5 @@ sentencepiece
8
  trl
9
  wandb
10
  pyyaml
11
- streamlit
 
 
8
  trl
9
  wandb
10
  pyyaml
11
+ streamlit
12
+ re