Instructions to use shadowlilac/t5g-ak-2b-new with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shadowlilac/t5g-ak-2b-new with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("shadowlilac/t5g-ak-2b-new") model = AutoModelForMultimodalLM.from_pretrained("shadowlilac/t5g-ak-2b-new", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from shadowlilac/t5g-ak-2b-new: direct link, hf CLI and curl.
- Browser
- Download file 746 Bytes
-
https://huggingface.co/shadowlilac/t5g-ak-2b-new/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://shadowlilac/t5g-ak-2b-new/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/shadowlilac/t5g-ak-2b-new/resolve/main/tokenizer_config.json
746 Bytes
| { | |
| "backend": "tokenizers", | |
| "boi_token": "<start_of_image>", | |
| "bos_token": "<bos>", | |
| "clean_up_tokenization_spaces": false, | |
| "eoi_token": "<end_of_image>", | |
| "eos_token": "<eos>", | |
| "image_token": "<image_soft_token>", | |
| "is_local": false, | |
| "mask_token": "<mask>", | |
| "model_max_length": 1000000000000000019884624838656, | |
| "model_specific_special_tokens": { | |
| "boi_token": "<start_of_image>", | |
| "eoi_token": "<end_of_image>", | |
| "image_token": "<image_soft_token>" | |
| }, | |
| "pad_token": "<pad>", | |
| "padding_side": "right", | |
| "processor_class": "Gemma3Processor", | |
| "sp_model_kwargs": null, | |
| "spaces_between_special_tokens": false, | |
| "tokenizer_class": "TokenizersBackend", | |
| "unk_token": "<unk>", | |
| "use_default_system_prompt": false | |
| } | |