{"_id":"@cyberlangke/tokkit-baichuan-inc","name":"@cyberlangke/tokkit-baichuan-inc","dist-tags":{"latest":"1.11.0"},"versions":{"1.11.0":{"name":"@cyberlangke/tokkit-baichuan-inc","version":"1.11.0","description":"Baichuan official model aliases for tokkit.","type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"npm run build --workspace @cyberlangke/tokkit-core && npm run build --workspace @cyberlangke/tokkit-qwen && tsup","dev":"tsup --watch"},"dependencies":{"@cyberlangke/tokkit-core":"1.11.0","@cyberlangke/tokkit-qwen":"1.11.0"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/1cyberlangke1/tokkit.git"},"homepage":"https://github.com/1cyberlangke1/tokkit#readme","bugs":{"url":"https://github.com/1cyberlangke1/tokkit/issues"},"author":{"name":"cyberlangke"},"license":"Apache-2.0","gitHead":"36bc4e4e47fb9cd61364dc5a13df18bfec21ace7","_id":"@cyberlangke/tokkit-baichuan-inc@1.11.0","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-6RCDhhxz34jYZkXVoW1btWjPg1flkoCsarGHjDC3RCObB4gCzXg6unlzG45jbWUhLFQxJZwx16zIm0GzJx8qGA==","shasum":"5ad20a895a12f9edfd2170d16899407b8e0b5875","tarball":"https://registry.npmjs.org/@cyberlangke/tokkit-baichuan-inc/-/tokkit-baichuan-inc-1.11.0.tgz","fileCount":8,"unpackedSize":10420,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDW84uwpM2q7opfiMB04Ub2VsfroLo3cWBlNRPuBzAvcgIgN5euF+oaYgIAuP+NyHTLO3UU+x8Ak7WQCgM7NRoSiTE="}]},"_npmUser":{"name":"cyberlangke","email":"3531702083@qq.com"},"directories":{},"maintainers":[{"name":"cyberlangke","email":"3531702083@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tokkit-baichuan-inc_1.11.0_1775024648659_0.4021719034086466"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-01T06:24:08.565Z","1.11.0":"2026-04-01T06:24:08.844Z","modified":"2026-04-01T06:24:09.047Z"},"maintainers":[{"name":"cyberlangke","email":"3531702083@qq.com"}],"description":"Baichuan official model aliases for tokkit.","homepage":"https://github.com/1cyberlangke1/tokkit#readme","repository":{"type":"git","url":"git+https://github.com/1cyberlangke1/tokkit.git"},"author":{"name":"cyberlangke"},"bugs":{"url":"https://github.com/1cyberlangke1/tokkit/issues"},"license":"Apache-2.0","readme":"# @cyberlangke/tokkit-baichuan-inc\n\nBaichuan 官方文本模型的 tokkit 子包。\n\n当前纳入的官方主线模型：\n\n- `baichuan-inc/Baichuan-M2-32B`\n- `baichuan-inc/Baichuan-M3-235B`\n\n当前不纳入：\n\n- `Baichuan-7B` / `Baichuan-13B` / `Baichuan2-*` 旧线\n- GPTQ / GGUF / FP8 等量化与衍生物\n\n说明：\n\n- 上述纳入模型的 `tokenizer.json` 已验 hash，当前都与已支持的 `qwen3` family 完全一致。\n- 该子包不重复分发 tokenizer 快照，而是复用现有 `qwen3` family，并注册 Baichuan 官方模型别名。\n\n## 使用方法\n\n```bash\nnpm install @cyberlangke/tokkit-baichuan-inc\n```\n\n```ts\nimport { getEncoding } from \"@cyberlangke/tokkit-baichuan-inc\"\n\nconst tokenizer = await getEncoding(\"baichuan-inc/Baichuan-M2-32B\")\n\nconsole.log(tokenizer.encode(\"Hello, Baichuan!\"))\n```\n","readmeFilename":"README.md","_rev":"1-473e6448c286153f86be3f708291293d"}