Instructions to use tobiges/behavior_fast with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tobiges/behavior_fast with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tobiges/behavior_fast", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload processor
Browse files- processing_action_tokenizer.py +2 -2
- tokenizer.json +0 -0
processing_action_tokenizer.py
CHANGED
|
@@ -156,8 +156,8 @@ class UniversalActionProcessor(ProcessorMixin):
|
|
| 156 |
min_frequency=2,
|
| 157 |
show_progress=True,
|
| 158 |
special_tokens=[],
|
| 159 |
-
|
| 160 |
-
initial_alphabet=alphabet,
|
| 161 |
max_token_length=10000,
|
| 162 |
)
|
| 163 |
tokenizer.train_from_iterator(
|
|
|
|
| 156 |
min_frequency=2,
|
| 157 |
show_progress=True,
|
| 158 |
special_tokens=[],
|
| 159 |
+
initial_alphabet=pre_tokenizers.ByteLevel.alphabet(),
|
| 160 |
+
# initial_alphabet=alphabet,
|
| 161 |
max_token_length=10000,
|
| 162 |
)
|
| 163 |
tokenizer.train_from_iterator(
|
tokenizer.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|