Instructions to use DriveMyScream/News_Summarization_Model_hf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DriveMyScream/News_Summarization_Model_hf with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("DriveMyScream/News_Summarization_Model_hf") model = AutoModelForSeq2SeqLM.from_pretrained("DriveMyScream/News_Summarization_Model_hf", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
6983bbc | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:b3843ac1644a4ef1787a8a7ec81aefc10ce136b96db028be2c5c61b4e4e385cc
size 373902664
|