Metadata-Version: 2.1
Name: creak-sense
Version: 0.0.4
Summary: Tests whether a sentence is consistent with the CREAK dataset.
Home-page: http://github.com/fractalego/creak_sense
Author: Alberto Cetoli
Author-email: alberto@fractalego.io
License: UNKNOWN
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Description-Content-Type: text/markdown
Requires-Dist: transformers (>=4.17.0)
Requires-Dist: sentence-transformers (>=2.0.0)
Requires-Dist: torch (>=1.9.0)

# Testing whether a sentence is consistent with the CREAK dataset
This framework is trained on the [CREAK dataset](https://arxiv.org/abs/2109.01653).


# Install
pip install creak-sense


# Example 
```python

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 
```python

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".


