food

Food NER

Github Repo: <a href=https://github.com/randymi01/food_ner> https://github.com/randymi01/food_ner</a>

Spacy Food Name Entity Recognition (NER) model trained on StanfordNLP CRF recipe dataset

Installation

Use the package manager pip to install spacy version spacy==3.5.0 and then download the spacy en_core_web_sm model.

pip install spacy==3.5.0
python -m spacy download en_core_web_sm

Usage

import spacy

nlp = spacy.load("model")

# returns (spring mix, chicken breast, chili, hamburger meat)
nlp("I have spring mix, chicken breast, chili, and hamburger meat").ents

Model Hyperparameters

Model Performance

alt text alt text

License

MIT