Instructions to use jkawamoto/arxiv-summarization-t5-base-ct2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jkawamoto/arxiv-summarization-t5-base-ct2 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="jkawamoto/arxiv-summarization-t5-base-ct2")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("jkawamoto/arxiv-summarization-t5-base-ct2", dtype="auto") - Notebooks
- Google Colab
- Kaggle
arxiv-summarization-t5-base-ct2
This is a version of farleyknight/arxiv-summarization-t5-base-2022-09-21 converted for use with CTranslate2. The conversion was performed using the following command:
ct2-transformers-converter --model farleyknight/arxiv-summarization-t5-base-2022-09-21 \
--output_dir arxiv-summarization-t5-base-ct2 \
--copy_files special_tokens_map.json tokenizer.json tokenizer_config.json
License
This adaptation is based on farleyknight/arxiv-summarization-t5-base-2022-09-21, originally provided under the Apache 2.0 License. Modifications were made for compatibility with CTranslate2. Despite these modifications, this adapted version continues to be distributed under the Apache 2.0 License, honoring the original licensing terms.
- Downloads last month
- 1