Downloads · 30 days
692
22% of all-time downloads
ClassCat/gpt2-base-japanese-v2
gpt2-base-japanese-v2 is a text generation model from ClassCat. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as cc-by-sa-4.0.
Downloads · 30 days
692
22% of all-time downloads
All-time downloads
3.2K
Public
Repo size
36.1 GB
Likes
1
Public
Click a slice to open those files.
.bin540 MB · 99%
From the Hugging Face model README
transformers==4.19.2
This model uses GPT2 base setttings except vocabulary size.
Using BPE tokenizer with vocabulary size 60,000.
from transformers import pipeline
generator = pipeline('text-generation', model='ClassCat/gpt2-base-japanese-v2')
generator("今度の連休の天気は", max_length=50, num_return_sequences=5)
transformers==4.19.2
このモデルは GPT2 ベースモデルの設定を (語彙サイズ以外は) 使用しています。
語彙サイズ 60,000 の BPE トークナイザーを使用しています。
from transformers import pipeline
generator = pipeline('text-generation', model='ClassCat/gpt2-base-japanese-v2')
generator("今度の連休の天気は", max_length=50, num_return_sequences=5)