Instructions to use sagteam/pharm-relation-extraction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sagteam/pharm-relation-extraction with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="sagteam/pharm-relation-extraction")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("sagteam/pharm-relation-extraction") model = AutoModelForSequenceClassification.from_pretrained("sagteam/pharm-relation-extraction", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
3147f0c | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:677834d1e2bf50b264496793d21721b5ffe6afa1c33a6d0bcda0b3898a6aaa8c
size 4479434769
|