anakin87 / haystack-entailment-checker Goto Github PK
View Code? Open in Web Editor NEWHaystack node for checking the entailment between a statement and a list of Documents
Haystack node for checking the entailment between a statement and a list of Documents
Hi there!
I am running the latest version of Haystack 1.23.0 and tried installing this custom node to use as part of a pipeline.
It seems, however, that there is a version conflict with one of the libraries.
Stack trace with the main error at the bottom:
Traceback (most recent call last):
File "/home/dev/g3/g3/bin/haystack", line 5, in <module>
from haystack.cli.entry_point import main
File "/home/dev/g3/g3/lib/python3.8/site-packages/haystack/__init__.py", line 11, in <module>
from haystack.nodes.base import BaseComponent
File "/home/dev/g3/g3/lib/python3.8/site-packages/haystack/nodes/__init__.py", line 22, in <module>
from haystack.nodes.label_generator import PseudoLabelGenerator
File "/home/dev/g3/g3/lib/python3.8/site-packages/haystack/nodes/label_generator/__init__.py", line 1, in <module>
from haystack.nodes.label_generator.pseudo_label_generator import PseudoLabelGenerator
File "/home/dev/g3/g3/lib/python3.8/site-packages/haystack/nodes/label_generator/pseudo_label_generator.py", line 8, in <module>
from haystack.nodes.question_generator import QuestionGenerator
File "/home/dev/g3/g3/lib/python3.8/site-packages/haystack/nodes/question_generator/__init__.py", line 1, in <module>
from haystack.nodes.question_generator.question_generator import QuestionGenerator
File "/home/dev/g3/g3/lib/python3.8/site-packages/haystack/nodes/question_generator/question_generator.py", line 10, in <module>
from haystack.nodes.preprocessor import PreProcessor
File "/home/dev/g3/g3/lib/python3.8/site-packages/haystack/nodes/preprocessor/__init__.py", line 1, in <module>
from haystack.nodes.preprocessor.base import BasePreProcessor
File "/home/dev/g3/g3/lib/python3.8/site-packages/haystack/nodes/preprocessor/base.py", line 5, in <module>
from transformers import PreTrainedTokenizerBase
File "/home/dev/g3/g3/lib/python3.8/site-packages/transformers/__init__.py", line 26, in <module>
from . import dependency_versions_check
File "/home/dev/g3/g3/lib/python3.8/site-packages/transformers/dependency_versions_check.py", line 57, in <module>
require_version_core(deps[pkg])
File "/home/dev/g3/g3/lib/python3.8/site-packages/transformers/utils/versions.py", line 117, in require_version_core
return require_version(requirement, hint)
File "/home/dev/g3/g3/lib/python3.8/site-packages/transformers/utils/versions.py", line 111, in require_version
_compare_versions(op, got_ver, want_ver, requirement, pkg, hint)
File "/home/dev/g3/g3/lib/python3.8/site-packages/transformers/utils/versions.py", line 44, in _compare_versions
raise ImportError(
ImportError: accelerate>=0.20.3 is required for a normal functioning of this module, but found accelerate==0.19.0.
Try: pip install transformers -U or pip install -e '.[dev]' if you're working with git main
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.