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="Goutham-Vignesh/ContributionSentClassification-scibert")
# Load model directly
from transformers import AutoModelForSequenceClassification
model = AutoModelForSequenceClassification.from_pretrained("Goutham-Vignesh/ContributionSentClassification-scibert", dtype="auto")
Quick Links

Performs sentence classification to determine whether a given sentence is a contribution sentence or not from the research paper

Model Details

Model Description

  • Model type: text-classification
  • Language(s) (NLP): EN
  • Finetuned from model: allenai/scibert_scivocab_uncased

How to Get Started with the Model

Use the code below to get started with the model.

from transformers import pipeline
from transformers import BertTokenizer, BertForSequenceClassification
model = BertForSequenceClassification.from_pretrained("Goutham-Vignesh/ContributionSentClassification-scibert")

tokenizer=BertTokenizer.from_pretrained('Goutham-Vignesh/ContributionSentClassification-scibert')
text_classification = pipeline('text-classification', model=model, tokenizer=tokenizer)
Downloads last month
33
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support