Instructions to use amaibrah/long_doc_summarizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use amaibrah/long_doc_summarizer with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("amaibrah/long_doc_summarizer") model = AutoModelForSeq2SeqLM.from_pretrained("amaibrah/long_doc_summarizer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
First commit
This model was finetuned the facebook/bart-large-cnn model on data from launch/gov_report to summarize long documents.d8ffd01