rusen commited on
Commit
303d729
·
1 Parent(s): da4022d

corrected paths again

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -4,14 +4,14 @@ import numpy as np
4
  from utils import model_predict
5
 
6
 
7
- roberta_base_detector = AutoModelForSequenceClassification.from_pretrained("Models/fine_tuned/roberta-base-detector-model")
8
- roberta_base_detector_tknz = AutoTokenizer.from_pretrained("Models/fine_tuned/roberta-base-detector-tokenizer")
9
 
10
- chatgpt_lli_hc3_detector = AutoModelForSequenceClassification.from_pretrained("Models/fine_tuned/chatgpt-lli-hc3-detector-model")
11
- chatgpt_lli_hc3_detector_tknz = AutoTokenizer.from_pretrained("Models/fine_tuned/chatgpt-lli-hc3-detector-tokenizer")
12
 
13
- chatgpt_roberta_detector = AutoModelForSequenceClassification.from_pretrained("Models/fine_tuned/chatgpt-roberta-detector-model")
14
- chatgpt_roberta_detector_tknz = AutoTokenizer.from_pretrained("Models/fine_tuned/chatgpt-roberta-detector-tokenizer")
15
 
16
 
17
  def classify_text(text):
 
4
  from utils import model_predict
5
 
6
 
7
+ roberta_base_detector = AutoModelForSequenceClassification.from_pretrained("Models/fine_tuned/roberta-base-openai-detector-model")
8
+ roberta_base_detector_tknz = AutoTokenizer.from_pretrained("Models/fine_tuned/roberta-base-openai-detector-tokenizer")
9
 
10
+ chatgpt_lli_hc3_detector = AutoModelForSequenceClassification.from_pretrained("Models/fine_tuned/chatgpt-detector-lli-hc3-model")
11
+ chatgpt_lli_hc3_detector_tknz = AutoTokenizer.from_pretrained("Models/fine_tuned/chatgpt-detector-lli-hc3-tokenizer")
12
 
13
+ chatgpt_roberta_detector = AutoModelForSequenceClassification.from_pretrained("Models/fine_tuned/chatgpt-detector-roberta-model")
14
+ chatgpt_roberta_detector_tknz = AutoTokenizer.from_pretrained("Models/fine_tuned/chatgpt-detector-roberta-tokenizer")
15
 
16
 
17
  def classify_text(text):