Instructions to use google/roberta2roberta_L-24_bbc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/roberta2roberta_L-24_bbc 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_bbc")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google/roberta2roberta_L-24_bbc") model = AutoModelForSeq2SeqLM.from_pretrained("google/roberta2roberta_L-24_bbc") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 86b39c8b01244ec5d60881d09111cfaeac021452ab9025bf2347cbd70f1a453e
- Size of remote file:
- 1.82 GB
- SHA256:
- 4343ca7009aca775e83d00909b564768db41a9b8604de4f662452a9cf049b21c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.