Spaces:
Running
Running
Commit
·
c564b64
1
Parent(s):
7dd3ffd
Adds small changes for new release
Browse files- config/model_metadata.py +5 -2
- utils.py +4 -3
config/model_metadata.py
CHANGED
|
@@ -104,9 +104,12 @@ MODELS = {
|
|
| 104 |
"https://huggingface.co/mistralai/Magistral-Small-2506", 23.6, "General", "V2", "Reasoning"
|
| 105 |
),
|
| 106 |
"gpt-oss-20b": ModelMetadata(
|
| 107 |
-
"https://huggingface.co/openai/gpt-oss-20b", 21.5, "General", "
|
| 108 |
),
|
| 109 |
"gpt-oss-120b": ModelMetadata(
|
| 110 |
-
"https://huggingface.co/openai/gpt-oss-120b", 120, "General", "
|
|
|
|
|
|
|
|
|
|
| 111 |
),
|
| 112 |
}
|
|
|
|
| 104 |
"https://huggingface.co/mistralai/Magistral-Small-2506", 23.6, "General", "V2", "Reasoning"
|
| 105 |
),
|
| 106 |
"gpt-oss-20b": ModelMetadata(
|
| 107 |
+
"https://huggingface.co/openai/gpt-oss-20b", 21.5, "General", "V3", "Reasoning"
|
| 108 |
),
|
| 109 |
"gpt-oss-120b": ModelMetadata(
|
| 110 |
+
"https://huggingface.co/openai/gpt-oss-120b", 120, "General", "V3", "Reasoning"
|
| 111 |
+
),
|
| 112 |
+
"Seed-OSS-36B": ModelMetadata(
|
| 113 |
+
"https://huggingface.co/openai/gpt-oss-120b", 36.2, "General", "V3", "Reasoning"
|
| 114 |
),
|
| 115 |
}
|
utils.py
CHANGED
|
@@ -15,10 +15,11 @@ def model_hyperlink(link, model_name, release, thinking=False):
|
|
| 15 |
new_badge = f' <span class="badge new-badge">new</span>'
|
| 16 |
reasoning_badge = f' <span class="badge reasoning-badge">reasoning</span>'
|
| 17 |
|
| 18 |
-
if release == "
|
| 19 |
-
|
| 20 |
-
else:
|
| 21 |
return ret + reasoning_badge + new_badge if thinking == "Reasoning" else ret + new_badge
|
|
|
|
|
|
|
| 22 |
|
| 23 |
|
| 24 |
def extract_name_from_link(html: str) -> str:
|
|
|
|
| 15 |
new_badge = f' <span class="badge new-badge">new</span>'
|
| 16 |
reasoning_badge = f' <span class="badge reasoning-badge">reasoning</span>'
|
| 17 |
|
| 18 |
+
if release == "V3":
|
| 19 |
+
# show new badge only to the latest releases
|
|
|
|
| 20 |
return ret + reasoning_badge + new_badge if thinking == "Reasoning" else ret + new_badge
|
| 21 |
+
else:
|
| 22 |
+
return ret + reasoning_badge if thinking == "Reasoning" else ret
|
| 23 |
|
| 24 |
|
| 25 |
def extract_name_from_link(html: str) -> str:
|