Datasets:
Mirror full-context index v2 from youngryankim/superskillret-index-fullcontext (name+description+body, +INT8 quantized)
Browse files- README.md +18 -8
- VERSION +1 -1
- skill_embeddings.npy +1 -1
- skill_embeddings_int8.npy +3 -0
- skill_embeddings_scale.npy +3 -0
README.md
CHANGED
|
@@ -6,15 +6,21 @@ tags:
|
|
| 6 |
- claude-code
|
| 7 |
---
|
| 8 |
|
| 9 |
-
# superskillret prebuilt index
|
| 10 |
|
| 11 |
-
Prebuilt embedding index for the [superskillret](.
|
| 12 |
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
- **Corpus:** [`ThakiCloud/SKILLRET`](https://huggingface.co/datasets/ThakiCloud/SKILLRET) (`train+test`)
|
| 15 |
- **Encoder:** [`ThakiCloud/SkillRet-Embedding-0.6B`](https://huggingface.co/ThakiCloud/SkillRet-Embedding-0.6B)
|
| 16 |
- **Skills indexed:** 16783
|
| 17 |
- **Embedding dim:** 1024
|
|
|
|
| 18 |
- **Normalized:** yes (inner product = cosine similarity)
|
| 19 |
|
| 20 |
## Files
|
|
@@ -22,16 +28,20 @@ Prebuilt embedding index for the [superskillret](../superskillret) Claude Code p
|
|
| 22 |
| File | Description |
|
| 23 |
|---|---|
|
| 24 |
| `skill_embeddings.npy` | FP16 numpy array of shape `(16783, 1024)` |
|
| 25 |
-
| `
|
| 26 |
-
| `
|
|
|
|
|
|
|
| 27 |
|
| 28 |
## Usage
|
| 29 |
|
| 30 |
```python
|
| 31 |
from huggingface_hub import snapshot_download
|
| 32 |
-
snapshot_download(
|
| 33 |
-
|
| 34 |
-
|
|
|
|
|
|
|
| 35 |
```
|
| 36 |
|
| 37 |
Downstream consumers should check `VERSION` against their cached copy before reusing local files.
|
|
|
|
| 6 |
- claude-code
|
| 7 |
---
|
| 8 |
|
| 9 |
+
# superskillret prebuilt index — full-context
|
| 10 |
|
| 11 |
+
Prebuilt embedding index for the [superskillret](https://github.com/ThakiCloud/SUPERSKILLRET) Claude Code plugin.
|
| 12 |
|
| 13 |
+
Unlike the v1 index (which embedded only `name + description`), v2 encodes
|
| 14 |
+
the **full skill body** (`name + description + body`) up to
|
| 15 |
+
`max_seq_length=32768` tokens. Larger index, much higher recall on
|
| 16 |
+
skills whose name/description don't capture every keyword in the body.
|
| 17 |
+
|
| 18 |
+
- **Version:** 2
|
| 19 |
- **Corpus:** [`ThakiCloud/SKILLRET`](https://huggingface.co/datasets/ThakiCloud/SKILLRET) (`train+test`)
|
| 20 |
- **Encoder:** [`ThakiCloud/SkillRet-Embedding-0.6B`](https://huggingface.co/ThakiCloud/SkillRet-Embedding-0.6B)
|
| 21 |
- **Skills indexed:** 16783
|
| 22 |
- **Embedding dim:** 1024
|
| 23 |
+
- **Encoded text:** `name + description + body` (truncated to 32768 tokens)
|
| 24 |
- **Normalized:** yes (inner product = cosine similarity)
|
| 25 |
|
| 26 |
## Files
|
|
|
|
| 28 |
| File | Description |
|
| 29 |
|---|---|
|
| 30 |
| `skill_embeddings.npy` | FP16 numpy array of shape `(16783, 1024)` |
|
| 31 |
+
| `skill_embeddings_int8.npy` | INT8 per-row quantized array of shape `(16783, 1024)` |
|
| 32 |
+
| `skill_embeddings_scale.npy` | float32 per-row scale of shape `(16783,)` — reconstruct as `(int8 / 127) * scale` |
|
| 33 |
+
| `skill_metadata.jsonl` | one JSON record per row, aligned with embeddings (`name`, `description`, `body`, `source_url`, `namespace`, `repo`, `id`) |
|
| 34 |
+
| `VERSION` | integer version tag; bumped when the corpus, encoder, or encoded-text scheme changes |
|
| 35 |
|
| 36 |
## Usage
|
| 37 |
|
| 38 |
```python
|
| 39 |
from huggingface_hub import snapshot_download
|
| 40 |
+
snapshot_download(
|
| 41 |
+
repo_id="ThakiCloud/superskillret-index",
|
| 42 |
+
repo_type="dataset",
|
| 43 |
+
local_dir="cache/",
|
| 44 |
+
)
|
| 45 |
```
|
| 46 |
|
| 47 |
Downstream consumers should check `VERSION` against their cached copy before reusing local files.
|
VERSION
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
2
|
skill_embeddings.npy
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 34371712
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d2de80a827decee01af048685a0cfc99c67ace492c397ea3672e7299632a1ba8
|
| 3 |
size 34371712
|
skill_embeddings_int8.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e383cdb7a122f06ce5735f7e981ab44294a75e80011f5999837cce407d69709
|
| 3 |
+
size 17185920
|
skill_embeddings_scale.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d5503b7e533bbc2e006ed5d62169f10246100decc5b632bfd0366be6ed6a5fc0
|
| 3 |
+
size 67260
|