Token Classification
Transformers
PyTorch
English
roberta
keyphrase-extraction
Eval Results (legacy)
Instructions to use ml6team/keyphrase-extraction-kbir-inspec with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ml6team/keyphrase-extraction-kbir-inspec with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="ml6team/keyphrase-extraction-kbir-inspec")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("ml6team/keyphrase-extraction-kbir-inspec") model = AutoModelForTokenClassification.from_pretrained("ml6team/keyphrase-extraction-kbir-inspec", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit ·
6242d3b
1
Parent(s): 37d864e
Update README.md
Browse files
README.md
CHANGED
|
@@ -13,6 +13,19 @@ widget:
|
|
| 13 |
example_title: "Example 1"
|
| 14 |
- text: "In this work, we explore how to learn taskspecific language models aimed towards learning rich representation of keyphrases fromtext documents. We experiment with different masking strategies for pre-training transformer language models (LMs) in discriminative as well as generative settings. In thediscriminative setting, we introduce a newpre-training objective - Keyphrase BoundaryInfilling with Replacement (KBIR), showinglarge gains in performance (upto 9.26 pointsin F1) over SOTA, when LM pre-trained usingKBIR is fine-tuned for the task of keyphraseextraction. In the generative setting, we introduce a new pre-training setup for BART - KeyBART, that reproduces the keyphrases relatedto the input text in the CatSeq format, insteadof the denoised original input. This also ledto gains in performance (upto 4.33 points inF1@M) over SOTA for keyphrase generation.Additionally, we also fine-tune the pre-trainedlanguage models on named entity recognition(NER), question answering (QA), relation extraction (RE), abstractive summarization andachieve comparable performance with that ofthe SOTA, showing that learning rich representation of keyphrases is indeed beneficial formany other fundamental NLP tasks."
|
| 15 |
example_title: "Example 2"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
---
|
| 17 |
** Work in progress **
|
| 18 |
# 🔑 Keyphrase Extraction model: KBIR-inspec
|
|
|
|
| 13 |
example_title: "Example 1"
|
| 14 |
- text: "In this work, we explore how to learn taskspecific language models aimed towards learning rich representation of keyphrases fromtext documents. We experiment with different masking strategies for pre-training transformer language models (LMs) in discriminative as well as generative settings. In thediscriminative setting, we introduce a newpre-training objective - Keyphrase BoundaryInfilling with Replacement (KBIR), showinglarge gains in performance (upto 9.26 pointsin F1) over SOTA, when LM pre-trained usingKBIR is fine-tuned for the task of keyphraseextraction. In the generative setting, we introduce a new pre-training setup for BART - KeyBART, that reproduces the keyphrases relatedto the input text in the CatSeq format, insteadof the denoised original input. This also ledto gains in performance (upto 4.33 points inF1@M) over SOTA for keyphrase generation.Additionally, we also fine-tune the pre-trainedlanguage models on named entity recognition(NER), question answering (QA), relation extraction (RE), abstractive summarization andachieve comparable performance with that ofthe SOTA, showing that learning rich representation of keyphrases is indeed beneficial formany other fundamental NLP tasks."
|
| 15 |
example_title: "Example 2"
|
| 16 |
+
model-index:
|
| 17 |
+
- name: DeDeckerThomas/keyphrase-extraction-kbir-inspec
|
| 18 |
+
results:
|
| 19 |
+
- task:
|
| 20 |
+
type: keyphrase-extraction
|
| 21 |
+
name: Keyphrase Extraction
|
| 22 |
+
dataset:
|
| 23 |
+
type: midas/inspec
|
| 24 |
+
name: inspec
|
| 25 |
+
metrics:
|
| 26 |
+
- type: seqeval # Required. Example: wer
|
| 27 |
+
value: 0.58 # Required. Example: 20.90
|
| 28 |
+
name: F1-score # Optional. Example: Test WER
|
| 29 |
---
|
| 30 |
** Work in progress **
|
| 31 |
# 🔑 Keyphrase Extraction model: KBIR-inspec
|