gabrielbianchin commited on
Commit
e184c85
·
1 Parent(s): 530a6a6

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, T5EncoderModel, T5Tokenizer
46
  import torch
47
 
48
  tokenizer = T5Tokenizer.from_pretrained("ElnaggarLab/ankh3-xl")
@@ -70,7 +70,7 @@ print('Dynamics:', enriched.dyn)
70
  Use the code below to get started with the model for downstream prediction tasks:
71
 
72
  ```python
73
- from transformers import AutoTokenizer, AutoModel, T5EncoderModel, T5Tokenizer, AutoConfig
74
  import torch
75
 
76
  tokenizer = T5Tokenizer.from_pretrained("ElnaggarLab/ankh3-xl")
 
42
  Use the code below to get started with the model for embedding extraction:
43
 
44
  ```python
45
+ from transformers import AutoModel, T5EncoderModel, T5Tokenizer
46
  import torch
47
 
48
  tokenizer = T5Tokenizer.from_pretrained("ElnaggarLab/ankh3-xl")
 
70
  Use the code below to get started with the model for downstream prediction tasks:
71
 
72
  ```python
73
+ from transformers import AutoModelForSequenceClassification, T5EncoderModel, T5Tokenizer, AutoConfig
74
  import torch
75
 
76
  tokenizer = T5Tokenizer.from_pretrained("ElnaggarLab/ankh3-xl")