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/ko.md from GCSA-AiLab/Inkling-2-Mini-Uncensored: direct link, hf CLI and curl.
- Browser
- Download file 2.78 kB
-
https://huggingface.co/GCSA-AiLab/Inkling-2-Mini-Uncensored/resolve/main/docs/ko.md
- Command line
-
hf download hf://GCSA-AiLab/Inkling-2-Mini-Uncensored/docs/ko.md
-
curl -L -o ko.md https://huggingface.co/GCSA-AiLab/Inkling-2-Mini-Uncensored/resolve/main/docs/ko.md
2.78 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개 층을 세 번 실행합니다. | |
| ## 다운로드 및 실행 | |
| 병합한 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) | |