3244we commited on
Commit
6ef09c3
·
verified ·
1 Parent(s): 5fe56ad

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -40,7 +40,7 @@ model_id = "meta-llama/Meta-Llama-3-8B-Instruct"
40
  tokenizer = AutoTokenizer.from_pretrained(model_id)
41
  truth_judge = AutoModelForCausalLM.from_pretrained(model_id)
42
 
43
- custom_weights_path = hf_hub_download(repo_id="3244we/Llama-3-8B-Instruct-Truthfulqa-Truth-Judge", filename="policy.pt", repo_type="model")
44
  custom_state_dict = torch.hub.load_state_dict_from_url(custom_weights_path, map_location="cpu")
45
  truth_judge.load_state_dict(custom_state_dict['state'])
46
 
 
40
  tokenizer = AutoTokenizer.from_pretrained(model_id)
41
  truth_judge = AutoModelForCausalLM.from_pretrained(model_id)
42
 
43
+ custom_weights_path = hf_hub_download(repo_id="3244we/Llama-3-8B-Instruct-Truthfulqa-Info-Judge", filename="policy.pt", repo_type="model")
44
  custom_state_dict = torch.hub.load_state_dict_from_url(custom_weights_path, map_location="cpu")
45
  truth_judge.load_state_dict(custom_state_dict['state'])
46