-
-
Notifications
You must be signed in to change notification settings - Fork 87
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 Semantic Role Labeling task #301
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: Raphael Mitsch <[email protected]>
Co-authored-by: Raphael Mitsch <[email protected]>
Co-authored-by: Raphael Mitsch <[email protected]>
Added docs for srl response parsing
# Conflicts: # spacy_llm/tasks/__init__.py # spacy_llm/tasks/span.py
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.
@ahmeshaf I refactored the task and left some comments. Also, the prediction tests fail locally. Can you look into that? Thanks! 🙏
spacy_llm/tests/tasks/test_srl.py
Outdated
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.
More tests would be good - have a look at e. g. the SpanCat
/NER
tests for inspiration? E. g. the prompt identity tests.
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.
working on this today
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.
Thanks! Just ping me when you're done.
Merging explosion/spacy-llm into branch
Description
This PR is for the addition of a fully working spacy pipeline for zero-shot span-based SRL using OpenAI. It includes the task, template, usage example, tests (pytest), and documentation.
Corresponding documentation PR
todo
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
)