Instructions to use GenerTeam/GENERanno-prokaryote-0.5b-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GenerTeam/GENERanno-prokaryote-0.5b-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="GenerTeam/GENERanno-prokaryote-0.5b-base", trust_remote_code=True)# Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("GenerTeam/GENERanno-prokaryote-0.5b-base", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -17,7 +17,7 @@ In addition, we present [GENERanno-prokaryote-0.5b-cds-annotator-preview](https:
|
|
| 17 |
The code and implementation details are available on Github: [https://github.com/GenerTeam/GENERanno](https://github.com/GenerTeam/GENERanno).
|
| 18 |
|
| 19 |
## How to use
|
| 20 |
-
###
|
| 21 |
|
| 22 |
```python
|
| 23 |
|
|
|
|
| 17 |
The code and implementation details are available on Github: [https://github.com/GenerTeam/GENERanno](https://github.com/GenerTeam/GENERanno).
|
| 18 |
|
| 19 |
## How to use
|
| 20 |
+
### Example: Embedding Extraction
|
| 21 |
|
| 22 |
```python
|
| 23 |
|