IntentGraphLM π
IntentGraphLM is an open-source language model pipeline that converts raw natural language into dynamic intent graphs, enabling smarter agents, workflow orchestration, and multi-step task planning.
This project is designed to be lightweight, extensible, and Hugging Faceβready, with strong future scope in agentic AI systems.
π What Problem Does It Solve?
Traditional intent detection returns flat labels.
IntentGraphLM goes further by:
- Extracting multiple intents
- Modeling relationships between intents
- Representing them as a directed graph
- Enabling dynamic updates during conversations
β¨ Key Features
- π§ Intent extraction from raw text
- πΈοΈ Graph-based intent representation
- π Dynamic intent graph updates
- β‘ Lightweight, dependency-minimal design
- π€ Hugging Faceβcompatible inference pipeline
- π§© Modular and extensible architecture
π Project Structure
intentgraph-lm/
βββ config/
βββ data/
βββ src/
βββ training/
βββ scripts/
βββ tests/
βββ notebooks/
βββ README.md
βββ model_card.md
βββ requirements.txt
βββ LICENSE
βοΈ Installation
pip install -r requirements.txt
π Quick Usage
from src import IntentGraphPipeline
pipeline = IntentGraphPipeline()
output = pipeline("Book a flight and then reserve a hotel")
print(output)
π§ How It Works
- Tokenization
- Intent Extraction
- Graph Building
- Dynamic Updates
π§ͺ Testing
pytest tests/
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
π
Ask for provider support