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

Remove deprecated dataset implementation due to mypy error #3613

Merged
merged 2 commits into from
Feb 5, 2025

Conversation

alanakbik
Copy link
Collaborator

The newest mypy error noted a problem in one of the deprecated datasets (ANAT_EM) that are now provided through BigBio.

This PR removes the old implementation, adds the option of trusting remote code to BIGBIO_NER_CORPUS, and updates the deprecation method with the exact command to load this dataset.

So, instead of calling

corpus = ANAT_EM() 

you should instantiate this corpus like this:

corpus = BIGBIO_NER_CORPUS("bigbio/anat_em", trust_remote_code=True)

@alanakbik alanakbik merged commit c6b053d into master Feb 5, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant