AdamCodd commited on
Commit
7e4ae0f
·
1 Parent(s): 071eeeb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -58,7 +58,7 @@ class RegressionModel(torch.nn.Module):
58
 
59
  regression_model = RegressionModel()
60
  # Do not forget to set the correct path to load the regression head
61
- regression_model.regression_head.load_state_dict(torch.load(r"path_to_the_regression_head.pth"))
62
  regression_model.eval()
63
  # Examples
64
  sentences = [
 
58
 
59
  regression_model = RegressionModel()
60
  # Do not forget to set the correct path to load the regression head
61
+ regression_model.regression_head.load_state_dict(torch.load("path_to_the_regression_head.pth"))
62
  regression_model.eval()
63
  # Examples
64
  sentences = [