Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
multimodal, base merges
Browse files- src/display/utils.py +4 -4
src/display/utils.py
CHANGED
@@ -105,8 +105,8 @@ class ModelType(Enum):
|
|
105 |
FT = ModelDetails(name="fine-tuned", symbol="πΆ")
|
106 |
IFT = ModelDetails(name="instruction-tuned", symbol="β")
|
107 |
RL = ModelDetails(name="RL-tuned (Preference optimization)", symbol="π¦")
|
108 |
-
MM = ModelDetails(name="multimodal", symbol="
|
109 |
-
BM = ModelDetails(name="base merges", symbol="
|
110 |
|
111 |
def to_str(self, separator=" "):
|
112 |
return f"{self.value.symbol}{separator}{self.value.name}"
|
@@ -121,9 +121,9 @@ class ModelType(Enum):
|
|
121 |
return ModelType.RL
|
122 |
if "instruction-tuned" in type or "β" in type:
|
123 |
return ModelType.IFT
|
124 |
-
if "multimodal" in type or "
|
125 |
return ModelType.MM
|
126 |
-
if "base merges" in type or "
|
127 |
return ModelType.BM
|
128 |
raise ValueError(f"Unsupported model type: {type}")
|
129 |
|
|
|
105 |
FT = ModelDetails(name="fine-tuned", symbol="πΆ")
|
106 |
IFT = ModelDetails(name="instruction-tuned", symbol="β")
|
107 |
RL = ModelDetails(name="RL-tuned (Preference optimization)", symbol="π¦")
|
108 |
+
MM = ModelDetails(name="multimodal", symbol="πΈ")
|
109 |
+
BM = ModelDetails(name="base merges and moerges", symbol="π€")
|
110 |
|
111 |
def to_str(self, separator=" "):
|
112 |
return f"{self.value.symbol}{separator}{self.value.name}"
|
|
|
121 |
return ModelType.RL
|
122 |
if "instruction-tuned" in type or "β" in type:
|
123 |
return ModelType.IFT
|
124 |
+
if "multimodal" in type or "πΈ" in type:
|
125 |
return ModelType.MM
|
126 |
+
if "base merges and moerges" in type or "π€" in type:
|
127 |
return ModelType.BM
|
128 |
raise ValueError(f"Unsupported model type: {type}")
|
129 |
|