curated-tokenizers-2.0.0.dev0
توضیحات
Lightweight piece tokenization library
| ویژگی | مقدار |
|---|---|
| سیستم عامل | MacOS :: MacOS X |
| نام فایل | curated-tokenizers-2.0.0.dev0 |
| نام | curated-tokenizers |
| نسخه کتابخانه | 2.0.0.dev0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Explosion |
| ایمیل نویسنده | contact@explosion.ai |
| آدرس صفحه اصلی | https://github.com/explosion/curated-tokenizers |
| آدرس اینترنتی | https://pypi.org/project/curated-tokenizers/ |
| مجوز | MIT |
# 🥢 Curated Tokenizers
This Python library provides word-/sentencepiece tokenizers. The following
types of tokenizers are currenty supported:
| Tokenizer | Binding | Example model |
| --------- | ------------- | ------------- |
| BPE | sentencepiece | |
| Byte BPE | Native | RoBERTa/GPT-2 |
| Unigram | sentencepiece | XLM-RoBERTa |
| Wordpiece | Native | BERT |
## ⚠️ Warning: experimental package
This package is experimental and it is likely that the APIs will change in
incompatible ways.
## ⏳ Install
Curated tokenizers is availble through PyPI:
```bash
pip install curated_tokenizers
```
## 🚀 Quickstart
The best way to get started with curated tokenizers is through the
[`curated-transformers`](https://github.com/explosion/curated-transformers)
library. `curated-transformers` also provides functionality to load tokenization
models from Huggingface Hub.
نیازمندی
| مقدار | نام |
|---|---|
| - | regex>=2022 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9 | Python |
نحوه نصب
نصب پکیج whl curated-tokenizers-2.0.0.dev0:
pip install curated-tokenizers-2.0.0.dev0.whl
نصب پکیج tar.gz curated-tokenizers-2.0.0.dev0:
pip install curated-tokenizers-2.0.0.dev0.tar.gz