Vincent Claes commited on
Commit
804947e
1 Parent(s): 68d25a5

update documentation

Browse files
Files changed (1) hide show
  1. app.py +9 -5
app.py CHANGED
@@ -66,6 +66,7 @@ article = """
66
  \n
67
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
68
  \n
 
69
  I fine tuned Open Ai's CLIP model on both text (tweets) and images of emoji's!\n
70
  The current model you can play with is fine-tuned on 15 samples per emoji.
71
 
@@ -73,17 +74,20 @@ The current model you can play with is fine-tuned on 15 samples per emoji.
73
  - dataset: https://huggingface.co/datasets/vincentclaes/emoji-predictor \n
74
  - profile: https://huggingface.co/vincentclaes \n
75
 
76
- - Below you can find a table with the precision for predictions and suggestions\n
 
 
77
  for a range of samples per emoji we fine-tuned CLIP on.
78
 
 
79
  - The column "Prediction" indicates the precision for predicting the right emoji.
80
 
81
- - Since there can be some confusion about the right emoji for a tweet, \n
82
- I also tried to present 4 suggestions. If 1 of the 4 suggestions is the same as the label, \n
83
  I consider it a valid prediction. See the column "Suggestion".
84
 
85
- - Randomly predicting an emoji would have a precision of 1/32 or 0.0325.\n
86
- Randomly suggesting an emoji would have a precision of 4/32 or 0.12.
87
 
88
 
89
  | Samples | Prediction | Suggestion |
 
66
  \n
67
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
68
  \n
69
+ # Context
70
  I fine tuned Open Ai's CLIP model on both text (tweets) and images of emoji's!\n
71
  The current model you can play with is fine-tuned on 15 samples per emoji.
72
 
 
74
  - dataset: https://huggingface.co/datasets/vincentclaes/emoji-predictor \n
75
  - profile: https://huggingface.co/vincentclaes \n
76
 
77
+ # Performance
78
+
79
+ Below you can find a table with the precision for predictions and suggestions
80
  for a range of samples per emoji we fine-tuned CLIP on.
81
 
82
+ ### Prediction vs. Suggestion
83
  - The column "Prediction" indicates the precision for predicting the right emoji.
84
 
85
+ - Since there can be some confusion about the right emoji for a tweet,
86
+ I also tried to present 4 suggestions. If 1 of the 4 suggestions is the same as the label,
87
  I consider it a valid prediction. See the column "Suggestion".
88
 
89
+ - Randomly predicting an emoji would have a precision of 1/32 or 0.0325.
90
+ - Randomly suggesting an emoji would have a precision of 4/32 or 0.12.
91
 
92
 
93
  | Samples | Prediction | Suggestion |