Run this model with HF Jobs
Run snrspeaks/KeyPhraseTransformer 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:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/snrspeaks/KeyPhraseTransformer. 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.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/snrspeaks/KeyPhraseTransformer 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.
Instructions to use snrspeaks/KeyPhraseTransformer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use snrspeaks/KeyPhraseTransformer with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("snrspeaks/KeyPhraseTransformer") model = AutoModelForSeq2SeqLM.from_pretrained("snrspeaks/KeyPhraseTransformer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
model documentation
#2
by nazneen - opened
123---license: mit---123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172—license: mittags:- text-2-text-generation---# Model Card for Key Phrase Transformer# Model Details## Model DescriptionKeyPhraseTransformer lets you quickly extract key phrases, topics, themes from your text data with T5 transformer- **Developed by:** Shivanand Roy- **Shared by [Optional]:** Shivanand Roy- **Model type:** Text2Text Generation- **Language(s) (NLP):** More information needed- **License:** MIT- **Parent Model:** T5- **Resources for more information:**- [GitHub Repo](https://github.com/Shivanandroy/KeyPhraseTransformer)- [Blog Post](https://snrspeaks.medium.com/keyphrasetransformer-quickly-extract-keyphrases-topics-from-text-documents-with-t5-transformer-dfb819716c23)# Uses## Direct UseThis model can be used for the task of text2text generation.## Downstream Use [Optional]More information needed.## Out-of-Scope UseThe model should not be used to intentionally create hostile or alienating environments for people.# Bias, Risks, and LimitationsSignificant research has explored bias and fairness issues with language models (see, e.g., [Sheng et al. (2021)](https://aclanthology.org/2021.acl-long.330.pdf) and [Bender et al. (2021)](https://dl.acm.org/doi/pdf/10.1145/3442188.3445922)). Predictions generated by the model may include disturbing and harmful stereotypes across protected classes; identity characteristics; and sensitive, social, and occupational groups.## RecommendationsUsers (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.# Training Details## Training DataThe model authors notes in the [GitHub Repo](https://github.com/Shivanandroy/KeyPhraseTransformer):> Trained on 500,000 training samples## Training Procedure### PreprocessingMore information needed### Speeds, Sizes, TimesMore information needed# Evaluation## Testing Data, Factors & Metrics### Testing DataMore information needed### FactorsMore information needed### MetricsMore information needed## ResultsMore information needed# Model ExaminationMore information needed# Environmental ImpactCarbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).- **Hardware Type:** More information needed- **Hours used:** More information needed- **Cloud Provider:** More information needed- **Compute Region:** More information needed- **Carbon Emitted:** More information needed# Technical Specifications [optional]## Model Architecture and ObjectiveMore information needed## Compute InfrastructureMore information needed### HardwareMore information needed### SoftwareMore information needed.# Citation**BibTeX:**More information needed.# Glossary [optional]More information needed# More Information [optional]More information needed# Model Card Authors [optional]Shivanand Roy in collaboration with Ezi Ozoani and the Hugging Face team# Model Card ContactMore information needed# How to Get Started with the ModelUse the code below to get started with the model.<details><summary> Click to expand </summary>```pythonfrom transformers import AutoTokenizer, AutoModelForSeq2SeqLMtokenizer = AutoTokenizer.from_pretrained("snrspeaks/KeyPhraseTransformer")model = AutoModelForSeq2SeqLM.from_pretrained("snrspeaks/KeyPhraseTransformer")```</details>
README.md+172-3