Instructions to use valurank/final_headline_generator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use valurank/final_headline_generator with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("valurank/final_headline_generator") model = AutoModelForSeq2SeqLM.from_pretrained("valurank/final_headline_generator", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from valurank/final_headline_generator: direct link, hf CLI and curl.
- Browser
- Download file 6.6 MB
-
https://huggingface.co/valurank/final_headline_generator/resolve/refs%2Fpr%2F2/tokenizer.json
- Command line
-
hf download hf://valurank/final_headline_generator@refs/pr/2/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/valurank/final_headline_generator/resolve/refs%2Fpr%2F2/tokenizer.json
6.6 MB
File too large to display, you can check the raw version instead.