Commit
β’
10a491c
1
Parent(s):
3a141cd
restore-emoji (#743)
Browse files- restored emojies and fixed about (61dd4b6d6112dee1466f1232f5d802cfc08ff2c1)
Co-authored-by: Alina Lozovskaya <alozowski@users.noreply.huggingface.co>
- src/display/about.py +2 -2
- src/display/utils.py +5 -5
src/display/about.py
CHANGED
@@ -138,8 +138,8 @@ My model has been flagged improperly, what can I do?
|
|
138 |
Search for models in the leaderboard by:
|
139 |
1. Name, e.g., *model_name*
|
140 |
2. Multiple names, separated by `;`, e.g., *model_name1;model_name2*
|
141 |
-
3. License, prefix with `
|
142 |
-
4. Combination of name and license, order is irrelevant, e.g., *model_name;
|
143 |
|
144 |
---------------------------
|
145 |
|
|
|
138 |
Search for models in the leaderboard by:
|
139 |
1. Name, e.g., *model_name*
|
140 |
2. Multiple names, separated by `;`, e.g., *model_name1;model_name2*
|
141 |
+
3. License, prefix with `Hub License:...`, e.g., *Hub License: MIT*
|
142 |
+
4. Combination of name and license, order is irrelevant, e.g., *model_name; Hub License: cc-by-sa-4.0*
|
143 |
|
144 |
---------------------------
|
145 |
|
src/display/utils.py
CHANGED
@@ -159,11 +159,11 @@ class ModelDetails:
|
|
159 |
|
160 |
|
161 |
class ModelType(Enum):
|
162 |
-
PT = ModelDetails(name="pretrained", symbol="π’")
|
163 |
-
CPT = ModelDetails(name="continuously pretrained", symbol="π©")
|
164 |
-
FT = ModelDetails(name="fine-tuned on domain-specific datasets", symbol="πΆ")
|
165 |
-
chat = ModelDetails(name="chat models (RLHF, DPO, IFT, ...)", symbol="π¬")
|
166 |
-
merges = ModelDetails(name="base merges and moerges", symbol="π€")
|
167 |
Unknown = ModelDetails(name="", symbol="?")
|
168 |
|
169 |
def to_str(self, separator=" "):
|
|
|
159 |
|
160 |
|
161 |
class ModelType(Enum):
|
162 |
+
PT = ModelDetails(name="π’ pretrained", symbol="π’")
|
163 |
+
CPT = ModelDetails(name="π© continuously pretrained", symbol="π©")
|
164 |
+
FT = ModelDetails(name="πΆ fine-tuned on domain-specific datasets", symbol="πΆ")
|
165 |
+
chat = ModelDetails(name="π¬ chat models (RLHF, DPO, IFT, ...)", symbol="π¬")
|
166 |
+
merges = ModelDetails(name="π€ base merges and moerges", symbol="π€")
|
167 |
Unknown = ModelDetails(name="", symbol="?")
|
168 |
|
169 |
def to_str(self, separator=" "):
|