Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,3 @@
|
|
1 |
-
"""
|
2 |
-
Wine Variety Predictor
|
3 |
-
Author: Cavit Erginsoy
|
4 |
-
Year: 2025
|
5 |
-
License: MIT License
|
6 |
-
"""
|
7 |
-
|
8 |
import torch
|
9 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
10 |
import gradio as gr
|
@@ -103,7 +96,8 @@ if __name__ == "__main__":
|
|
103 |
"This tool uses [ModernBERT](https://huggingface.co/answerdotai/ModernBERT-base), "
|
104 |
"an encoder-only classifier, trained on the [wine reviews dataset]"
|
105 |
"(https://huggingface.co/datasets/spawn99/wine-reviews)\n\n"
|
106 |
-
"**
|
|
|
107 |
"- Model: [spawn99/modernbert-wine-classification](https://huggingface.co/spawn99/modernbert-wine-classification)\n"
|
108 |
"- Dataset: [spawn99/wine-reviews](https://huggingface.co/datasets/spawn99/wine-reviews)\n\n"
|
109 |
"*Cavit Erginsoy, 2025*\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import torch
|
2 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
3 |
import gradio as gr
|
|
|
96 |
"This tool uses [ModernBERT](https://huggingface.co/answerdotai/ModernBERT-base), "
|
97 |
"an encoder-only classifier, trained on the [wine reviews dataset]"
|
98 |
"(https://huggingface.co/datasets/spawn99/wine-reviews)\n\n"
|
99 |
+
"** Resources:**\n"
|
100 |
+
"- Repository: [GitHub:cavit99/wine-classifier-modernbert](https://github.com/cavit99/wine-classifier-modernbert)\n"
|
101 |
"- Model: [spawn99/modernbert-wine-classification](https://huggingface.co/spawn99/modernbert-wine-classification)\n"
|
102 |
"- Dataset: [spawn99/wine-reviews](https://huggingface.co/datasets/spawn99/wine-reviews)\n\n"
|
103 |
"*Cavit Erginsoy, 2025*\n"
|