Text Generation
Transformers
Safetensors
English
inkling2_loop
image-text-to-text
looped-transformer
Mixture of Experts
recursive-self-improvement
inkblot-2-mini
rse-looper
conversational
Eval Results
8-bit precision
modelopt
Instructions to use Ex0bit/Inkblot-2-mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Ex0bit/Inkblot-2-mini with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Ex0bit/Inkblot-2-mini") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Ex0bit/Inkblot-2-mini") model = AutoModelForMultimodalLM.from_pretrained("Ex0bit/Inkblot-2-mini", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Ex0bit/Inkblot-2-mini with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Ex0bit/Inkblot-2-mini" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Ex0bit/Inkblot-2-mini", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Ex0bit/Inkblot-2-mini
- SGLang
How to use Ex0bit/Inkblot-2-mini with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Ex0bit/Inkblot-2-mini" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Ex0bit/Inkblot-2-mini", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Ex0bit/Inkblot-2-mini" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Ex0bit/Inkblot-2-mini", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Ex0bit/Inkblot-2-mini with Docker Model Runner:
docker model run hf.co/Ex0bit/Inkblot-2-mini
Download assets/fig3_multigen_and_benchmarks.png from Ex0bit/Inkblot-2-mini: direct link, hf CLI and curl.
- Browser
- Download file 161 kB
-
https://huggingface.co/Ex0bit/Inkblot-2-mini/resolve/main/assets/fig3_multigen_and_benchmarks.png
- Command line
-
hf download hf://Ex0bit/Inkblot-2-mini/assets/fig3_multigen_and_benchmarks.png
-
curl -L -o fig3_multigen_and_benchmarks.png https://huggingface.co/Ex0bit/Inkblot-2-mini/resolve/main/assets/fig3_multigen_and_benchmarks.png
161 kB

- Xet hash:
- 980082b0498d0ffc319e1bee8751ad8ec433497c33e71e9e5d098e53c76f6395
- Size of remote file:
- 161 kB
- SHA256:
- 9a0aa61af1bc95f74ca6866b7dff84b19671ca51b9178b85c85fc3e0437789d5
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.