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 generation_config.json from shadowlilac/t5g-ak-2b-new: direct link, hf CLI and curl.
- Browser
- Download file 193 Bytes
-
https://huggingface.co/shadowlilac/t5g-ak-2b-new/resolve/main/generation_config.json
- Command line
-
hf download hf://shadowlilac/t5g-ak-2b-new/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/shadowlilac/t5g-ak-2b-new/resolve/main/generation_config.json
193 Bytes
| { | |
| "bos_token_id": 2, | |
| "cache_implementation": "hybrid", | |
| "do_sample": true, | |
| "eos_token_id": 1, | |
| "pad_token_id": 0, | |
| "top_k": 64, | |
| "top_p": 0.95, | |
| "transformers_version": "5.0.0rc3" | |
| } | |