Instructions to use BAAI/Emu3.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BAAI/Emu3.5 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("BAAI/Emu3.5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from BAAI/Emu3.5: direct link, hf CLI and curl.
- Browser
- Download file 147 Bytes
-
https://huggingface.co/BAAI/Emu3.5/resolve/main/generation_config.json
- Command line
-
hf download hf://BAAI/Emu3.5/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/BAAI/Emu3.5/resolve/main/generation_config.json
147 Bytes
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 151849, | |
| "eos_token_id": 151850, | |
| "pad_token_id": 151643, | |
| "transformers_version": "4.48.2" | |
| } | |