[P] A Python tool for natural language inference

Hi everyone,

I’ve made an open-source tool in Python (called Omni-NLI) for natural language inference. It can use different models to check if a piece of text (called a premise) supports another piece of text (a hypothesis).

Currently, Omni-NLI has the following features:

  • Can be installed as a Python package with `pip install omni-nli[huggingface]`.
  • Can be used on your own computer, so your data stays local and private.
  • Has an MCP interface and a REST API
  • Supports using models from different sources (Ollama, OpenRouter, and HuggingFace).
  • Can be used to check if it seems that a model is contradicting itself.
  • Supports showing the reasoning so you can see why it thinks a claim is wrong.

In any case, if you are interested in knowing more, there is more information in the links below:

Project’s GitHub repo: https://github.com/CogitatorTech/omni-nli

Project’s documentation: https://cogitatortech.github.io/omni-nli/

submitted by /u/No_Pomegranate7508
[link] [comments]

Liked Liked