minko186 commited on
Commit
04aa8fc
1 Parent(s): 81f38b2

Update predictors.py

Browse files
Files changed (1) hide show
  1. predictors.py +1 -1
predictors.py CHANGED
@@ -37,7 +37,7 @@ mc_token_size = int(params["MC_TOKEN_SIZE"])
37
  bc_token_size = int(params["BC_TOKEN_SIZE"])
38
  bias_checker_model_name = params['BIAS_CHECKER_MODEL_PATH']
39
  bias_corrector_model_name = params['BIAS_CORRECTOR_MODEL_PATH']
40
- access_token = params['HF_TOKEN']
41
 
42
  text_bc_tokenizer = AutoTokenizer.from_pretrained(text_bc_model_path, token=access_token)
43
  text_bc_model = AutoModelForSequenceClassification.from_pretrained(text_bc_model_path, token=access_token).to(device)
 
37
  bc_token_size = int(params["BC_TOKEN_SIZE"])
38
  bias_checker_model_name = params['BIAS_CHECKER_MODEL_PATH']
39
  bias_corrector_model_name = params['BIAS_CORRECTOR_MODEL_PATH']
40
+ # access_token = params['HF_TOKEN']
41
 
42
  text_bc_tokenizer = AutoTokenizer.from_pretrained(text_bc_model_path, token=access_token)
43
  text_bc_model = AutoModelForSequenceClassification.from_pretrained(text_bc_model_path, token=access_token).to(device)