sh1gechan commited on
Commit
64b9b34
Β·
1 Parent(s): cf055bf

multimodal, base merges

Browse files
Files changed (1) hide show
  1. 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 "🌟" in type:
125
  return ModelType.MM
126
- if "base merges" in type or "πŸ’«" in type:
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