Image-Text-to-Text
Transformers
Safetensors
English
qwen3_5
text-generation-inference
unsloth
Monkey-1.0
conversational
Instructions to use Little-AI/Monkey-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Little-AI/Monkey-1.0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Little-AI/Monkey-1.0") 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("Little-AI/Monkey-1.0") model = AutoModelForMultimodalLM.from_pretrained("Little-AI/Monkey-1.0", 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 Little-AI/Monkey-1.0 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Little-AI/Monkey-1.0" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Little-AI/Monkey-1.0", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/Little-AI/Monkey-1.0
- SGLang
How to use Little-AI/Monkey-1.0 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 "Little-AI/Monkey-1.0" \ --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": "Little-AI/Monkey-1.0", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "Little-AI/Monkey-1.0" \ --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": "Little-AI/Monkey-1.0", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Unsloth Desktop
- Docker Model Runner
How to use Little-AI/Monkey-1.0 with Docker Model Runner:
docker model run hf.co/Little-AI/Monkey-1.0
Commit History
Yesterday
-
Preserve existing model card after training
Verified signatureea78925 -
Unsloth Model Card
Verified signature722699b -
Update README.md
Verified signature8d83ce6
2 days ago
-
Update README.md
Verified signature561a0ee -
Update README.md
Verified signature568cf85 -
Unsloth Model Card
Verified signature52267a4 -
Update README.md
Verified signature71c5363
3 days ago
-
Update README.md
Little AIVerified signatureb4c373f -
README.md
Little AIVerified signature# 🐒 Monkey 1.0 **Monkey 1.0** (`monkey-1-0`) is **Little AI's first model**, trained from scratch on Kaggle. It was upgraded with **weight space programming** by Claude Fable 5.2 (xhigh) to squeeze out more capability. ## 📊 Model Info | | | |---|---| | **Name** | Monkey 1.0 | | **Developer** | Little AI | | **Parameters** | 10B | | **Training platform** | Kaggle | | **Training steps** | 500 max | | **Skills** | Chat, coding, math | ## 📚 Training Data Trained on a mix of Hugging Face datasets: | Skill | Dataset | Samples | |---|---|---| | 💬 Chat | `HuggingFaceH4/ultrachat_200k` | 5,000 | | 💻 Code | `ise-uiuc/Magicoder-OSS-Instruct-75K` | 3,000 | | ➗ Math | `meta-math/MetaMathQA` | 3,000 | ```python chat_ds = load_dataset("HuggingFaceH4/ultrachat_200k", split="train_sft[:5000]") code_ds = load_dataset("ise-uiuc/Magicoder-OSS-Instruct-75K", split="train[:3000]") math_ds = load_dataset("meta-math/MetaMathQA", split="train[:3000]") ``` > 📝 More datasets may be added in future…a3776d6
6 days ago
-
Delete README.md
Little AIVerified signature6e43019
7 days ago
-
Unsloth Model Card
Rogen LittleVerified signature7448d3b