Downloads · 30 days
0
ryan-minato/vibrato-models-bsdonly
vibrato-models-bsdonly is a machine learning model from ryan-minato. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as bsd-3-clause.
This archive contains all models identified under the BSD license from the Vibrato(url) GitHub releases. Models previously compressed using zstd have been decompressed, allowing for immediate download and use.
Downloads · 30 days
0
Access
Public
Updated Oct 4, 2024
Repo size
2.9 GB
Likes
1
Public
Click a slice to open those files.
.dic2.9 GB · 100%
From the Hugging Face model README
This archive contains all models identified under the BSD license from the Vibrato(url) GitHub releases. Models previously compressed using zstd have been decompressed, allowing for immediate download and use.
from huggingface_hub import hf_hub_download
import vibrato
# Load tokenizer from `.cache/hf`
model_path = hf_hub_download("ryan-minato/vibrato-models-bsdonly", "<<model_name>>/system.dic")
with open(model_path, "rb") as f:
tokenizer = vibrato.Vibrato(f.read())
text = """\
「四十二だと!」ルーンクォールが叫んだ。
「七百五十万年かけて、それだけか?」
「何度も徹底的に検算しました」コンピュータが応じた。
「まちがいなくそれが答えです。率直なところ、みなさんのほうで究極の疑問が何であるかわかっていなかったところに問題があるのです」
"""
tokenizer.tokenize(text)