File size: 655 Bytes
e86d2af
02e73ec
 
 
 
e86d2af
e5d7303
e86d2af
 
02e73ec
e86d2af
 
02e73ec
 
 
 
 
 
e5d7303
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
title: Food Not Food Text Classifier
emoji: πŸ—πŸš«πŸ₯‘
colorFrom: blue
colorTo: yellow
sdk: gradio
sdk_version: 4.36.1
app_file: app.py
pinned: false
license: apache-2.0
---

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

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

DistillBERT model fine-tuned on a small synthetic dataset of 250 generated [Food or Not Food image captions](https://huggingface.co/datasets/mrdbourke/learn_hf_food_not_food_image_captions).

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