ncbi/pubmed
Updated โข 1.29k โข 163
How to use ml4pubmed/BioM-BERT-PubMed-PMC-Large_pub_section with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="ml4pubmed/BioM-BERT-PubMed-PMC-Large_pub_section") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("ml4pubmed/BioM-BERT-PubMed-PMC-Large_pub_section")
model = AutoModelForSequenceClassification.from_pretrained("ml4pubmed/BioM-BERT-PubMed-PMC-Large_pub_section")sultan/BioM-BERT-PubMed-PMC-Large for document section text classificationdate_run: Apr-23-2022_t-04
huggingface_tag: sultan/BioM-BERT-PubMed-PMC-Large
date_run: Apr-23-2022_t-04
huggingface_tag: sultan/BioM-BERT-PubMed-PMC-Large