Instructions to use Rakshitaa/Text_summarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Rakshitaa/Text_summarization 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="Rakshitaa/Text_summarization")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Rakshitaa/Text_summarization") model = AutoModelForSeq2SeqLM.from_pretrained("Rakshitaa/Text_summarization", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
ee9fc7c -
Upload 2 files
2fa8cee -
Upload multilinguasummarizer.py
d6bd025 -
Delete Untitled31.ipynb
82685d2 -
Update README.md
3b38dd2
-
Upload config.json
0b44210 -
Update README.md
1e8ecf7 -
Update README.md
2e86fb6 -
Update README.md
cba1e53 -
Update README.md
be5607d -
Update README.md
b0bd993 -
Update README.md
7490399 -
Upload Untitled31.ipynb
277767c -
Update README.md
2730e85 -
Create README.md
28dbe97 -
initial commit
e51d635