Instructions to use transformersbook/pegasus-samsum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use transformersbook/pegasus-samsum with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("transformersbook/pegasus-samsum") model = AutoModelForSeq2SeqLM.from_pretrained("transformersbook/pegasus-samsum", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 313 Bytes
236684a | 1 2 3 | timestamp,experiment_id,project_name,duration,emissions,energy_consumed,country_name,country_iso_code,region,on_cloud,cloud_provider,cloud_region
2021-10-25T15:44:00,204cadec-e6c5-4a11-9720-2af0c1662986,codecarbon,1505.486463546753,0.04448395156224394,0.07817917673505086,Netherlands,NLD,nan,Y,gcp,europe-west4
|