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