Instructions to use Ayham/bert_gpt2_summarization_cnndm_new with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Ayham/bert_gpt2_summarization_cnndm_new with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Ayham/bert_gpt2_summarization_cnndm_new") model = AutoModelForSeq2SeqLM.from_pretrained("Ayham/bert_gpt2_summarization_cnndm_new", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
eafb5c7 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:de72ea340f5295db53daa80465f46bcda6d39048714224c248ae7a88a5183c00
size 2991
|