Downloads · 30 days
14
8% of all-time downloads
ZoeDuan/research-keyword-extractor
research-keyword-extractor is a text generation model from ZoeDuan. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
This is a fine-tuned T5-small model specifically trained for extracting keywords from research paper titles. The model takes a research paper title as input and generates relevant keywords that capture the main topics…
Downloads · 30 days
14
8% of all-time downloads
All-time downloads
182
Public
Repo size
484 MB
Likes
0
Public
Click a slice to open those files.
.bin242 MB · 100%
From the Hugging Face model README
This is a fine-tuned T5-small model specifically trained for extracting keywords from research paper titles. The model takes a research paper title as input and generates relevant keywords that capture the main topics, methodologies, and application domains.
from transformers import T5Tokenizer, T5ForConditionalGeneration
# Load model and tokenizer
tokenizer = T5Tokenizer.from_pretrained("ZoeDuan/research-keyword-extractor")
model = T5ForConditionalGeneration.from_pretrained("ZoeDuan/research-keyword-extractor")
def extract_keywords(title):
input_text = f"extract keywords: {title}"
input_ids = tokenizer(input_text, return_tensors="pt", truncation=True, max_length=96).input_ids
outputs = model.generate(
input_ids,
max_length=48,
num_beams=4,
no_repeat_ngram_size=2,
early_stopping=True,
do_sample=True,
temperature=0.8
)
keywords = tokenizer.decode(outputs[0], skip_special_tokens=True)
return keywords
# Example usage
title = "Machine Learning for Natural Language Processing Applications"
keywords = extract_keywords(title)
print(keywords)
# Expected output: Machine Learning, Natural Language Processing, NLP, AI, Text Processing
| Input Title | Generated Keywords |
|---|---|
| Deep Learning for Computer Vision Applications | Deep Learning, Computer Vision, Neural Networks, AI, Image Processing |
| Quantum Computing in Cryptography and Security | Quantum Computing, Cryptography, Security, Quantum Algorithms, Cybersecurity |
| IoT and Edge Computing for Smart Cities | IoT, Edge Computing, Smart Cities, Internet of Things, Urban Technology |
The model has been trained on diverse research domains and can extract:
This model is released under the Apache 2.0 license.
If you use this model in your research, please cite:
@misc{research-keyword-extractor,
title={Research Paper Keyword Extractor},
author={Zoe Duan},
year={2025},
url={https://huggingface.co/ZoeDuan/research-keyword-extractor}
}