Instructions to use barthfab/drugprot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use barthfab/drugprot with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="barthfab/drugprot")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("barthfab/drugprot") model = AutoModel.from_pretrained("barthfab/drugprot") - Notebooks
- Google Colab
- Kaggle
added tokens
#5
by barthfab - opened
- added_tokens.json +1 -0
added_tokens.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"[HEAD-S]": 28895, "[HEAD-E]": 28896, "[TAIL-S]": 28897, "[TAIL-E]": 28898}
|