Instructions to use ElnaggarLab/ankh3-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ElnaggarLab/ankh3-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="ElnaggarLab/ankh3-large")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("ElnaggarLab/ankh3-large") model = AutoModelForSeq2SeqLM.from_pretrained("ElnaggarLab/ankh3-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -67,7 +67,7 @@ with torch.no_grad():
|
|
| 67 |
|
| 68 |
## For Sequence Completion:
|
| 69 |
```python
|
| 70 |
-
from transformers import T5ForConditionalGeneration, T5Tokenizer
|
| 71 |
from transformers.generation import GenerationConfig
|
| 72 |
import torch
|
| 73 |
|
|
|
|
| 67 |
|
| 68 |
## For Sequence Completion:
|
| 69 |
```python
|
| 70 |
+
from transformers import T5ForConditionalGeneration, T5Tokenizer
|
| 71 |
from transformers.generation import GenerationConfig
|
| 72 |
import torch
|
| 73 |
|