lfqian commited on
Commit
9c51b53
·
verified ·
1 Parent(s): b6f40b7

Update src/display/utils.py

Browse files
Files changed (1) hide show
  1. src/display/utils.py +2 -2
src/display/utils.py CHANGED
@@ -75,11 +75,11 @@ class ModelType(Enum):
75
  def from_str(type):
76
  if "fine-tuned" in type or "🔶" in type:
77
  return ModelType.FT
78
- if "pretrained" in type or "🟢" in type:
79
  return ModelType.PT
80
  if "RL-tuned" in type or "🟦" in type:
81
  return ModelType.RL
82
- if "instruction-tuned" in type or "â­•" in type:
83
  return ModelType.IFT
84
  return ModelType.Unknown
85
 
 
75
  def from_str(type):
76
  if "fine-tuned" in type or "🔶" in type:
77
  return ModelType.FT
78
+ if "Reasoning-enhanced" in type or "🟢" in type:
79
  return ModelType.PT
80
  if "RL-tuned" in type or "🟦" in type:
81
  return ModelType.RL
82
+ if "Instruction-tuned" in type or "â­•" in type:
83
  return ModelType.IFT
84
  return ModelType.Unknown
85