Run this model with HF Jobs

Run hongccccccc/scibert-citation-background-classifier on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/hongccccccc/scibert-citation-background-classifier. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/hongccccccc/scibert-citation-background-classifier on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

SciBERT Citation-Background Classifier

allenai/scibert_scivocab_uncased fine-tuned as a binary classifier of citation intent: does a citation sentence cite prior work as background (BACKGROUND) or for any other reason (NOT_BACKGROUND)?

Labels

id label meaning
0 NOT_BACKGROUND citation used for method, comparison, extension, motivation…
1 BACKGROUND citation provides background/context for the citing paper

How to use

from transformers import pipeline

clf = pipeline("text-classification", model="hongccccccc/scibert-citation-background-classifier")
clf("Deep learning has achieved remarkable success in many NLP tasks [1, 2].")
# [{'label': 'BACKGROUND', 'score': ...}]

Training

  • Base model: SciBERT (uncased, scivocab; BertForSequenceClassification, single-label, 2 classes)
  • Data: the combined annotated citation contexts of SciCite (Cohan et al., 2019) and MultiCite (Lauscher et al., 2022) — 27,052 instances, 11,635 (43%) labeled BACKGROUND
  • Fine-tuned: August 2023, transformers 4.32.0

Evaluation

F1 score of 0.81 on a held-out test set (80-20 train-test split of the combined dataset).

Downloads last month
19
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for hongccccccc/scibert-citation-background-classifier

Finetuned
(141)
this model

Dataset used to train hongccccccc/scibert-citation-background-classifier