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/ja.md from GCSA-AiLab/Inkling-2-Mini-Uncensored: direct link, hf CLI and curl.
- Browser
- Download file 2.8 kB
-
https://huggingface.co/GCSA-AiLab/Inkling-2-Mini-Uncensored/resolve/main/docs/ja.md
- Command line
-
hf download hf://GCSA-AiLab/Inkling-2-Mini-Uncensored/docs/ja.md
-
curl -L -o ja.md https://huggingface.co/GCSA-AiLab/Inkling-2-Mini-Uncensored/resolve/main/docs/ja.md
2.8 kB
| # Inkling-2-Mini-Uncensored | |
| [モデルカード](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) | |
| Thinking Machines Lab の Inkling 2 Mini をもとに、Abliterix で編集した派生モデルです。テキストと画像を入力し、テキストを生成します。ベースモデルの報告では総パラメータ数は 264 億、アクティブパラメータ数は 34 億です。全 24 層のうち中央の 12 層を 3 回実行します。 | |
| ## ダウンロードと実行 | |
| マージ済みの Safetensors チェックポイントです。下記の例には、モデル構造と Inkling の推論・ツール呼び出しパーサーに対応した vLLM が必要です。設定上の最大コンテキスト長は 1,048,576 トークンです。利用できる長さは機器のメモリに依存します。 | |
| ```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 | |
| ``` | |
| ## 評価とライセンス | |
| StrongREJECT と SimpleSafetyTests では、マージ済み Safetensors が英語のテキスト入力に返した最終回答を、自動判定モデル `deepseek-v4.1-flash` が評価しました。同じ条件でベースモデルと比較しておらず、画像理解、他の言語、GGUF・MLX への変換後の性能は対象外です。このモデルを安全性フィルターとして使用しないでください。 | |
| [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0) · [元のモデルカード](https://huggingface.co/thinkingmachines/Inkling-2-Mini) · [利用ポリシー](https://thinkingmachines.ai/model-acceptable-use-policy/) · [評価の詳細(英語)](https://huggingface.co/GCSA-AiLab/Inkling-2-Mini-Uncensored/blob/main/docs/technical-en.md) | |