Instructions to use usakha/Bart_GovReport_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use usakha/Bart_GovReport_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_GovReport_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("usakha/Bart_GovReport_model") model = AutoModelForSeq2SeqLM.from_pretrained("usakha/Bart_GovReport_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
b192da1
-
Update README.md
5cfc5ce
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (8223debf38e13d4f9b51f7f91c55dafd5c93ce50) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>6e17777
-
Create README.md
d23efa9 -
Training in progress, step 2500
a204883 -
Training in progress, step 1500
32b1ec0 -
Training in progress, step 500
39d0a70 -
initial commit
230fec9