Summarization
Transformers
PyTorch
Safetensors
English
bart
text2text-generation
Generated from Trainer
Instructions to use Sidharthkr/InstructTweetSummarizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Sidharthkr/InstructTweetSummarizer 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="Sidharthkr/InstructTweetSummarizer")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Sidharthkr/InstructTweetSummarizer") model = AutoModelForSeq2SeqLM.from_pretrained("Sidharthkr/InstructTweetSummarizer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 5ba1bee749c8a14ee05865fe535c0539f1a99c9eaf62f7b56b8675815a32e5dd
- Size of remote file:
- 4.66 kB
- SHA256:
- 21af4c0dcb418ec5753bb0293ad8df699e767a7a156c565b38d83ec4b2b3b0a2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.