Skip to content
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

Relation Classifier Encoding Strategies #3023

Merged
merged 23 commits into from
Dec 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
fcfdd97
Implement functional encoding strategies
dobbersc Dec 7, 2022
52d65f3
Implement object-oriented encoding strategies
dobbersc Dec 8, 2022
9bb142e
Add special tokens to transformer embeddings if specified
dobbersc Dec 8, 2022
456c0bf
Refactor encoding strategy special tokens to boolean flag instead of …
dobbersc Dec 8, 2022
1587d85
Add examples for the selection strategies
dobbersc Dec 10, 2022
1a300ad
- Rename `_create_masked_sentence` -> `_encoded_sentence`
dobbersc Dec 10, 2022
46b3e0f
Adjusts docstrings to fit the encoding strategies
dobbersc Dec 10, 2022
468470a
Cite relevant source paper
dobbersc Dec 11, 2022
e8681e8
Fix mypy
dobbersc Dec 11, 2022
86100ef
Use raw strings for markers
dobbersc Dec 11, 2022
1141502
- Parameterize transformation test with and without cross augmentatio…
dobbersc Dec 11, 2022
746879b
Remove dead functions
dobbersc Dec 11, 2022
13c5f38
Isort
dobbersc Dec 11, 2022
ff1e40e
Isort
dobbersc Dec 11, 2022
f9b7155
Correct encoding strategy examples
dobbersc Dec 12, 2022
0934b3b
Add the remaining tests for the encoding strategy
dobbersc Dec 12, 2022
b7991c8
Fix special tokens
dobbersc Dec 12, 2022
56063dc
Outsource encoding strategy test templates
dobbersc Dec 12, 2022
da3a564
Use protocol from typing extensions to support python 3.7
dobbersc Dec 12, 2022
d114d3c
Isort
dobbersc Dec 12, 2022
18f7816
Refactor tests readability
dobbersc Dec 12, 2022
2a2b49e
Make encoding strategy abstract
dobbersc Dec 12, 2022
a3430f7
Remove unused imports
dobbersc Dec 13, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading