LexiGraph-X

LexiGraph-X is a Level-5 NLP-driven knowledge graph engine that builds and continuously updates dynamic knowledge graphs from raw text streams.

It combines entity linking, relation extraction, temporal graph updates, and context-aware node weighting, enabling intelligent graph construction from unstructured data.


๐Ÿš€ Key Capabilities

  • ๐Ÿง  Entity Linking
  • ๐Ÿ”— Relation Extraction
  • โฑ๏ธ Temporal Graph Updates
  • ๐ŸŽฏ Context-Aware Node Weighting
  • ๐Ÿ•ธ๏ธ Dynamic Knowledge Graph Construction
  • ๐Ÿค— Hugging Faceโ€“Ready (graph-ml)

๐Ÿง  System Architecture

Raw Text Stream
   โ†“
Text Ingestor
   โ†“
Entity Linker
   โ†“
Relation Extractor
   โ†“
Context Encoder
   โ†“
Graph Builder
   โ†“
Temporal Graph Updater
   โ†“
Node Weighting
   โ†“
Dynamic Knowledge Graph

๐Ÿ“ฅ Input Format

{
  "texts": [
    "OpenAI developed ChatGPT.",
    "ChatGPT is used by developers worldwide."
  ]
}

๐Ÿ“ค Output Format

{
  "nodes": [
    {
      "name": "OpenAI",
      "type": "ORG",
      "weight": 1.05
    },
    {
      "name": "ChatGPT",
      "type": "TECH",
      "weight": 1.05
    }
  ],
  "edges": [
    {
      "source": "OpenAI",
      "relation": "developed_by",
      "target": "ChatGPT"
    }
  ]
}

๐Ÿ› ๏ธ Installation & Usage

git clone https://huggingface.co/<your-username>/lexigraph-x
cd lexigraph-x
python inference.py

๐Ÿ“ Project Structure

lexigraph-x/
โ”œโ”€โ”€ configs/
โ”œโ”€โ”€ data/
โ”œโ”€โ”€ src/
โ”œโ”€โ”€ inference.py
โ”œโ”€โ”€ evaluation.py
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ model_card.md
โ”œโ”€โ”€ LICENSE
โ””โ”€โ”€ requirements.txt

๐ŸŽฏ Use Cases

  • Knowledge graph construction
  • NLP-driven information extraction
  • Research in graph intelligence
  • Text-to-graph pipelines

๐Ÿ”ฎ Future Improvements

  • Transformer-based NER
  • Graph Neural Networks
  • Knowledge graph visualization

๐Ÿ“œ License

Apache License 2.0

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