{"_id":"@cyberlangke/tokkit-mosaicml","name":"@cyberlangke/tokkit-mosaicml","dist-tags":{"latest":"1.11.0"},"versions":{"1.11.0":{"name":"@cyberlangke/tokkit-mosaicml","version":"1.11.0","description":"MosaicML 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":"tsup","dev":"tsup --watch"},"dependencies":{"@cyberlangke/tokkit-core":"1.11.0","@cyberlangke/tokkit-eleutherai":"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-mosaicml@1.11.0","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-B0okjz214JlftK1W3JZE4fk5o5HAM/rqXfcgsGxFExJOW7fQlyUykFiFDYkq83kXZMpGFrg+e6dIEMmyXG/CVQ==","shasum":"0c1c450ebd3354119102d1e2b220dd5231ec3734","tarball":"https://registry.npmjs.org/@cyberlangke/tokkit-mosaicml/-/tokkit-mosaicml-1.11.0.tgz","fileCount":8,"unpackedSize":10477,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGctlYK+FpOBmXijWwagO8ajfJfGSrD8OiTV9Yq1wUHYAiB5ExdXhaVtL5iHA++7hlTvfhy9FieUTgGMGabeargM9w=="}]},"_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-mosaicml_1.11.0_1775230255794_0.8411872822527613"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-03T15:30:55.699Z","1.11.0":"2026-04-03T15:30:55.947Z","modified":"2026-04-03T15:30:56.164Z"},"maintainers":[{"name":"cyberlangke","email":"3531702083@qq.com"}],"description":"MosaicML 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-mosaicml\n\nMosaicML 官方文本模型的 tokkit 子包。\n\n当前纳入的官方主线模型：\n\n- `mosaicml/mpt-7b`\n- `mosaicml/mpt-7b-8k`\n- `mosaicml/mpt-7b-storywriter`\n- `mosaicml/mpt-30b`\n\n当前不纳入：\n\n- `mosaicml/mpt-7b-instruct`\n- `mosaicml/mpt-7b-8k-instruct`\n- `mosaicml/mpt-30b-instruct`\n- `mosaicml/mpt-7b-chat`\n- `mosaicml/mpt-7b-8k-chat`\n- `mosaicml/mpt-30b-chat`\n- `mosaicml/mpt-1b-redpajama-200b`\n\n说明：\n\n- 当前纳入模型按公开说明与本地 hash 核对，复用 `EleutherAI/gpt-neox-20b` 对应的 `pythia` family。\n- 该子包不重复分发 tokenizer 快照，只注册 MosaicML 的官方模型别名。\n\n## 使用方法\n\n```bash\nnpm install @cyberlangke/tokkit-mosaicml\n```\n\n```ts\nimport { getEncoding } from \"@cyberlangke/tokkit-mosaicml\"\n\nconst tokenizer = await getEncoding(\"mosaicml/mpt-7b\")\n\nconsole.log(tokenizer.encode(\"Hello, MosaicML!\"))\n```\n","readmeFilename":"README.md","_rev":"1-d724ebb437bdae8d0322cd1814e293e6"}