Instructions to use chinhon/headline_writer2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use chinhon/headline_writer2 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("chinhon/headline_writer2") model = AutoModelForSeq2SeqLM.from_pretrained("chinhon/headline_writer2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download sample_input.pkl from chinhon/headline_writer2: direct link, hf CLI and curl.
- Browser
- Download file 33.6 kB
-
https://huggingface.co/chinhon/headline_writer2/resolve/main/sample_input.pkl
- Command line
-
hf download hf://chinhon/headline_writer2/sample_input.pkl
-
curl -L -o sample_input.pkl https://huggingface.co/chinhon/headline_writer2/resolve/main/sample_input.pkl
33.6 kB
- Xet hash:
- eb1814e56f2a213a00c6906302a0a8c6d5e6a41d2ba8e83414868110243a5900
- Size of remote file:
- 33.6 kB
- SHA256:
- bc09551ba90e7adf78b194b33f01e80ffafc40a8a3bfb3e0a943164177123aa7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.