lhallee commited on
Commit
d061b22
1 Parent(s): 7687dbf

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -52,8 +52,8 @@ import torch
52
  import torch.nn.functional as F
53
  from transformers import BertForSequenceClassification, BertTokenizer
54
 
55
- model = BertForSequenceClassification.from_pretrained('lhallee/SYNTERACT') # load model
56
- tokenizer = BertTokenizer.from_pretrained('lhallee/SYNTERACT') # load tokenizer
57
  device = torch.device('cuda') if torch.cuda.is_available() else torch.device('cpu') # gather device
58
  model.to(device) # move to device
59
  model.eval() # put in eval mode
 
52
  import torch.nn.functional as F
53
  from transformers import BertForSequenceClassification, BertTokenizer
54
 
55
+ model = BertForSequenceClassification.from_pretrained('GleghornLab/SYNTERACT') # load model
56
+ tokenizer = BertTokenizer.from_pretrained('GleghornLab/SYNTERACT') # load tokenizer
57
  device = torch.device('cuda') if torch.cuda.is_available() else torch.device('cpu') # gather device
58
  model.to(device) # move to device
59
  model.eval() # put in eval mode