--- license: apache-2.0 base_model: thinkingmachines/Inkling-2-Mini base_model_relation: finetune pipeline_tag: text-generation language: - en - ja tags: - block-diffusion - masked-denoising - safetensors --- # Diffusion-Inkling-2-mini **▮▮▮ → text.** A merged block-diffusion checkpoint for English and Japanese. **▮▮▮ → 文章。** 英語・日本語に対応したブロック拡散モデル。 ## English An independent research adaptation of Thinking Machines Lab’s **Inkling 2 Mini**. The query-projection LoRA is merged into the full checkpoint, alongside the learned forward-looking convolution weights. The included runner generates text by filling masks within each block. **Format:** BF16 Safetensors (with some FP32 tensors), tokenizer included. Use a CUDA GPU with room for about 52 GB of weights plus runtime buffers. The runner defaults to 128-token blocks and accepts sizes from 1 to 512. Larger blocks and lower confidence thresholds can degrade output quality. ## 日本語 Thinking Machines Lab の **Inkling 2 Mini** をベースにした独立の研究モデルです。クエリ射影のLoRAを本体の重みに統合し、ブロック内の未来位置を参照する畳み込みを追加しました。同梱ランナーは、ブロック内のマスクを段階的に埋めて文章を生成します。 **形式:** BF16主体(一部FP32)のSafetensors。トークナイザー同梱。重み約52 GBと実行用バッファが収まるCUDA GPUが必要です。既定のブロック幅は128、指定範囲は1〜512です。ブロックを大きくしたり、しきい値を下げたりすると、回答品質が落ちる場合があります。 ## Quick start / 実行 ```bash hf download summerAIO/Diffusion-Inkling-2-mini --local-dir diffusion-inkling pip install -r diffusion-inkling/requirements.txt python diffusion-inkling/run_diffusion.py "空はなぜ青く見えるの?" ``` ## License / ライセンス Apache 2.0: [LICENSE](./blob/main/LICENSE) · [NOTICE](./blob/main/NOTICE) Base / ベース: [Thinking Machines Lab — Inkling 2 Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini) · [Model Acceptable Use Policy](https://thinkingmachines.ai/model-acceptable-use-policy/) Method reference / 手法の参考: [DiCALM](https://arxiv.org/abs/2611.33919)