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