Instructions to use nkn002/ctrlsum_bart_base_640k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nkn002/ctrlsum_bart_base_640k with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("nkn002/ctrlsum_bart_base_640k") model = AutoModelForSeq2SeqLM.from_pretrained("nkn002/ctrlsum_bart_base_640k", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 146 Bytes
7cdf92c | 1 2 3 4 5 6 | {
"clean_up_tokenization_spaces": true,
"model_max_length": 1000000000000000019884624838656,
"tokenizer_class": "PreTrainedTokenizerFast"
}
|