clefourrier HF staff alozowski HF staff commited on
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>

Files changed (2) hide show
  1. src/display/about.py +2 -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 `license:`, e.g., *license: MIT*
142
- 4. Combination of name and license, order is irrelevant, e.g., *model_name; license: cc-by-sa-4.0*
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=" "):