Instructions to use krm/BARTkrame-abstract with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use krm/BARTkrame-abstract 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="krm/BARTkrame-abstract")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("krm/BARTkrame-abstract") model = AutoModelForSeq2SeqLM.from_pretrained("krm/BARTkrame-abstract", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
ed33634 -
Update README.md
c07c1d7 -
Update README.md
7dca35c
-
update model card README.md
a1c77a2 -
Training good 2
c179b9d -
Training in progress, step 500
68a4cd1 -
update model card README.md
6d67b70 -
Training good 1
aaee5fe -
Training in progress, step 500
a9c98c5
-
initial commit
e990f32