dennlinger commited on
Commit
26d06e2
1 Parent(s): 778abea

Update the correct AutoModel

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -3,9 +3,9 @@ This network has been fine-tuned for the task described in the paper *Topical Ch
3
 
4
  # Load the model
5
  ```python
6
- from transformers import AutoModel, AutoTokenizer
7
  tokenizer = AutoTokenizer.from_pretrained('dennlinger/roberta-cls-consec')
8
- model = AutoModel.from_pretrained('dennlinger/roberta-cls-consec')
9
  ```
10
 
11
  # Input Format
 
3
 
4
  # Load the model
5
  ```python
6
+ from transformers import AutoModelForSequenceClassification, AutoTokenizer
7
  tokenizer = AutoTokenizer.from_pretrained('dennlinger/roberta-cls-consec')
8
+ model = AutoModelForSequenceClassification.from_pretrained('dennlinger/roberta-cls-consec')
9
  ```
10
 
11
  # Input Format