-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Add RawTask
executing docs ad verbatim
#395
Conversation
# Conflicts: # spacy_llm/tasks/builtin_task.py
…done by spaCy's slicing directly.
…for handling both types of tasks. Update tests.
# Conflicts: # spacy_llm/tests/tasks/test_rel.py
Not sure about the name, open to suggestions. |
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
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.
Good idea :-)
Naming, my biggest forte!
|
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
Hm, not that much of a fan ( |
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.
Good to merge after resolving the merge conflicts!
# Conflicts: # spacy_llm/tasks/__init__.py # spacy_llm/tasks/lemma/registry.py # spacy_llm/tasks/lemma/util.py # spacy_llm/tests/sharding/test_sharding.py
Description
Add
RawTask
executing docs ad verbatim, i. e. the surrounding prompt is minimal and doesn't give any instructions except for "read and reply". This is useful for use cases where each doc has its individual prompt or for question answering.Corresponding documentation PR
explosion/spaCy#13180
Types of change
New feature.
Checklist
tests
andusage_examples/tests
, and all new and existing tests passed. This includespytest
ran with--external
)pytest
ran with--gpu
)