How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="ml4pubmed/albert-base-v2_pub_section")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("ml4pubmed/albert-base-v2_pub_section")
model = AutoModelForSequenceClassification.from_pretrained("ml4pubmed/albert-base-v2_pub_section")
Quick Links

albert-base-v2_pub_section

  • original model file name: textclassifer_albert-base-v2_pubmed_full
  • This is a fine-tuned checkpoint of albert-base-v2 for document section text classification
  • possible document section classes are:BACKGROUND, CONCLUSIONS, METHODS, OBJECTIVE, RESULTS,

metadata

training_parameters

  • date_run: Apr-26-2022_t-04

  • huggingface_tag: albert-base-v2

Downloads last month
6
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train ml4pubmed/albert-base-v2_pub_section