Jaren commited on
Commit
13b32c9
1 Parent(s): c8679a5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -32,4 +32,5 @@ class RobertaClassificationHead(nn.Module):
32
  x = self.dropout(x)
33
  x = self.out_proj(x)
34
  return x
35
- model = RobertaForSequenceClassification(num_labels)
 
 
32
  x = self.dropout(x)
33
  x = self.out_proj(x)
34
  return x
35
+ model = RobertaForSequenceClassification(num_labels)
36
+ model.load_state_dict(torch.load(args.model_save_path+'Roberta_large_model.pt', map_location=device))