-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spacy and Huggingface integrations #84
Conversation
aa232d0
to
1e057c9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall, just left some comments on some stylistic decisions and documentation improvements. Also note updated usage of add_node()
and importing from .base
. You good to make changes or want me to take over?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you accidentally pasted a url in the middle of a code snippet in the documentation but otherwise lgtm
|
||
# Access spaCy annotations | ||
spacy_doc = processed_doc.get_spacy_doc() | ||
for token in spacy_doc:https://github.com/dotimplement/HealthChain |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
Description
This PR adds convenient integrations for integrating pipelines from spacy, huggingface or langchain into healthchain pipelines.
These NLP pipelines constitue a single component of the Healthchain pipeline.
Related Issue
This addresses issue #78 .
Changes Made
Testing
Unit tests were added for all new functionality. As transformers is an optional dependency, the huggingface tests are skipped in CI but were run locally.
Checklist
Additional Notes