Downloads · 30 days
17
2% of all-time downloads
ml4pubmed/scibert-scivocab-uncased_pub_section
scibert-scivocab-uncased_pub_section is a text classification model from ml4pubmed. Use it when you need a label for a piece of text. It is set up for transformers.
- original model file name: textclassiferscibertscivocabuncasedpubmedfull - This is a fine-tuned checkpoint of allenai/scibertscivocabuncased for document section text classification - possible document section classe…
Downloads · 30 days
17
2% of all-time downloads
All-time downloads
998
Public
Parameters
110M
879 MB on disk
Likes
1
Public
Click a slice to open those files.
.bin440 MB · 50%
How the weights are stored.
F32110M · 100%
From the Hugging Face model README
allenai/scibert_scivocab_uncased for document section text classificationinstall transformers as needed: pip install -U transformers
run the following, changing the example text to your use case:
from transformers import pipeline
model_tag = "ml4pubmed/scibert-scivocab-uncased_pub_section"
classifier = pipeline(
'text-classification',
model=model_tag,
)
prompt = """
Experiments on two machine translation tasks show these models to be superior in quality while being more parallelizable and requiring significantly less time to train.
"""
classifier(
prompt,
) # classify the sentence
date_run: Apr-25-2022_t-03
huggingface_tag: allenai/scibert_scivocab_uncased
date_run: Apr-25-2022_t-03
huggingface_tag: allenai/scibert_scivocab_uncased