Instructions to use scott156/LED-Base-NSPCC with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use scott156/LED-Base-NSPCC with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("scott156/LED-Base-NSPCC") model = AutoModelForSeq2SeqLM.from_pretrained("scott156/LED-Base-NSPCC", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 205 Bytes
8d47ca2 | 1 2 3 4 5 6 7 8 9 10 11 | {
"bos_token_id": 0,
"decoder_start_token_id": 2,
"eos_token_id": 2,
"max_new_tokens": 400,
"no_repeat_ngram_size": 5,
"num_beams": 3,
"pad_token_id": 1,
"transformers_version": "4.40.1"
}
|