Instructions to use FoundationVision/unitok_mllm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FoundationVision/unitok_mllm with Transformers:
# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("FoundationVision/unitok_mllm", dtype="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "attn_implementation": "flash_attention_2", | |
| "bos_token_id": 1, | |
| "do_sample": true, | |
| "eos_token_id": 2, | |
| "max_length": 4096, | |
| "pad_token_id": 0, | |
| "temperature": 0.6, | |
| "top_p": 0.9, | |
| "transformers_version": "4.39.2" | |
| } | |