Instructions to use google/roberta2roberta_L-24_cnn_daily_mail with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/roberta2roberta_L-24_cnn_daily_mail with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("summarization", model="google/roberta2roberta_L-24_cnn_daily_mail")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google/roberta2roberta_L-24_cnn_daily_mail") model = AutoModelForSeq2SeqLM.from_pretrained("google/roberta2roberta_L-24_cnn_daily_mail", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- b14d0688563076c631b426e2b1e630656e39eaa46833fc74200d88965b82e8fc
- Size of remote file:
- 1.82 GB
- SHA256:
- 5deb3b6bf4b4b1b117700a6f06464cb1bfa79cb51893afcd5fa3917cfbba39c6
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.