transformers icon indicating copy to clipboard operation
transformers copied to clipboard

Add token classification support for Cohere model

Open hadikhamoud opened this issue 1 year ago • 2 comments

What does this PR do?

This PR adds token classification for Cohere:

  • CohereForTokenClassification

Before submitting

  • [x] Did you read the contributor guideline, Pull Request section?
  • [ ] Was this discussed/approved via a Github issue or the forum? Please add a link to it if that's the case.
  • [x] Did you make sure to update the documentation with your changes? Here are the documentation guidelines, and here are tips on formatting docstrings.
  • [x] Did you write any new necessary tests?

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag members/contributors who may be interested in your PR.

hadikhamoud avatar May 29 '24 19:05 hadikhamoud

@LysandreJik Added '# Copied from' in CohereForTokenClassification and test_Cohere_token_classification_model

hadikhamoud avatar May 31 '24 10:05 hadikhamoud

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

github-actions[bot] avatar Jun 29 '24 08:06 github-actions[bot]