Pre-trained Language Models for Keyphrase Generation: A Thorough Empirical Study
Paper โข 2212.10233 โข Published
Run uclanlp/scibart-large 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:
Use HF Jobs to fine-tune https://huggingface.co/uclanlp/scibart-large. 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.
Use HF Jobs to run batch inference with https://huggingface.co/uclanlp/scibart-large 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.
How to use uclanlp/scibart-large with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="uclanlp/scibart-large") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("uclanlp/scibart-large")
model = AutoModel.from_pretrained("uclanlp/scibart-large", device_map="auto")Note: please check DeepKPG for using this model in huggingface, including setting up the newly trained tokenizer.
Paper: Pre-trained Language Models for Keyphrase Generation: A Thorough Empirical Study
@article{https://doi.org/10.48550/arxiv.2212.10233,
doi = {10.48550/ARXIV.2212.10233},
url = {https://arxiv.org/abs/2212.10233},
author = {Wu, Di and Ahmad, Wasi Uddin and Chang, Kai-Wei},
keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
title = {Pre-trained Language Models for Keyphrase Generation: A Thorough Empirical Study},
publisher = {arXiv},
year = {2022},
copyright = {Creative Commons Attribution 4.0 International}
}
Pre-training Corpus: S2ORC (titles and abstracts)
Pre-training Details: