Spaces:
Runtime error
Runtime error
Commit
·
dbbd259
1
Parent(s):
a93661a
add low hanging fruit
Browse files- pages/model-tree.md +42 -1
pages/model-tree.md
CHANGED
@@ -37,4 +37,45 @@ ORDER BY week DESC;
|
|
37 |
yTickMarks=true
|
38 |
labels=true
|
39 |
yMax=1
|
40 |
-
/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
yTickMarks=true
|
38 |
labels=true
|
39 |
yMax=1
|
40 |
+
/>
|
41 |
+
|
42 |
+
## Low Hanging Fruit
|
43 |
+
|
44 |
+
Models that are `GGUF`, `MLC`, `AWQ`, `GPTQ`, or `ONNX` models that don't have the base model tag sorted by popularity.
|
45 |
+
|
46 |
+
```sql low_hanging_fruit_gguf
|
47 |
+
WITH gguf_models AS (
|
48 |
+
SELECT
|
49 |
+
id,
|
50 |
+
modelId,
|
51 |
+
tags,
|
52 |
+
downloads
|
53 |
+
FROM read_parquet('https://huggingface.co/datasets/cfahlgren1/hub-stats/resolve/refs%2Fconvert%2Fparquet/models/train/0000.parquet?download=true')
|
54 |
+
WHERE LOWER(modelId) LIKE '%gguf%'
|
55 |
+
OR LOWER(modelId) LIKE '%mlc%'
|
56 |
+
OR LOWER(modelId) LIKE '%awq%'
|
57 |
+
OR LOWER(modelId) LIKE '%gptq%'
|
58 |
+
OR LOWER(modelId) LIKE '%onnx%'
|
59 |
+
),
|
60 |
+
models_with_base_model_tag AS (
|
61 |
+
SELECT
|
62 |
+
id
|
63 |
+
FROM gguf_models,
|
64 |
+
UNNEST(tags) AS tag
|
65 |
+
WHERE LOWER(tag) LIKE '%base_model:%'
|
66 |
+
)
|
67 |
+
SELECT
|
68 |
+
gm.id,
|
69 |
+
gm.modelId,
|
70 |
+
gm.downloads
|
71 |
+
FROM gguf_models gm
|
72 |
+
LEFT JOIN models_with_base_model_tag bm ON gm.id = bm.id
|
73 |
+
WHERE bm.id IS NULL
|
74 |
+
ORDER BY gm.downloads DESC
|
75 |
+
LIMIT 10;
|
76 |
+
```
|
77 |
+
|
78 |
+
<DataTable data={low_hanging_fruit_gguf} search=true>
|
79 |
+
<Column id="id" title="Model ID" />
|
80 |
+
<Column id="downloads" title="Downloads" fmt="#,##0" />
|
81 |
+
</DataTable>
|