-
-
Notifications
You must be signed in to change notification settings - Fork 106
Adding span_srl task with tests, usage and documentation #226
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
Closed
Closed
Changes from 12 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
07a4f2b
Adding span_srl task with tests, usage and documentation
ahmeshaf 22cba55
Fixing minor issues
ahmeshaf 917868b
adding example usage of SRL
ahmeshaf 0ff46ad
Merging main
ahmeshaf b6f4f52
Fixing format warnings
ahmeshaf d803b23
Fixing format warnings
ahmeshaf 53a494c
Fixing format warnings
ahmeshaf dd7d9fb
Fixing format warnings
ahmeshaf 0ad6063
Fix Literal ImportError
ahmeshaf 15412b5
Fix Label assignment
ahmeshaf fd19441
Fix the template's preamble
ahmeshaf b56c1d0
Black formatting
ahmeshaf d6564f7
imports in alphabetical order
ahmeshaf de68696
alignment_mode should be a Literal.
ahmeshaf ed07c83
Update spacy_llm/tasks/srl_task.py
ahmeshaf 472d5c7
Update spacy_llm/tasks/templates/span-srl.v1.jinja
ahmeshaf 55a8018
Update spacy_llm/tests/tasks/test_span_srl.py
ahmeshaf 355241a
reformatting
ahmeshaf a63d610
Merge branch 'main' of github.com:ahmeshaf/spacy-llm
ahmeshaf 84d17df
reformatting
ahmeshaf 666c3ee
adding test on srl roles
ahmeshaf cb81bdf
SRLTask inherits SpanTask
ahmeshaf c6d0dfd
Merge branch 'explosion:main' into main
ahmeshaf 6ab4723
Added label definitions rendering in prompt
ahmeshaf 037f36f
Reformatting
ahmeshaf d6faecd
Restructuring SRLExample and ARGRelItem
ahmeshaf 2a4e862
added expected response
ahmeshaf b380478
Removing print statement
ahmeshaf 8fc6b8d
Added few-shot span-srl
ahmeshaf 73bf0f6
Add examples path in srl docs
ahmeshaf 824aa82
removing whitespaces causing commit check failures
ahmeshaf 6d5efc9
Make SRLExample hashable to remove duplicate examples
ahmeshaf 2a9ede5
Add doc-tailored examples in generate_prompts
ahmeshaf be50655
Added defs for alignment modes
ahmeshaf 0970e64
fix serialization issue of pred_item
ahmeshaf 3e0a50e
Update spacy_llm/tests/tasks/test_span_srl.py
rmitsch File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.