Instructions to use uclanlp/scibart-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
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")# 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") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from uclanlp/scibart-large: direct link, hf CLI and curl.
- Browser
- Download file 1.16 kB
-
https://huggingface.co/uclanlp/scibart-large/resolve/main/README.md
- Command line
-
hf download hf://uclanlp/scibart-large/README.md
-
curl -L -o README.md https://huggingface.co/uclanlp/scibart-large/resolve/main/README.md
1.16 kB
metadata
license: mit
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:
- Pre-trained from scratch with a science vocabulary
- Batch size: 2048
- Total steps: 250k
- Learning rate: 3e-4
- LR schedule: polynomial with 10k warmup steps
- Masking ratio: 30%, Poisson lambda = 3.5