Skip to content

A simple library that enables the calculation of textual entailment between two texts (premise and hypothesis).

License

Notifications You must be signed in to change notification settings

towhidabsar/textual-entailment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README still Work In Progress

Calculating Textual Entailment between two texts

Textual entailment (TE), also known as Natural Language Inference (NLI), in natural language processing is a directional relation between text fragments. The relation holds whenever the truth of one text fragment follows from another text. Given a premise and a hypothesis, this module allows you to calculate textual entailment between the two.

Textual Entailment

It is a natural language inference task ....

How to Use

# First install using
pip install .
# For huggingface
from textual_entailment import hf
# For allennlp
from textual_entailment import allennlp
# For Google's PaLM
from textual_entailment import palm

About

A simple library that enables the calculation of textual entailment between two texts (premise and hypothesis).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages