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".
Metadata
Release files for creak-sense 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| creak_sense-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Release files / creak_sense-0.0.4-py3-none-any.whl
| Download URL | creak_sense-0.0.4-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a1c531a9db82f6026e93e14144ab87ed7dc05fc59b98554c45ff5937a9a77a99
|
|
BLAKE2b-256 checksum How to use checksums |
1d69df231e0e1cc8b3c1d6a2eecf1dabf1da102aa9b40f3e151c4de6ccc13f85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|