Commit
·
fdc913e
1
Parent(s):
cb78e8a
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
# For reference on model card metadata, see the spec: https://github.com/huggingface/hub-docs/blob/main/modelcard.md?plain=1
|
| 3 |
+
# Doc / guide: https://huggingface.co/docs/hub/model-cards
|
| 4 |
+
{}
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
# Model Card for Model ID
|
| 8 |
+
|
| 9 |
+
<!-- Performs sentence classification to determine whether a given sentence is a contribution sentence or not from the research paper-->
|
| 10 |
+
|
| 11 |
+
Performs sentence classification to determine whether a given sentence is a contribution sentence or not from the research paper
|
| 12 |
+
|
| 13 |
+
## Model Details
|
| 14 |
+
|
| 15 |
+
### Model Description
|
| 16 |
+
|
| 17 |
+
- **Model type:** text-classification
|
| 18 |
+
- **Language(s) (NLP):** EN
|
| 19 |
+
- **Finetuned from model:** allenai/scibert_scivocab_uncased
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
### How to Get Started with the Model
|
| 23 |
+
|
| 24 |
+
Use the code below to get started with the model.
|
| 25 |
+
```bash
|
| 26 |
+
from transformers import pipeline
|
| 27 |
+
from transformers import BertTokenizer, BertForSequenceClassification
|
| 28 |
+
model = BertForSequenceClassification.from_pretrained("Goutham-Vignesh/ContributionSentClassification-scibert")
|
| 29 |
+
|
| 30 |
+
tokenizer=BertTokenizer.from_pretrained('Goutham-Vignesh/ContributionSentClassification-scibert')
|
| 31 |
+
text_classification = pipeline('text-classification', model=model, tokenizer=tokenizer)
|
| 32 |
+
```
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
|