gabrielbianchin commited on
Commit
2bf6b4b
·
1 Parent(s): 456d8b6

update readme

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -42,7 +42,7 @@ You can use this model for feature extraction (embeddings) or fine-tune it for d
42
  Use the code below to get started with the model for embedding extraction:
43
 
44
  ```python
45
- from transformers import AutoTokenizer, AutoModel
46
  from sequence_models.pretrained import load_model_and_alphabet
47
  import torch
48
 
@@ -69,7 +69,7 @@ print('Dynamics:', enriched.dyn)
69
  Use the code below to get started with the model for downstream prediction tasks:
70
 
71
  ```python
72
- from transformers import AutoTokenizer, AutoModel, T5EncoderModel, T5Tokenizer, AutoConfig
73
  from sequence_models.pretrained import load_model_and_alphabet
74
  import torch
75
 
 
42
  Use the code below to get started with the model for embedding extraction:
43
 
44
  ```python
45
+ from transformers import AutoModel
46
  from sequence_models.pretrained import load_model_and_alphabet
47
  import torch
48
 
 
69
  Use the code below to get started with the model for downstream prediction tasks:
70
 
71
  ```python
72
+ from transformers import AutoModelForSequenceClassification, AutoConfig
73
  from sequence_models.pretrained import load_model_and_alphabet
74
  import torch
75