Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 630 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 630 Bytes

Testing whether a sentence is consistent with the CREAK dataset

This framework is trained on the CREAK dataset.

Install

pip install creak-sense

Example

from creak_sense import CreakSense

sense = CreakSense("fractalego/creak-sense")

claim = "Bananas can be found in a grocery list"
sense.make_sense(claim)

with output "True".

Example with explanation

from creak_sense import CreakSense

sense = CreakSense("fractalego/creak-sense")

claim = "Bananas can be found in a grocery list"
sense.get_reason(claim)

with output "Bananas are a staple food".