File size: 670 Bytes
8fd23ab
c480e4f
2579dcf
8fd23ab
2579dcf
8fd23ab
240a1ec
8fd23ab
 
2579dcf
8fd23ab
 
c480e4f
2579dcf
 
 
 
 
240a1ec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
title: Food Not Food Text Classifier (video)
emoji: πŸ—πŸš«πŸ₯‘
colorFrom: blue
colorTo: yellow
sdk: gradio
sdk_version: 5.9.1
app_file: app.py
pinned: false
license: apache-2.0
---

# πŸ—πŸš«πŸ₯‘ Food Not Food Text Classifier (video)

Small demo to showcase a text classifier to determine if a sentence is about food or not food.

DistilBERT model fine-tuned on a small synthetic dataset of [250 generated food/not_food image captions](https://huggingface.co/datasets/mrdbourke/learn_hf_food_not_food_image_captions). 

See [source code notebook](https://github.com/mrdbourke/learn-huggingface/blob/main/notebooks/hugging_face_text_classification_tutorial.ipynb).