Instructions to use gbhong/BiomedBERT-fulltext_finetuned_DiMB-RE_FD with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gbhong/BiomedBERT-fulltext_finetuned_DiMB-RE_FD with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="gbhong/BiomedBERT-fulltext_finetuned_DiMB-RE_FD")# Load model directly from transformers import AutoTokenizer, BertForRelation tokenizer = AutoTokenizer.from_pretrained("gbhong/BiomedBERT-fulltext_finetuned_DiMB-RE_FD") model = BertForRelation.from_pretrained("gbhong/BiomedBERT-fulltext_finetuned_DiMB-RE_FD") - Notebooks
- Google Colab
- Kaggle
Ctrl+K