Instructions to use tau/bart-base-sled with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tau/bart-base-sled with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tau/bart-base-sled", device_map="auto") - Notebooks
- Google Colab
- Kaggle
maorivgi commited on
Commit ·
f600476
1
Parent(s): e9fe9e0
added tokenizer class
Browse files- tokenizer_config.json +1 -0
tokenizer_config.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"base_tokenizer": "facebook/bart-base",
|
| 3 |
"model_max_length": 16384
|
| 4 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"tokenizer_class": "SledTokenizer",
|
| 3 |
"base_tokenizer": "facebook/bart-base",
|
| 4 |
"model_max_length": 16384
|
| 5 |
}
|