keras-team / keras-io

Keras documentation, hosted live at keras.io
Apache License 2.0
2.69k stars 2.01k forks source link

Add Token Classification / Named Entity Recongnition (NER) Example with KerasNLP #1765

Open awsaf49 opened 4 months ago

awsaf49 commented 4 months ago

Issue Type

Feature Request

Keras Version

Keras 3

Current Behavior?

Token Classification, also known as Named Entity Recognition (NER), is a highly popular and intriguing problem in the field of Natural Language Processing (NLP). It would greatly benefit the community to have an example on keras.io utilizing KerasNLP.

Tutorial

I've recently published a notebook on Kaggle's "PII Data Detection" competition demonstrating the token classification task from scratch with KerasNLP which achieves very competitive performance. I would love to add it in keras.io. As this notebook was created for Kaggle competition, I'm open to suggestions to make it more suitable for keras.io.

I think this notebook can also serve as a potential solution to https://github.com/keras-team/keras-nlp/issues/927 as I implemented components for token classification with KerasNLP that was discussed there.

Relevant log output

No response

awsaf49 commented 4 months ago

cc: @fchollet @martin-gorner

hertschuh commented 4 months ago

@awsaf49 ,

That sounds great. Do you want to create an example for keras.io and submit a PR for it?