Summarization
Transformers
PyTorch
TensorBoard
bart
text2text-generation
Generated from Trainer
Eval Results (legacy)
Instructions to use cs608/billsum-model-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cs608/billsum-model-2 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="cs608/billsum-model-2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("cs608/billsum-model-2") model = AutoModelForSeq2SeqLM.from_pretrained("cs608/billsum-model-2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
update model card README.md
a9e694f -
Training complete
d20ca6c -
Training in progress, step 5000
c29eba9 -
Training in progress, step 4500
ed68e17 -
Training in progress, step 4000
0a8efe9 -
Training in progress, step 3500
cf75ce0 -
Training in progress, step 3000
8e3ea2f -
Training in progress, step 2500
3134917 -
Training in progress, step 2000
9e56783 -
Training in progress, step 1500
d6c38dd -
Training in progress, step 1000
af8e12a -
Training in progress, step 500
0a72ad4 -
initial commit
0350228