Kaludi commited on
Commit
ab87d1c
1 Parent(s): d4fe148

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -27
README.md CHANGED
@@ -12,11 +12,15 @@ co2_eq_emissions:
12
  emissions: 0.68402736720358
13
  ---
14
 
15
- # Model Trained Using AutoTrain
 
 
 
 
 
 
 
16
 
17
- - Problem type: Binary Classification
18
- - Model ID: 93303145819
19
- - CO2 Emissions (in grams): 0.6840
20
 
21
  ## Validation Metrics
22
 
@@ -25,26 +29,4 @@ co2_eq_emissions:
25
  - Precision: 0.985
26
  - Recall: 1.000
27
  - AUC: 0.992
28
- - F1: 0.992
29
-
30
- ## Usage
31
-
32
- You can use cURL to access this model:
33
-
34
- ```
35
- $ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I love AutoTrain"}' https://api-inference.huggingface.co/models/Kaludi/autotrain-test13-93303145819
36
- ```
37
-
38
- Or Python API:
39
-
40
- ```
41
- from transformers import AutoModelForSequenceClassification, AutoTokenizer
42
-
43
- model = AutoModelForSequenceClassification.from_pretrained("Kaludi/autotrain-test13-93303145819", use_auth_token=True)
44
-
45
- tokenizer = AutoTokenizer.from_pretrained("Kaludi/autotrain-test13-93303145819", use_auth_token=True)
46
-
47
- inputs = tokenizer("I love AutoTrain", return_tensors="pt")
48
-
49
- outputs = model(**inputs)
50
- ```
 
12
  emissions: 0.68402736720358
13
  ---
14
 
15
+ # Fake News Classification
16
+
17
+ This is a Food Category Image Classifier model that has been trained by [Kaludi](https://huggingface.co/Kaludi) to recognize 11 different categories of foods, including **Bread**, **Dairy Product**, **Dessert**, **Egg**, **Fried Food**, **Meat**, **Noodles-Pasta**, **Rice**, **Seafood**, **Soup**, and **Vegetable-Fruit**. It can accurately classify an image of food into one of these categories by analyzing its visual features. This model can be used by food bloggers, restaurants, and recipe websites to quickly categorize and sort their food images, making it easier to manage their content and provide a better user experience.
18
+
19
+ ### Gradio
20
+
21
+ Tis model supports a [Gradio](https://github.com/gradio-app/gradio) Web UI to run the data-food-classification model:
22
+ [![Open In HF Spaces](https://camo.githubusercontent.com/00380c35e60d6b04be65d3d94a58332be5cc93779f630bcdfc18ab9a3a7d3388/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f25463025394625413425393725323048756767696e67253230466163652d5370616365732d626c7565)](https://huggingface.co/spaces/Kaludi/Food-Category-Classification_App)
23
 
 
 
 
24
 
25
  ## Validation Metrics
26
 
 
29
  - Precision: 0.985
30
  - Recall: 1.000
31
  - AUC: 0.992
32
+ - F1: 0.992