Instructions to use Amdalotaibi/AraBART-traffics-summarization-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Amdalotaibi/AraBART-traffics-summarization-2 with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Amdalotaibi/AraBART-traffics-summarization-2") model = AutoModelForSeq2SeqLM.from_pretrained("Amdalotaibi/AraBART-traffics-summarization-2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 258 Bytes
e7d0871 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | {
"bos_token_id": 0,
"decoder_start_token_id": 2,
"early_stopping": true,
"eos_token_id": 2,
"forced_eos_token_id": 2,
"max_new_tokens": 32,
"no_repeat_ngram_size": 3,
"num_beams": 4,
"pad_token_id": 1,
"transformers_version": "4.44.2"
}
|