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/fr.md from GCSA-AiLab/Inkling-2-Mini-Uncensored: direct link, hf CLI and curl.
- Browser
- Download file 2.84 kB
-
https://huggingface.co/GCSA-AiLab/Inkling-2-Mini-Uncensored/resolve/main/docs/fr.md
- Command line
-
hf download hf://GCSA-AiLab/Inkling-2-Mini-Uncensored/docs/fr.md
-
curl -L -o fr.md https://huggingface.co/GCSA-AiLab/Inkling-2-Mini-Uncensored/resolve/main/docs/fr.md
2.84 kB
| # Inkling-2-Mini-Uncensored | |
| [Fiche du modèle](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) | |
| Ce modèle dérive d’Inkling 2 Mini de Thinking Machines Lab, modifié avec Abliterix. Il accepte du texte et des images et produit du texte. Les auteurs du modèle de base annoncent 26,4 milliards de paramètres au total, dont 3,4 milliards actifs. Sur les 24 couches physiques, les 12 couches centrales sont exécutées trois fois. | |
| ## Téléchargement et exécution | |
| Ce dépôt contient les poids fusionnés au format Safetensors. L’exemple requiert une version de vLLM qui prend en charge l’architecture du modèle et les analyseurs Inkling pour le raisonnement et les appels d’outils. La configuration fixe un plafond de 1 048 576 jetons de contexte. La mémoire de la machine détermine la longueur utilisable. | |
| ```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 | |
| ``` | |
| ## Évaluation et licence | |
| Pour StrongREJECT et SimpleSafetyTests, le juge automatique `deepseek-v4.1-flash` a évalué les réponses finales du modèle Safetensors fusionné à des requêtes textuelles en anglais. Aucune comparaison avec le modèle de base dans les mêmes conditions n’est publiée. Les images, les autres langues et les variantes GGUF et MLX après conversion restent hors du périmètre de ces tests. N’utilisez pas ce modèle comme filtre de sécurité. | |
| [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0) · [Fiche du modèle de base](https://huggingface.co/thinkingmachines/Inkling-2-Mini) · [Politique d’utilisation acceptable](https://thinkingmachines.ai/model-acceptable-use-policy/) · [Détails de l’évaluation (anglais)](https://huggingface.co/GCSA-AiLab/Inkling-2-Mini-Uncensored/blob/main/docs/technical-en.md) | |