Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +1 -0
- COMPLETE.json +26 -0
- PARTS.jsonl +0 -0
- README.md +28 -0
- SHA256SUMS +0 -0
- embeddings/shard_099/part_00000/chunks.parquet +3 -0
- embeddings/shard_099/part_00000/document_index.parquet +3 -0
- embeddings/shard_099/part_00000/embeddings.npy +3 -0
- embeddings/shard_099/part_00001/chunks.parquet +3 -0
- embeddings/shard_099/part_00001/document_index.parquet +3 -0
- embeddings/shard_099/part_00001/embeddings.npy +3 -0
- embeddings/shard_099/part_00002/chunks.parquet +3 -0
- embeddings/shard_099/part_00002/document_index.parquet +3 -0
- embeddings/shard_099/part_00002/embeddings.npy +3 -0
- embeddings/shard_099/part_00003/chunks.parquet +3 -0
- embeddings/shard_099/part_00003/document_index.parquet +3 -0
- embeddings/shard_099/part_00003/embeddings.npy +3 -0
- embeddings/shard_099/part_00004/chunks.parquet +3 -0
- embeddings/shard_099/part_00004/document_index.parquet +3 -0
- embeddings/shard_099/part_00004/embeddings.npy +3 -0
- embeddings/shard_099/part_00005/chunks.parquet +3 -0
- embeddings/shard_099/part_00005/document_index.parquet +3 -0
- embeddings/shard_099/part_00005/embeddings.npy +3 -0
- embeddings/shard_099/part_00006/chunks.parquet +3 -0
- embeddings/shard_099/part_00006/document_index.parquet +3 -0
- embeddings/shard_099/part_00006/embeddings.npy +3 -0
- embeddings/shard_099/part_00007/chunks.parquet +3 -0
- embeddings/shard_099/part_00007/document_index.parquet +3 -0
- embeddings/shard_099/part_00008/chunks.parquet +3 -0
- embeddings/shard_099/part_00008/document_index.parquet +3 -0
- embeddings/shard_099/part_00008/embeddings.npy +3 -0
- embeddings/shard_099/part_00009/chunks.parquet +3 -0
- embeddings/shard_099/part_00009/document_index.parquet +3 -0
- embeddings/shard_099/part_00009/embeddings.npy +3 -0
- embeddings/shard_099/part_00010/chunks.parquet +3 -0
- embeddings/shard_099/part_00010/document_index.parquet +3 -0
- embeddings/shard_099/part_00010/embeddings.npy +3 -0
- embeddings/shard_099/part_00011/chunks.parquet +3 -0
- embeddings/shard_099/part_00011/document_index.parquet +3 -0
- embeddings/shard_099/part_00012/chunks.parquet +3 -0
- embeddings/shard_099/part_00012/document_index.parquet +3 -0
- embeddings/shard_099/part_00013/chunks.parquet +3 -0
- embeddings/shard_099/part_00013/document_index.parquet +3 -0
- embeddings/shard_099/part_00014/chunks.parquet +3 -0
- load_example.py +28 -0
- metadata.json +54 -0
- tokenizer/config.json +39 -0
- tokenizer/merges.txt +0 -0
- tokenizer/tokenizer.json +3 -0
- tokenizer/tokenizer_config.json +239 -0
.gitattributes
CHANGED
|
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
COMPLETE.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"complete": true,
|
| 3 |
+
"run_id": "01d49418607dc011adb901641ea2ab67ef47697e6c2141ef767896f4a9cd2fb9",
|
| 4 |
+
"completed_utc": "2026-10-04T06:06:40.192672+00:00",
|
| 5 |
+
"parts": 12000,
|
| 6 |
+
"documents": 48965906,
|
| 7 |
+
"chunks": 90458594,
|
| 8 |
+
"model_tokens": 32722333502,
|
| 9 |
+
"input_tokens": 33065204471,
|
| 10 |
+
"empty_documents": 0,
|
| 11 |
+
"long_documents": 10047,
|
| 12 |
+
"embedding_bytes": 370519937024,
|
| 13 |
+
"retokenized_documents": 35993,
|
| 14 |
+
"output_dimension": 2048,
|
| 15 |
+
"output_dtype": "float16",
|
| 16 |
+
"chunk_size": 512,
|
| 17 |
+
"chunk_overlap": 0,
|
| 18 |
+
"max_fp16_norm_error": 0.00024330615997314453,
|
| 19 |
+
"checks": [
|
| 20 |
+
"full source row and stable document ID coverage",
|
| 21 |
+
"every chunk offset and context window",
|
| 22 |
+
"all file SHA256 checksums",
|
| 23 |
+
"every vector finite and unit norm within fp16 tolerance",
|
| 24 |
+
"independent retokenization of boundary and longest rows in every part"
|
| 25 |
+
]
|
| 26 |
+
}
|
PARTS.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ClimbMix small embeddings
|
| 2 |
+
|
| 3 |
+
**48,965,906 documents · 90,458,594 chunk vectors · 12,000 parts · approximately 418.9 GB.**
|
| 4 |
+
|
| 5 |
+
`voyage-context-4`; 512 model-token chunks, zero overlap, 2,048 dimensions, normalized float16 vectors. All document text and final partial chunks retained. Full checksum, coverage, mapping and vector audit passed; see [COMPLETE.json](COMPLETE.json).
|
| 6 |
+
|
| 7 |
+
## Contents
|
| 8 |
+
|
| 9 |
+
- `documents/shard_NNN/part_NNNNN.parquet`: text, stable `doc_id`, source shard/row.
|
| 10 |
+
- `embeddings/shard_NNN/part_NNNNN/embeddings.npy`: `(chunks, 2048)` array.
|
| 11 |
+
- Adjacent `chunks.parquet`: `doc_id`, chunk index, embedding row, token/context offsets.
|
| 12 |
+
- Adjacent `document_index.parquet`: each document's embedding start/count and token count.
|
| 13 |
+
- `tokenizer/`: exact model tokenizer; model weights are not included.
|
| 14 |
+
- [metadata.json](metadata.json): provenance and settings. [PARTS.jsonl](PARTS.jsonl): portable paths, counts, sizes and hashes. `SHA256SUMS`: file checksums.
|
| 15 |
+
|
| 16 |
+
Vector row numbers are local to each part. Token offsets are zero-based, end-exclusive model-token offsets in the original document, excluding the retrieval prefix. Context covers at most 63 chunks per window; long documents continue in subsequent windows. Context does not cross window boundaries.
|
| 17 |
+
|
| 18 |
+
## Read
|
| 19 |
+
|
| 20 |
+
Requires NumPy and PyArrow. From this folder:
|
| 21 |
+
|
| 22 |
+
```bash
|
| 23 |
+
python load_example.py
|
| 24 |
+
```
|
| 25 |
+
|
| 26 |
+
The example memory-maps the vectors and shows how document rows map to them.
|
| 27 |
+
|
| 28 |
+
Local data files are hard-linked to the originals; treat them as read-only.
|
SHA256SUMS
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
embeddings/shard_099/part_00000/chunks.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:94369217e60d10435d4b6a782507b67bf2936b36cc0b5dd5bb178f047a675b31
|
| 3 |
+
size 67710
|
embeddings/shard_099/part_00000/document_index.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3df6964a2563255d4648562b502d1492a0fcb0c63a4819b56c401566b412cb5d
|
| 3 |
+
size 31368
|
embeddings/shard_099/part_00000/embeddings.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:40c60a984a0ffd82262486b01af3a0727f27620161d2bc0ca8f90b09c32f7791
|
| 3 |
+
size 31871104
|
embeddings/shard_099/part_00001/chunks.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d39017dca2ac3b0d44122d70065ebd77ee1007c229a4b4ca4eb658e7a1cfb64e
|
| 3 |
+
size 60481
|
embeddings/shard_099/part_00001/document_index.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:98a2c0071f6afe6de7407010c24476bdb2c0a78bf360426632c44014c7cfb1cb
|
| 3 |
+
size 30886
|
embeddings/shard_099/part_00001/embeddings.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:32acef92e86228dae827848a281c35d03e7de452ceab9e3726bff54dee824c16
|
| 3 |
+
size 29192320
|
embeddings/shard_099/part_00002/chunks.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d2b90b2c8514245c2daae575e157c0e0aa769c3360f88fb5186450bc05646790
|
| 3 |
+
size 53129
|
embeddings/shard_099/part_00002/document_index.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7139ed008b22f2a95c571ec005099c271fa97d451afded0f4eed3869190f883b
|
| 3 |
+
size 30390
|
embeddings/shard_099/part_00002/embeddings.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2c99b325984e32f514dcb238ee70920dd85733241d503026cf2ad78eda16c48c
|
| 3 |
+
size 25383040
|
embeddings/shard_099/part_00003/chunks.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b07d860119cbc3b98ee2da1d9bf55f422424d639beb280976c16ab5ee127ba31
|
| 3 |
+
size 40755
|
embeddings/shard_099/part_00003/document_index.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b33ea56f3e7060b5de525263828041177cfe46b60b8235f3e1a0bad8d3238230
|
| 3 |
+
size 28610
|
embeddings/shard_099/part_00003/embeddings.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b4d736db32fbd8ff90d429e91e2ecb538858cd5eeeff52f9cc820bfa0728461f
|
| 3 |
+
size 19124352
|
embeddings/shard_099/part_00004/chunks.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:70129eadcb1e2654ae9cab1775df62ce86ae752da6a90dbf3a917c99e4b48970
|
| 3 |
+
size 40945
|
embeddings/shard_099/part_00004/document_index.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9da803cdc48eff6539a008ea69c43f52aa411ba8609fcc046a4bcedc24bb057b
|
| 3 |
+
size 28709
|
embeddings/shard_099/part_00004/embeddings.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce58fb38ee9b1b4adac040652c31417593cfc4051c70d28292b4ed542f7ab501
|
| 3 |
+
size 19120256
|
embeddings/shard_099/part_00005/chunks.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:78641d3ace927d692a4f3ee2c3b950057a96d71f0f34bcffd5925b386c807404
|
| 3 |
+
size 40653
|
embeddings/shard_099/part_00005/document_index.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4844c3280b9147b09eb7e73779aabb81e32761d406788990ce95dd0e98a6dedf
|
| 3 |
+
size 28534
|
embeddings/shard_099/part_00005/embeddings.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c9350dad061fbd432aa4df1ffcded87585069df594cab8419171fdca1f0bc4c
|
| 3 |
+
size 19071104
|
embeddings/shard_099/part_00006/chunks.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7376dbcf03e2d301fb96f524216ebb46b8d8bb4efe75e2f9148578673bf930df
|
| 3 |
+
size 40586
|
embeddings/shard_099/part_00006/document_index.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:40ce05c2d8cef0fc6219f5cb8e426ff24b66f6f3af68cc51c5267abd9f751437
|
| 3 |
+
size 28505
|
embeddings/shard_099/part_00006/embeddings.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:237d65e49d0d8ec3b2ebe2926f7483a16c725e40257d3353600e74ced2fb059e
|
| 3 |
+
size 19050624
|
embeddings/shard_099/part_00007/chunks.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8a2ab794ce49d7a450d775fd8ad5c7a771fe3fa60d1c71b5e5dd43ffc83799f1
|
| 3 |
+
size 40956
|
embeddings/shard_099/part_00007/document_index.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a0354833f7a71c4481816fe96aa69e196efc28db9752389cb0e0fa42156e1bcd
|
| 3 |
+
size 28732
|
embeddings/shard_099/part_00008/chunks.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a2e230167133faeb2f7248d9a56a4fce08d882b281a4f728a287873d40fe0e81
|
| 3 |
+
size 40093
|
embeddings/shard_099/part_00008/document_index.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b6e104bed87056e1db7cb4def766da7da01e21bb1effea55223b67432edbb68
|
| 3 |
+
size 28567
|
embeddings/shard_099/part_00008/embeddings.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:079efa10684e3684ff556405f3f2b0b7510a3eb61636e6bc02c3f4fd872da1e1
|
| 3 |
+
size 18813056
|
embeddings/shard_099/part_00009/chunks.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8907725bad09c10babfa5535e94b22e5f0dace56ed3bce0a4b47d64254d76f8a
|
| 3 |
+
size 40756
|
embeddings/shard_099/part_00009/document_index.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fcdfda80958fd68b5a9b3b20220da4a0eea7dd7d62480358c38ff40d89728b01
|
| 3 |
+
size 28534
|
embeddings/shard_099/part_00009/embeddings.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8219a1d30bd56336b83efdd6f1e6fcf9a6f956b968e5e107c79c2396ef7dcb88
|
| 3 |
+
size 19095680
|
embeddings/shard_099/part_00010/chunks.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8a095648ac107587da0f6c26e97892b58a81c00b95882baa9cb0a0168659bf3a
|
| 3 |
+
size 40702
|
embeddings/shard_099/part_00010/document_index.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:87d727f6d182e73fcaa24209985b576795b19d3299bf3ac33f342fd341ffd5fa
|
| 3 |
+
size 28483
|
embeddings/shard_099/part_00010/embeddings.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6695ad3fa66ae73806f143f5bb761ff552fe3def9fec966a9e5e8523f663350d
|
| 3 |
+
size 19112064
|
embeddings/shard_099/part_00011/chunks.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0e6365ab83fae9ffa6127b89249f18bfccd1ba1c32b242efead94d2ad2f2c05e
|
| 3 |
+
size 40567
|
embeddings/shard_099/part_00011/document_index.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a750003b7740beedee5d700f1ad1ba52518ac25850678201d5b97ebf37e68f5
|
| 3 |
+
size 28510
|
embeddings/shard_099/part_00012/chunks.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8d839b83cca9fe374e4262c079367e521ec258e24038cf3f7d0a6ffdfd9890ff
|
| 3 |
+
size 41375
|
embeddings/shard_099/part_00012/document_index.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bae824fac8c8cf9402e2b41b924029e62e99c1d81ae2c98044fd3c7b3d356160
|
| 3 |
+
size 28749
|
embeddings/shard_099/part_00013/chunks.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7fd655506e446d1dbb0d94218421338b3d1112f20958b517b86cdc69acfa6887
|
| 3 |
+
size 40330
|
embeddings/shard_099/part_00013/document_index.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:babb7153498db0593077cdfa1bfa9d18a4e9fb4c86292b977a4f4660ff1871b8
|
| 3 |
+
size 28445
|
embeddings/shard_099/part_00014/chunks.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:09dff6983ed8e667ad4393a54ad923c8756e69da94cb020e7715fc0214f2387a
|
| 3 |
+
size 40816
|
load_example.py
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Read one document and its chunk vectors; no model/GPU required."""
|
| 2 |
+
import argparse
|
| 3 |
+
from pathlib import Path
|
| 4 |
+
|
| 5 |
+
import numpy as np
|
| 6 |
+
import pyarrow.parquet as pq
|
| 7 |
+
|
| 8 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 9 |
+
parser.add_argument('--unit', default='shard_000/part_00000')
|
| 10 |
+
parser.add_argument('--document-row', type=int, default=0)
|
| 11 |
+
args = parser.parse_args()
|
| 12 |
+
root = Path(__file__).resolve().parent
|
| 13 |
+
part = root / 'embeddings' / args.unit
|
| 14 |
+
index = pq.read_table(part / 'document_index.parquet')
|
| 15 |
+
if not 0 <= args.document_row < index.num_rows:
|
| 16 |
+
parser.error('--document-row is outside this part')
|
| 17 |
+
row = index.slice(args.document_row, 1).to_pylist()[0]
|
| 18 |
+
vectors = np.load(part / 'embeddings.npy', mmap_mode='r', allow_pickle=False)
|
| 19 |
+
start = row['embedding_start']
|
| 20 |
+
doc_vectors = vectors[start:start + row['embedding_count']]
|
| 21 |
+
document = pq.read_table(root / 'documents' / (args.unit + '.parquet'),
|
| 22 |
+
filters=[('doc_id', '=', row['doc_id'])]).to_pylist()[0]
|
| 23 |
+
chunks = pq.read_table(part / 'chunks.parquet',
|
| 24 |
+
filters=[('doc_id', '=', row['doc_id'])])
|
| 25 |
+
print(row)
|
| 26 |
+
print('Document vectors:', doc_vectors.shape, doc_vectors.dtype)
|
| 27 |
+
print('Text preview:', document['text'][:160])
|
| 28 |
+
print('First chunk:', chunks.slice(0, 1).to_pylist())
|
metadata.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format_version": 1,
|
| 3 |
+
"name": "ClimbMix small context-4 chunk embeddings",
|
| 4 |
+
"run_id": "01d49418607dc011adb901641ea2ab67ef47697e6c2141ef767896f4a9cd2fb9",
|
| 5 |
+
"completed_utc": "2026-10-04T06:06:40.192672+00:00",
|
| 6 |
+
"dataset": {
|
| 7 |
+
"repository": "nvidia/Nemotron-ClimbMix",
|
| 8 |
+
"url": "https://huggingface.co/datasets/nvidia/Nemotron-ClimbMix",
|
| 9 |
+
"revision": "5eaa64b9c0c85b7f56af01d7dffdb0795816b12b",
|
| 10 |
+
"subset": "climbmix_small",
|
| 11 |
+
"text_decoding": "tiktoken GPT-2 decode, errors=replace; no cleaning or truncation",
|
| 12 |
+
"document_id": "ncm_small_{source_shard:03d}_{source_row:09d}"
|
| 13 |
+
},
|
| 14 |
+
"model": {
|
| 15 |
+
"name": "voyage-context-4",
|
| 16 |
+
"checkpoint_sha256": "8c63985d03df7039dd63feb7783c793ada2895358145ea3c3ede42837d1a089a",
|
| 17 |
+
"checkpoint_weights_included": false,
|
| 18 |
+
"tokenizer_directory": "tokenizer"
|
| 19 |
+
},
|
| 20 |
+
"encoding": {
|
| 21 |
+
"chunk_size_model_tokens": 512,
|
| 22 |
+
"chunk_overlap": 0,
|
| 23 |
+
"dimension": 2048,
|
| 24 |
+
"storage_dtype": "float16",
|
| 25 |
+
"compute_dtype": "bfloat16",
|
| 26 |
+
"attention": "bidirectional within each document window",
|
| 27 |
+
"pooling": "float32 mean of projected token states per chunk, then L2 normalize",
|
| 28 |
+
"document_prefix": "Represent the document for retrieval: ",
|
| 29 |
+
"prefix_tokens": 7,
|
| 30 |
+
"prefix_excluded_from_pooling": true,
|
| 31 |
+
"max_context_tokens": 32768,
|
| 32 |
+
"max_content_tokens_per_window": 32256,
|
| 33 |
+
"max_chunks_per_window": 63,
|
| 34 |
+
"long_documents": "All text retained in consecutive windows; no context across window boundaries.",
|
| 35 |
+
"token_offsets": "Zero-based, half-open [start,end) in full document model tokens, excluding prefix.",
|
| 36 |
+
"embedding_row_offsets": "Zero-based and local to each part array."
|
| 37 |
+
},
|
| 38 |
+
"counts": {
|
| 39 |
+
"documents": 48965906,
|
| 40 |
+
"chunks": 90458594,
|
| 41 |
+
"parts": 12000,
|
| 42 |
+
"model_tokens": 32722333502,
|
| 43 |
+
"long_documents": 10047
|
| 44 |
+
},
|
| 45 |
+
"data_files": 48000,
|
| 46 |
+
"data_bytes": 418878186322,
|
| 47 |
+
"audit": {
|
| 48 |
+
"passed": true,
|
| 49 |
+
"summary": "COMPLETE.json",
|
| 50 |
+
"retokenized_documents": 35993,
|
| 51 |
+
"max_fp16_norm_error": 0.00024330615997314453,
|
| 52 |
+
"note": "BF16 MoE outputs may differ slightly across batch sizes."
|
| 53 |
+
}
|
| 54 |
+
}
|
tokenizer/config.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen3MoeForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 151643,
|
| 8 |
+
"decoder_sparse_step": 1,
|
| 9 |
+
"eos_token_id": 151645,
|
| 10 |
+
"head_dim": 128,
|
| 11 |
+
"hidden_act": "silu",
|
| 12 |
+
"hidden_size": 2048,
|
| 13 |
+
"initializer_range": 0.02,
|
| 14 |
+
"intermediate_size": 6144,
|
| 15 |
+
"max_position_embeddings": 40960,
|
| 16 |
+
"max_window_layers": 48,
|
| 17 |
+
"mlp_only_layers": [],
|
| 18 |
+
"model_type": "qwen3_moe",
|
| 19 |
+
"moe_intermediate_size": 768,
|
| 20 |
+
"norm_topk_prob": true,
|
| 21 |
+
"num_attention_heads": 32,
|
| 22 |
+
"num_experts": 128,
|
| 23 |
+
"num_experts_per_tok": 8,
|
| 24 |
+
"num_hidden_layers": 48,
|
| 25 |
+
"num_key_value_heads": 4,
|
| 26 |
+
"output_router_logits": false,
|
| 27 |
+
"rms_norm_eps": 1e-06,
|
| 28 |
+
"rope_scaling": null,
|
| 29 |
+
"rope_theta": 1000000.0,
|
| 30 |
+
"router_aux_loss_coef": 0.001,
|
| 31 |
+
"sliding_window": null,
|
| 32 |
+
"tie_word_embeddings": false,
|
| 33 |
+
"torch_dtype": "bfloat16",
|
| 34 |
+
"transformers_version": "4.51.0",
|
| 35 |
+
"use_cache": true,
|
| 36 |
+
"use_sliding_window": false,
|
| 37 |
+
"num_labels": 2048,
|
| 38 |
+
"vocab_size": 151936
|
| 39 |
+
}
|
tokenizer/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
|
| 3 |
+
size 11422654
|
tokenizer/tokenizer_config.json
ADDED
|
@@ -0,0 +1,239 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_prefix_space": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"151643": {
|
| 6 |
+
"content": "<|endoftext|>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"151644": {
|
| 14 |
+
"content": "<|im_start|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"151645": {
|
| 22 |
+
"content": "<|im_end|>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": false,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": false,
|
| 27 |
+
"special": true
|
| 28 |
+
},
|
| 29 |
+
"151646": {
|
| 30 |
+
"content": "<|object_ref_start|>",
|
| 31 |
+
"lstrip": false,
|
| 32 |
+
"normalized": false,
|
| 33 |
+
"rstrip": false,
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"special": true
|
| 36 |
+
},
|
| 37 |
+
"151647": {
|
| 38 |
+
"content": "<|object_ref_end|>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false,
|
| 43 |
+
"special": true
|
| 44 |
+
},
|
| 45 |
+
"151648": {
|
| 46 |
+
"content": "<|box_start|>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false,
|
| 51 |
+
"special": true
|
| 52 |
+
},
|
| 53 |
+
"151649": {
|
| 54 |
+
"content": "<|box_end|>",
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"normalized": false,
|
| 57 |
+
"rstrip": false,
|
| 58 |
+
"single_word": false,
|
| 59 |
+
"special": true
|
| 60 |
+
},
|
| 61 |
+
"151650": {
|
| 62 |
+
"content": "<|quad_start|>",
|
| 63 |
+
"lstrip": false,
|
| 64 |
+
"normalized": false,
|
| 65 |
+
"rstrip": false,
|
| 66 |
+
"single_word": false,
|
| 67 |
+
"special": true
|
| 68 |
+
},
|
| 69 |
+
"151651": {
|
| 70 |
+
"content": "<|quad_end|>",
|
| 71 |
+
"lstrip": false,
|
| 72 |
+
"normalized": false,
|
| 73 |
+
"rstrip": false,
|
| 74 |
+
"single_word": false,
|
| 75 |
+
"special": true
|
| 76 |
+
},
|
| 77 |
+
"151652": {
|
| 78 |
+
"content": "<|vision_start|>",
|
| 79 |
+
"lstrip": false,
|
| 80 |
+
"normalized": false,
|
| 81 |
+
"rstrip": false,
|
| 82 |
+
"single_word": false,
|
| 83 |
+
"special": true
|
| 84 |
+
},
|
| 85 |
+
"151653": {
|
| 86 |
+
"content": "<|vision_end|>",
|
| 87 |
+
"lstrip": false,
|
| 88 |
+
"normalized": false,
|
| 89 |
+
"rstrip": false,
|
| 90 |
+
"single_word": false,
|
| 91 |
+
"special": true
|
| 92 |
+
},
|
| 93 |
+
"151654": {
|
| 94 |
+
"content": "<|vision_pad|>",
|
| 95 |
+
"lstrip": false,
|
| 96 |
+
"normalized": false,
|
| 97 |
+
"rstrip": false,
|
| 98 |
+
"single_word": false,
|
| 99 |
+
"special": true
|
| 100 |
+
},
|
| 101 |
+
"151655": {
|
| 102 |
+
"content": "<|image_pad|>",
|
| 103 |
+
"lstrip": false,
|
| 104 |
+
"normalized": false,
|
| 105 |
+
"rstrip": false,
|
| 106 |
+
"single_word": false,
|
| 107 |
+
"special": true
|
| 108 |
+
},
|
| 109 |
+
"151656": {
|
| 110 |
+
"content": "<|video_pad|>",
|
| 111 |
+
"lstrip": false,
|
| 112 |
+
"normalized": false,
|
| 113 |
+
"rstrip": false,
|
| 114 |
+
"single_word": false,
|
| 115 |
+
"special": true
|
| 116 |
+
},
|
| 117 |
+
"151657": {
|
| 118 |
+
"content": "<tool_call>",
|
| 119 |
+
"lstrip": false,
|
| 120 |
+
"normalized": false,
|
| 121 |
+
"rstrip": false,
|
| 122 |
+
"single_word": false,
|
| 123 |
+
"special": false
|
| 124 |
+
},
|
| 125 |
+
"151658": {
|
| 126 |
+
"content": "</tool_call>",
|
| 127 |
+
"lstrip": false,
|
| 128 |
+
"normalized": false,
|
| 129 |
+
"rstrip": false,
|
| 130 |
+
"single_word": false,
|
| 131 |
+
"special": false
|
| 132 |
+
},
|
| 133 |
+
"151659": {
|
| 134 |
+
"content": "<|fim_prefix|>",
|
| 135 |
+
"lstrip": false,
|
| 136 |
+
"normalized": false,
|
| 137 |
+
"rstrip": false,
|
| 138 |
+
"single_word": false,
|
| 139 |
+
"special": false
|
| 140 |
+
},
|
| 141 |
+
"151660": {
|
| 142 |
+
"content": "<|fim_middle|>",
|
| 143 |
+
"lstrip": false,
|
| 144 |
+
"normalized": false,
|
| 145 |
+
"rstrip": false,
|
| 146 |
+
"single_word": false,
|
| 147 |
+
"special": false
|
| 148 |
+
},
|
| 149 |
+
"151661": {
|
| 150 |
+
"content": "<|fim_suffix|>",
|
| 151 |
+
"lstrip": false,
|
| 152 |
+
"normalized": false,
|
| 153 |
+
"rstrip": false,
|
| 154 |
+
"single_word": false,
|
| 155 |
+
"special": false
|
| 156 |
+
},
|
| 157 |
+
"151662": {
|
| 158 |
+
"content": "<|fim_pad|>",
|
| 159 |
+
"lstrip": false,
|
| 160 |
+
"normalized": false,
|
| 161 |
+
"rstrip": false,
|
| 162 |
+
"single_word": false,
|
| 163 |
+
"special": false
|
| 164 |
+
},
|
| 165 |
+
"151663": {
|
| 166 |
+
"content": "<|repo_name|>",
|
| 167 |
+
"lstrip": false,
|
| 168 |
+
"normalized": false,
|
| 169 |
+
"rstrip": false,
|
| 170 |
+
"single_word": false,
|
| 171 |
+
"special": false
|
| 172 |
+
},
|
| 173 |
+
"151664": {
|
| 174 |
+
"content": "<|file_sep|>",
|
| 175 |
+
"lstrip": false,
|
| 176 |
+
"normalized": false,
|
| 177 |
+
"rstrip": false,
|
| 178 |
+
"single_word": false,
|
| 179 |
+
"special": false
|
| 180 |
+
},
|
| 181 |
+
"151665": {
|
| 182 |
+
"content": "<tool_response>",
|
| 183 |
+
"lstrip": false,
|
| 184 |
+
"normalized": false,
|
| 185 |
+
"rstrip": false,
|
| 186 |
+
"single_word": false,
|
| 187 |
+
"special": false
|
| 188 |
+
},
|
| 189 |
+
"151666": {
|
| 190 |
+
"content": "</tool_response>",
|
| 191 |
+
"lstrip": false,
|
| 192 |
+
"normalized": false,
|
| 193 |
+
"rstrip": false,
|
| 194 |
+
"single_word": false,
|
| 195 |
+
"special": false
|
| 196 |
+
},
|
| 197 |
+
"151667": {
|
| 198 |
+
"content": "<think>",
|
| 199 |
+
"lstrip": false,
|
| 200 |
+
"normalized": false,
|
| 201 |
+
"rstrip": false,
|
| 202 |
+
"single_word": false,
|
| 203 |
+
"special": false
|
| 204 |
+
},
|
| 205 |
+
"151668": {
|
| 206 |
+
"content": "</think>",
|
| 207 |
+
"lstrip": false,
|
| 208 |
+
"normalized": false,
|
| 209 |
+
"rstrip": false,
|
| 210 |
+
"single_word": false,
|
| 211 |
+
"special": false
|
| 212 |
+
}
|
| 213 |
+
},
|
| 214 |
+
"additional_special_tokens": [
|
| 215 |
+
"<|im_start|>",
|
| 216 |
+
"<|im_end|>",
|
| 217 |
+
"<|object_ref_start|>",
|
| 218 |
+
"<|object_ref_end|>",
|
| 219 |
+
"<|box_start|>",
|
| 220 |
+
"<|box_end|>",
|
| 221 |
+
"<|quad_start|>",
|
| 222 |
+
"<|quad_end|>",
|
| 223 |
+
"<|vision_start|>",
|
| 224 |
+
"<|vision_end|>",
|
| 225 |
+
"<|vision_pad|>",
|
| 226 |
+
"<|image_pad|>",
|
| 227 |
+
"<|video_pad|>"
|
| 228 |
+
],
|
| 229 |
+
"bos_token": null,
|
| 230 |
+
"chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0].role == 'system' %}\n {{- messages[0].content + '\\n\\n' }}\n {%- endif %}\n {{- \"# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0].role == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0].content + '<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}\n{%- for message in messages[::-1] %}\n {%- set index = (messages|length - 1) - loop.index0 %}\n {%- if ns.multi_step_tool and message.role == \"user\" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}\n {%- set ns.multi_step_tool = false %}\n {%- set ns.last_query_index = index %}\n {%- endif %}\n{%- endfor %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {%- set content = message.content %}\n {%- set reasoning_content = '' %}\n {%- if message.reasoning_content is defined and message.reasoning_content is not none %}\n {%- set reasoning_content = message.reasoning_content %}\n {%- else %}\n {%- if '</think>' in message.content %}\n {%- set content = message.content.split('</think>')[-1].lstrip('\\n') %}\n {%- set reasoning_content = message.content.split('</think>')[0].rstrip('\\n').split('<think>')[-1].lstrip('\\n') %}\n {%- endif %}\n {%- endif %}\n {%- if loop.index0 > ns.last_query_index %}\n {%- if loop.last or (not loop.last and reasoning_content) %}\n {{- '<|im_start|>' + message.role + '\\n<think>\\n' + reasoning_content.strip('\\n') + '\\n</think>\\n\\n' + content.lstrip('\\n') }}\n {%- else %}\n {{- '<|im_start|>' + message.role + '\\n' + content }}\n {%- endif %}\n {%- else %}\n {{- '<|im_start|>' + message.role + '\\n' + content }}\n {%- endif %}\n {%- if message.tool_calls %}\n {%- for tool_call in message.tool_calls %}\n {%- if (loop.first and content) or (not loop.first) %}\n {{- '\\n' }}\n {%- endif %}\n {%- if tool_call.function %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {%- if tool_call.arguments is string %}\n {{- tool_call.arguments }}\n {%- else %}\n {{- tool_call.arguments | tojson }}\n {%- endif %}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if loop.first or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- message.content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n {%- if enable_thinking is defined and enable_thinking is false %}\n {{- '<think>\\n\\n</think>\\n\\n' }}\n {%- endif %}\n{%- endif %}",
|
| 231 |
+
"clean_up_tokenization_spaces": false,
|
| 232 |
+
"eos_token": "<|im_end|>",
|
| 233 |
+
"errors": "replace",
|
| 234 |
+
"model_max_length": 32768,
|
| 235 |
+
"pad_token": "<|endoftext|>",
|
| 236 |
+
"split_special_tokens": false,
|
| 237 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 238 |
+
"unk_token": null
|
| 239 |
+
}
|