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

NER example for Tensorflow #12469

Merged
merged 8 commits into from
Jul 5, 2021

Conversation

Rocketknight1
Copy link
Member

No description provided.

Copy link
Collaborator

@sgugger sgugger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this example!


# We don't do predictions in the strategy scope because there are some issues in there right now.
# They'll get fixed eventually, promise!

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a quick and dirty evaluation that gets the result of predict and passes it to metric.compute()? A bit like the compute_metrics function in the PyTorch example.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can probably do that quickly tomorrow, sure!

Copy link
Member

@LysandreJik LysandreJik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks for working on it!

@Rocketknight1 Rocketknight1 merged commit ea55675 into master Jul 5, 2021
@Rocketknight1 Rocketknight1 deleted the tensorflow_token_classification_example branch July 5, 2021 14:42
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.

3 participants