{"_id":"@cyberlangke/tokkit-stabilityai","name":"@cyberlangke/tokkit-stabilityai","dist-tags":{"latest":"1.11.0"},"versions":{"1.11.0":{"name":"@cyberlangke/tokkit-stabilityai","version":"1.11.0","description":"Stability AI 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-state-spaces && npm run build --workspace @cyberlangke/tokkit-mistral && npm run build --workspace @cyberlangke/tokkit-ibm-granite && tsup","dev":"tsup --watch"},"dependencies":{"@cyberlangke/tokkit-core":"1.11.0","@cyberlangke/tokkit-ibm-granite":"1.11.0","@cyberlangke/tokkit-mistral":"1.11.0","@cyberlangke/tokkit-state-spaces":"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":"6d7b164cdcb511e7f5815e7278708c780b05d938","_id":"@cyberlangke/tokkit-stabilityai@1.11.0","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-oCFNAayXjrhFLgX+7bn5NrsJiIgtsqJSgEqcgY9a96lVJn8N0a901eRsjdprkZNjQ8vONWutsTF0GxYHU47FpQ==","shasum":"1d9b8a026674d2037ad3a7621c044d8a261557bd","tarball":"https://registry.npmjs.org/@cyberlangke/tokkit-stabilityai/-/tokkit-stabilityai-1.11.0.tgz","fileCount":8,"unpackedSize":12917,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGkf8Ls9uF6R/8i/k4OJ5Z6foN34ppD45IfVy83N5nUlAiEA7nuYPHMT/bTS33xFfxpY2257FoY9AeqtFA1NahNqMcQ="}]},"_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-stabilityai_1.11.0_1775230308235_0.21862024115862178"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-03T15:31:48.113Z","1.11.0":"2026-04-03T15:31:48.373Z","modified":"2026-04-03T15:31:48.673Z"},"maintainers":[{"name":"cyberlangke","email":"3531702083@qq.com"}],"description":"Stability AI 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-stabilityai\n\nStability AI 官方文本模型的 tokkit 子包。\n\n当前纳入的 Apache-2.0 主线模型：\n\n- `stabilityai/stablecode-completion-alpha-3b`\n- `stabilityai/stablecode-completion-alpha-3b-4k`\n- `stabilityai/japanese-stablelm-base-gamma-7b`\n- `stabilityai/japanese-stablelm-instruct-gamma-7b`\n- `stabilityai/japanese-stablelm-3b-4e1t-base`\n- `stabilityai/japanese-stablelm-3b-4e1t-instruct`\n\n当前不纳入：\n\n- `stabilityai/stablelm-base-alpha-*`\n- `stabilityai/stablelm-tuned-alpha-*`\n- `stabilityai/stablelm-zephyr-3b`\n- `stabilityai/stablecode-instruct-alpha-3b`\n- `stabilityai/stablelm-2-*`\n- `stabilityai/ar-stablelm-2-base`\n- `stabilityai/japanese-stablelm-base-alpha-7b`\n- `stabilityai/japanese-stablelm-instruct-alpha-7b-v2`\n\n说明：\n\n- 当前纳入模型按公开 `tokenizer.json` 与本地 hash 核对，分别复用 `mamba-790m`、`mistral-7b-v0.1`、`granite-code-base`。\n- 该子包不重复分发 tokenizer 快照，只注册 Stability AI 的官方模型别名。\n\n## 使用方法\n\n```bash\nnpm install @cyberlangke/tokkit-stabilityai\n```\n\n```ts\nimport { getEncoding } from \"@cyberlangke/tokkit-stabilityai\"\n\nconst tokenizer = await getEncoding(\"stabilityai/stablecode-completion-alpha-3b\")\n\nconsole.log(tokenizer.encode(\"Hello, Stability AI!\"))\n```\n","readmeFilename":"README.md","_rev":"1-839d93d89ef9b6c981c425c1d58bcd15"}