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 details)

Uploaded Python 3

File details

Details for the file creak_sense-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: creak_sense-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for creak_sense-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a1c531a9db82f6026e93e14144ab87ed7dc05fc59b98554c45ff5937a9a77a99
MD5 919e10e90c38ea52bd350491f3c2af50
BLAKE2b-256 1d69df231e0e1cc8b3c1d6a2eecf1dabf1da102aa9b40f3e151c4de6ccc13f85

See more details on using hashes here.

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