Image-Text-to-Text
Transformers
Safetensors
inkling2_loop
inkling2
multimodal
Mixture of Experts
abliterix
conversational
8-bit precision
modelopt
Run this model with HF Jobs
Run GCSA-AiLab/Inkling-2-Mini-Uncensored on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/GCSA-AiLab/Inkling-2-Mini-Uncensored. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/GCSA-AiLab/Inkling-2-Mini-Uncensored on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/GCSA-AiLab/Inkling-2-Mini-Uncensored. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Instructions to use GCSA-AiLab/Inkling-2-Mini-Uncensored with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GCSA-AiLab/Inkling-2-Mini-Uncensored with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="GCSA-AiLab/Inkling-2-Mini-Uncensored") 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("GCSA-AiLab/Inkling-2-Mini-Uncensored") model = AutoModelForMultimodalLM.from_pretrained("GCSA-AiLab/Inkling-2-Mini-Uncensored", 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 GCSA-AiLab/Inkling-2-Mini-Uncensored with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "GCSA-AiLab/Inkling-2-Mini-Uncensored" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "GCSA-AiLab/Inkling-2-Mini-Uncensored", "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/GCSA-AiLab/Inkling-2-Mini-Uncensored
- SGLang
How to use GCSA-AiLab/Inkling-2-Mini-Uncensored 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 "GCSA-AiLab/Inkling-2-Mini-Uncensored" \ --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": "GCSA-AiLab/Inkling-2-Mini-Uncensored", "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 "GCSA-AiLab/Inkling-2-Mini-Uncensored" \ --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": "GCSA-AiLab/Inkling-2-Mini-Uncensored", "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" } } ] } ] }' - Docker Model Runner
How to use GCSA-AiLab/Inkling-2-Mini-Uncensored with Docker Model Runner:
docker model run hf.co/GCSA-AiLab/Inkling-2-Mini-Uncensored
|
Download docs/pt.md from GCSA-AiLab/Inkling-2-Mini-Uncensored: direct link, hf CLI and curl.
- Browser
- Download file 2.72 kB
-
https://huggingface.co/GCSA-AiLab/Inkling-2-Mini-Uncensored/resolve/main/docs/pt.md
- Command line
-
hf download hf://GCSA-AiLab/Inkling-2-Mini-Uncensored/docs/pt.md
-
curl -L -o pt.md https://huggingface.co/GCSA-AiLab/Inkling-2-Mini-Uncensored/resolve/main/docs/pt.md
2.72 kB
| # Inkling-2-Mini-Uncensored | |
| [Página do modelo](https://huggingface.co/GCSA-AiLab/Inkling-2-Mini-Uncensored) | |
| [English](https://huggingface.co/GCSA-AiLab/Inkling-2-Mini-Uncensored/blob/main/README.en.md) · [简体中文](https://huggingface.co/GCSA-AiLab/Inkling-2-Mini-Uncensored/blob/main/README.zh-CN.md) · [繁體中文](https://huggingface.co/GCSA-AiLab/Inkling-2-Mini-Uncensored/blob/main/README.zh-Hant.md) · [日本語](https://huggingface.co/GCSA-AiLab/Inkling-2-Mini-Uncensored/blob/main/docs/ja.md) · [한국어](https://huggingface.co/GCSA-AiLab/Inkling-2-Mini-Uncensored/blob/main/docs/ko.md) · [Français](https://huggingface.co/GCSA-AiLab/Inkling-2-Mini-Uncensored/blob/main/docs/fr.md) · [Português](https://huggingface.co/GCSA-AiLab/Inkling-2-Mini-Uncensored/blob/main/docs/pt.md) | |
| Este modelo deriva do Inkling 2 Mini da Thinking Machines Lab, editado com o Abliterix. Recebe texto e imagens e gera texto. Os autores do modelo base informam um total de 26,4 bilhões de parâmetros, dos quais 3,4 bilhões são ativos. Das 24 camadas físicas, as 12 centrais são executadas três vezes. | |
| ## Download e execução | |
| Este repositório contém os pesos mesclados em formato Safetensors. O exemplo requer uma versão do vLLM compatível com a arquitetura e com os analisadores Inkling de raciocínio e chamadas de ferramentas. A configuração prevê até 1.048.576 tokens de contexto. A memória disponível determina o comprimento utilizável. | |
| ```bash | |
| vllm serve GCSA-AiLab/Inkling-2-Mini-Uncensored \ | |
| --dtype bfloat16 \ | |
| --served-model-name Inkling-2-Mini-Uncensored \ | |
| --max-model-len 65536 \ | |
| --max-num-seqs 2 \ | |
| --max-num-batched-tokens 8192 \ | |
| --kv-cache-dtype fp8 \ | |
| --gpu-memory-utilization 0.90 \ | |
| --enforce-eager \ | |
| --disable-custom-all-reduce \ | |
| --reasoning-parser inkling \ | |
| --enable-auto-tool-choice \ | |
| --tool-call-parser inkling \ | |
| --limit-mm-per-prompt.image 1 | |
| ``` | |
| ## Avaliação e licença | |
| Nos testes StrongREJECT e SimpleSafetyTests, o avaliador automático `deepseek-v4.1-flash` classificou as respostas finais dos pesos Safetensors mesclados a solicitações de texto em inglês. Não há comparação publicada com o modelo base nas mesmas condições. Imagens, outros idiomas e as variantes GGUF e MLX após a conversão ficaram fora desses testes. Não use este modelo como filtro de segurança. | |
| [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0) · [Ficha do modelo base](https://huggingface.co/thinkingmachines/Inkling-2-Mini) · [Política de uso aceitável](https://thinkingmachines.ai/model-acceptable-use-policy/) · [Detalhes da avaliação (em inglês)](https://huggingface.co/GCSA-AiLab/Inkling-2-Mini-Uncensored/blob/main/docs/technical-en.md) | |