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

  1. Tokenization
  2. Intent Extraction
  3. Graph Building
  4. Dynamic Updates

πŸ§ͺ Testing

pytest tests/
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Evaluation results