BioSyn
Collection
This collection hosts BioSyn (ACL 2020) series, for learning representations of biomedical entities based on their synonyms. • 8 items • Updated
How to use dmis-lab/biosyn-biobert-bc5cdr-chemical with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="dmis-lab/biosyn-biobert-bc5cdr-chemical") # Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("dmis-lab/biosyn-biobert-bc5cdr-chemical")
model = AutoModel.from_pretrained("dmis-lab/biosyn-biobert-bc5cdr-chemical")No model card