Spaces:
Running
Running
openhands
openhands
commited on
Commit
·
55da48c
1
Parent(s):
f0339f3
feat: Add open_weights to openness mapping
Browse filesMaps the 'open_weights' value from openhands-index-results to the
simplified 'open' display category. This ensures DeepSeek, Qwen,
Kimi, and MiniMax models display correctly as open-source.
Co-authored-by: openhands <openhands@all-hands.dev>
- aliases.py +5 -2
aliases.py
CHANGED
|
@@ -2,13 +2,16 @@
|
|
| 2 |
CANONICAL_OPENNESS_OPEN = "open"
|
| 3 |
CANONICAL_OPENNESS_CLOSED = "closed"
|
| 4 |
|
| 5 |
-
# Map
|
| 6 |
OPENNESS_MAPPING = {
|
|
|
|
|
|
|
| 7 |
"open_source_open_weights": CANONICAL_OPENNESS_OPEN,
|
| 8 |
"open_source_closed_weights": CANONICAL_OPENNESS_OPEN,
|
|
|
|
|
|
|
| 9 |
"closed_api_available": CANONICAL_OPENNESS_CLOSED,
|
| 10 |
"closed_ui_only": CANONICAL_OPENNESS_CLOSED,
|
| 11 |
-
"open": CANONICAL_OPENNESS_OPEN,
|
| 12 |
"closed": CANONICAL_OPENNESS_CLOSED,
|
| 13 |
}
|
| 14 |
|
|
|
|
| 2 |
CANONICAL_OPENNESS_OPEN = "open"
|
| 3 |
CANONICAL_OPENNESS_CLOSED = "closed"
|
| 4 |
|
| 5 |
+
# Map raw openness values to simplified display values
|
| 6 |
OPENNESS_MAPPING = {
|
| 7 |
+
# Open-weights models (publicly available weights)
|
| 8 |
+
"open_weights": CANONICAL_OPENNESS_OPEN,
|
| 9 |
"open_source_open_weights": CANONICAL_OPENNESS_OPEN,
|
| 10 |
"open_source_closed_weights": CANONICAL_OPENNESS_OPEN,
|
| 11 |
+
"open": CANONICAL_OPENNESS_OPEN,
|
| 12 |
+
# Closed models (API-only or no public access)
|
| 13 |
"closed_api_available": CANONICAL_OPENNESS_CLOSED,
|
| 14 |
"closed_ui_only": CANONICAL_OPENNESS_CLOSED,
|
|
|
|
| 15 |
"closed": CANONICAL_OPENNESS_CLOSED,
|
| 16 |
}
|
| 17 |
|