Text Classification
Transformers
Safetensors
English
bert
scientific-text
citation-intent
text-embeddings-inference
Instructions to use hongccccccc/scibert-citation-background-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hongccccccc/scibert-citation-background-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hongccccccc/scibert-citation-background-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hongccccccc/scibert-citation-background-classifier") model = AutoModelForSequenceClassification.from_pretrained("hongccccccc/scibert-citation-background-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -9,6 +9,7 @@ tags:
|
|
| 9 |
- citation-intent
|
| 10 |
datasets:
|
| 11 |
- allenai/multicite
|
|
|
|
| 12 |
widget:
|
| 13 |
- text: "Deep learning has achieved remarkable success in many NLP tasks [1, 2]."
|
| 14 |
example_title: "Background citation"
|
|
@@ -40,7 +41,7 @@ clf("Deep learning has achieved remarkable success in many NLP tasks [1, 2].")
|
|
| 40 |
## Training
|
| 41 |
|
| 42 |
- **Base model:** SciBERT (uncased, scivocab; `BertForSequenceClassification`, single-label, 2 classes)
|
| 43 |
-
- **Data:** citation contexts
|
| 44 |
- **Fine-tuned:** August 2023, `transformers` 4.32.0
|
| 45 |
|
| 46 |
## Evaluation
|
|
|
|
| 9 |
- citation-intent
|
| 10 |
datasets:
|
| 11 |
- allenai/multicite
|
| 12 |
+
- allenai/scicite
|
| 13 |
widget:
|
| 14 |
- text: "Deep learning has achieved remarkable success in many NLP tasks [1, 2]."
|
| 15 |
example_title: "Background citation"
|
|
|
|
| 41 |
## Training
|
| 42 |
|
| 43 |
- **Base model:** SciBERT (uncased, scivocab; `BertForSequenceClassification`, single-label, 2 classes)
|
| 44 |
+
- **Data:** the combined citation contexts of [MultiCite](https://github.com/allenai/multicite) and [SciCite](https://github.com/allenai/scicite) — intent `background` → `BACKGROUND`, all other intents → `NOT_BACKGROUND`
|
| 45 |
- **Fine-tuned:** August 2023, `transformers` 4.32.0
|
| 46 |
|
| 47 |
## Evaluation
|