Skip to main content

Tests whether a sentence is consistent with the CREAK dataset.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

creak_sense-0.0.4-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page