Mellea 0.4.0の新機能とGraniteライブラリのリリース
本文の状態
日本語全文を表示中
詳細モードで約3分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
Hugging Face Blog
Melleaがバージョン0.4.0をリリースし、Graniteライブラリを公開した。新バージョンではパフォーマンス向上と新APIが追加され、Graniteライブラリは開発者がAI機能を統合しやすくするツールを提供する。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
記事に戻る Mellea 0.4.0 の新機能 + Granite ライブラリリリース
Upvote 1
この度、Mellea 0.4.0 および 3 つの Granite ライブラリ (granitelib-rag-r1.0, granitelib-core-r1.0, granitelib-guardian-r1.0) をリリースしました。これらのリリースにより、IBM Granite モデルを基盤とした、構造化され検証可能で安全性を考慮した AI ワークフローの構築が一層容易になります。
Mellea は、生成プログラムを記述するためのオープンソースの Python ライブラリです。確率的なプロンプトの挙動を、構造化され保守性の高い AI ワークフローに置き換えます。汎用オーケストレーションフレームワークとは異なり、Mellea は、制約付きデコード、構造化された修復ループ、構成可能なパイプラインを通じて、LLM ベースのプログラムの保守性と予測可能性を高めるように設計されています (Mellea が初めての方は、紹介ブログから始めて、開発チームをご覧ください)。
Mellea 0.4.0 は、IBM Research が主導して開発するオープンソース研究プロジェクトの最新リリースです。0.3.0 で導入された基盤ライブラリとワークフロー基本要素を発展させ、今回のリリースではライブラリの統合範囲を拡大し、生成ワークフローを構造化するための新たなアーキテクチャパターンを導入しています。
主な内容:
- Granite ライブラリとのネイティブ統合。スキーマの正確性を保証する制約付きデコードを基盤とした標準化された API を提供します。
- リジェクションサンプリング戦略による「指示-検証-修復」パターン。
- ワークフローを監視・追跡するためのイベント駆動型コールバック用のオブザーバビリティフック。
Mellea 0.4.0 の全機能と更新点については、こちらでご確認ください。
Granite ライブラリとは
端的に言えば、Granite ライブラリは、入力チェーンや会話の一部に対して明確に定義された操作を実行するよう設計された、専門的なモデルアダプターのコレクションです。汎用的なプロンプティングに依存するのではなく、各専門モデルは、クエリ書き換え、幻覚検出、ポリシー準拠チェックといった特定タスク向けにファインチューニングされています。専門アダプターを利用することで、ベースモデルの能力を損なうことなく、パラメータ数を抑えつつ各タスクの精度を向上させることができます。
本日、granite-4.0-micro モデル向けに 3 つのライブラリをリリースします。これらはそれぞれ異なるパイプラインタスク群を対象とし、LoRA アダプターのコレクションで構成されています。
- Granitelib-core-r1.0: Mellea の「指示-検証-修復」ループにおける要件検証ステップを対象とします。
- Granitelib-rag-r1.0: 検索前、検索後、生成後の各段階をカバーする、エージェント的 RAG パイプラインにおける様々なタスクを対象とします。
- Granitelib-guardian-r1.0: 安全性、事実性、ポリシー準拠のための専門モデルです。
Mellea 0.4.0 は、IBM Research が主導して開発するオープンソース研究プロジェクトの最新リリースです。0.3.0 で導入された基盤ライブラリとワークフロー基本要素を発展させ、今回のリリースではライブラリの統合範囲を拡大し、生成ワークフローを構造化するための新たなアーキテクチャパターンを導入しています。
はじめに
- Mellea GitHub リポジトリ
- Mellea ドキュメント
- Granite ライブラリ
- Granite ライブラリ Hugging Face コレクション
- 検索拡張生成のための LLM 本質機能ライブラリ
- 生成言語モデルのためのマルチレベル説明
- https://generative-computing.github.io/blog/2025/08/14/thinking-about-ai.html
- https://www.youtube.com/watch?v=j2ouL1n0Nxk

原文を表示
Back to Articles What's New in Mellea 0.4.0 + Granite Libraries Release
Upvote 1
We have released Mellea 0.4.0 alongside three Granite Libraries: granitelib-rag-r1.0,granitelib-core-r1.0,granitelib-guardian-r1.0. Together, these releases make it easier to build structured, verifiable, and safety-aware AI workflows on top of IBM Granite models.
Mellea is an open-source Python library for writing generative programs -- replacing probabilistic prompt behavior with structured, maintainable AI workflows. Unlike general-purpose orchestration frameworks, Mellea is designed to make LLM-based programs maintainable and predictable through constrained decoding, structured repair loops, and composable pipelines (New to Mellea? Start with our introductory blog and meet the team)
Mellea 0.4.0 is the latest release of an open-source research project initiated and developed by IBM Research. Building on 0.3.0 foundational libraries and workflow primitives, 0.4.0 expands the library's integration surface and introduces new architectural patterns for structuring generative workflows.
What’s included:
Native integration with the Granite Libraries, offering a standardized API that relies on constrained decoding to guarantee schema correctness.
Instruct-validate-repair pattern via rejection sampling strategies
Observability hooks for event-driven callbacks to monitor and track workflows
See full list of Mellea 0.4.0 features and updates here
What Are the Granite Libraries
Simply put, a Granite Library is a collection of specialized model adapters designed to perform well-defined operations on portions of an input chain or conversation. Rather than relying on general-purpose prompting, each specialized model is fine-tuned for a specific task such as query rewriting, hallucination detection, or policy compliance checking. The use of specialized adapters allows us to increase the accuracy of each task at a modest parameter count cost, and without disrupting the base model’s capabilities.
Three libraries are being released today for the granite-4.0-micro model, each targeting a distinct set of pipeline tasks and comprised of a collection of LoRA adapters:
Granitelib-core-r1.0: targeting the step of requirements validation in Mellea’s instruct-validate-repair loop
Granitelib-rag-r1.0: targeting a variety of tasks in agentic RAG pipelines covering pre-retrieval, post-retrieval, and post-generation
Granitelib-guardian-r1.0: specialized models for safety, factuality, and policy compliance
Mellea 0.4.0 is the latest release of an open-source research project initiated and developed by IBM Research. Building on the foundational libraries and workflow primitives introduced in 0.3.0, this release expands the integration surface and introduces new architectural patterns for structuring generative workflows.
Getting Started
Mellea GitHub Repository
Mellea Documentation
Granite Libraries
Granite Libraries Hugging Face Collection
A Library of LLM Intrinsics for Retrieval-Augmented Generation
Multi-Level Explanations for Generative Language Models
https://generative-computing.github.io/blog/2025/08/14/thinking-about-ai.html
https://www.youtube.com/watch?v=j2ouL1n0Nxk

関連記事
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み