Instructions to use usakha/Bart_multiNews_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use usakha/Bart_multiNews_model 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="usakha/Bart_multiNews_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("usakha/Bart_multiNews_model") model = AutoModelForSeq2SeqLM.from_pretrained("usakha/Bart_multiNews_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
1a25694
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (03c474605c63765ce9ec1c082c081a3597c64408) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>e6778d7
-
Update README.md
2fd4e78 -
Create README.md
b1001a2
-
Training in progress, step 5500
ef72318 -
Training in progress, step 3000
06b79e8 -
Training in progress, step 1500
611a753 -
Training in progress, step 1000
7506a1a -
Training in progress, step 500
718ea58 -
Training in progress, step 6500
13e61c8 -
Training in progress, step 6000
5e0577a -
Training in progress, step 5000
06982cc -
Training in progress, step 4500
57cad65 -
Training in progress, step 4000
227c067 -
Training in progress, step 3500
7a40281 -
Training in progress, step 3000
1e94fef -
Training in progress, step 1500
2555772 -
Training in progress, step 1000
94ff497 -
Training in progress, step 500
eec3b87 -
initial commit
d45f360