Summarization
Transformers
PyTorch
Safetensors
bart
text2text-generation
Generated from Trainer
hindi
seq2seq
Instructions to use Someman/bart-hindi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Someman/bart-hindi 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="Someman/bart-hindi")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Someman/bart-hindi") model = AutoModelForSeq2SeqLM.from_pretrained("Someman/bart-hindi", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Librarian Bot: Add base_model information to model (#2)
- Librarian Bot: Add base_model information to model (029c15f273a92a5bafff5f72e033e97c85156f0a) Co-authored-by: Librarian Bot (Bot) <librarian-bot@users.noreply.huggingface.co>791903e -
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (7366713dc8af96f6b555978c1fbca0ec8c581a40) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>c7c1a4f
-
added details
d4793b0 -
fix**
bf82c6f -
fixed url
68ed932 -
added dataset
624fc21 -
uploaded files
31ad2cd -
initial commit
e541f1a