项目介绍
DmitryAsdre/UnigramTokenization 是一个托管在 GitHub 上的开源项目,主要使用 Jupyter Notebook 编写,采用 MIT License 许可证,目前获得 7 个 Star、0 次 Fork。
- 仓库全名
- DmitryAsdre/UnigramTokenization
README 摘要
Unigram Tokenization This is a simple Python implementation of Unigram Tokenization. Algorithm Description 1. Use Byte Pair Encoding (BPE) tokenizer to create an arbitrarily large vocabulary $\mathcal{V}$. 2. Let the distribution on tokens be denoted as $p(xi) = \frac{count(xi)}{\sum{j=1}^{N}count(xj)}$. 3. Use the hard EM algorithm to estimate the distribution $p(xi)$: Repeat these steps until convergence Employ…
完整内容见 GitHub 原始 README 或本页 。
常见问题
UnigramTokenization 用什么语言开发?
主要使用 Jupyter Notebook 编写,采用 MIT License 许可证,目前有 7 个 Star。
UnigramTokenization 可以免费商用吗?
仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。
如何获取 UnigramTokenization 的源码?
可以直接克隆仓库:git clone https://github.com/DmitryAsdre/UnigramTokenization.git,默认分支为 main;安装与运行步骤见仓库 README。
UnigramTokenization 最近还在维护吗?
仓库最近一次更新为 2024年4月12日,当前没有未关闭的 Issue;Star 数为 7,可作为社区活跃度的参考。
评论