Spaces:
Running
Running
kovacsvi
commited on
Commit
·
a1dac96
1
Parent(s):
57caf39
making it prettier
Browse files
interfaces/cap_minor_media.py
CHANGED
@@ -142,11 +142,11 @@ def predict_cap(text, language, domain):
|
|
142 |
description = """
|
143 |
You can choose between two approaches for making predictions:
|
144 |
|
145 |
-
1.
|
146 |
-
|
147 |
|
148 |
-
2.
|
149 |
-
|
150 |
"""
|
151 |
|
152 |
demo = gr.Interface(
|
|
|
142 |
description = """
|
143 |
You can choose between two approaches for making predictions:
|
144 |
|
145 |
+
**1. Hierarchical Classification**
|
146 |
+
First, the model predicts a **major topic**. Then, a second model selects the most probable **subtopic** from within that major topic's category.
|
147 |
|
148 |
+
**2. Flat Classification (single model)**
|
149 |
+
A single model directly predicts the most relevant label from all available classes, without distinguishing between major and subtopics.
|
150 |
"""
|
151 |
|
152 |
demo = gr.Interface(
|