Add per-split selected BM25 tokenization strategy table
Browse files
README.md
CHANGED
|
@@ -201,11 +201,23 @@ A lightweight, evaluation-ready subset of [CodeSearchNet](https://huggingface.co
|
|
| 201 |
|
| 202 |
## BM25 tokenization strategy
|
| 203 |
|
| 204 |
-
-
|
| 205 |
-
-
|
| 206 |
-
- `
|
| 207 |
-
- `
|
| 208 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 209 |
|
| 210 |
## Upstream source
|
| 211 |
|
|
|
|
| 201 |
|
| 202 |
## BM25 tokenization strategy
|
| 203 |
|
| 204 |
+
- Auto selection chooses the best strategy per split using retrieval metrics.
|
| 205 |
+
- Strategy types:
|
| 206 |
+
- `transformer`: `Qwen/Qwen3-0.6B` tokenizer
|
| 207 |
+
- `word_seg`: language-specific word segmentation (`ja`, `zh`, `th`, `ko`)
|
| 208 |
+
- `stemmer`: `PyStemmer`
|
| 209 |
+
- `whitespace`: `str.split()`
|
| 210 |
+
|
| 211 |
+
Selected strategy by split:
|
| 212 |
+
|
| 213 |
+
| Split | Strategy | Details |
|
| 214 |
+
|---|---|---|
|
| 215 |
+
| `NanoCodeSearchNetGo` | `transformer` | tokenizer: `Qwen/Qwen3-0.6B` |
|
| 216 |
+
| `NanoCodeSearchNetJava` | `transformer` | tokenizer: `Qwen/Qwen3-0.6B` |
|
| 217 |
+
| `NanoCodeSearchNetJavaScript` | `transformer` | tokenizer: `Qwen/Qwen3-0.6B` |
|
| 218 |
+
| `NanoCodeSearchNetPHP` | `transformer` | tokenizer: `Qwen/Qwen3-0.6B` |
|
| 219 |
+
| `NanoCodeSearchNetPython` | `transformer` | tokenizer: `Qwen/Qwen3-0.6B` |
|
| 220 |
+
| `NanoCodeSearchNetRuby` | `transformer` | tokenizer: `Qwen/Qwen3-0.6B` |
|
| 221 |
|
| 222 |
## Upstream source
|
| 223 |
|