広告
広告

Stable Diffusion の古い情報

カテゴリ:deeplearning

トークン数

AUTOMATIC1111 はトークン数が無制限になったので、トークン数に関する情報は不要になった。

プロンプトのトークン数の計数ツール

kawaiiprompter

Tokenizer

Google Colaboratory(Google Colab)でプロンプトをチェック

トークン数の多い単語

トークナイザーによっては数字はそれぞれ1トークン消費するものがある。たとえば 100 は3トークン消費する。GPT-3 のトークナイザーは 100 は1トークンしか消費しない。

絵文字は2トークン以上消費するものがあるので注意が必要。

単語トークン数
.1
,1
_1
-1
&1
1girl2
loli2
highres2
4k(8kも)2
elaborately 2
frill2
bokeh2
glint2
tiala2
volumetric2
symmetrical2
parted2
glaring2
pixiv2
boobs2
busty2
tits2
nudity2
onsen2
renderer2
genshin2
arknights2
azur lane3
bishoujo3
decollete3
leotard3
neckerchief3
alphonse mucha3
danbooru3
🩱(ワンピース水着)3
subsurface scattering4
peter mohrbacher4
krenz cushart5
👩‍❤‍💋‍👩(百合キス)7
ネガティブプロンプトでよく使われる単語
単語トークン数
deformed2
disfigured2
mutated2
disconnected2
malformed2
asymmetrical2
2girls(3girlsも)2
意外とトークン数が少ない絵文字
絵文字トークン数比較対象
👠(ハイヒール)1high heeled shoe(4トークン)
👭(手をつなぐ女性 )1women holding hands(3トークン)
💃(女性ダンサー)1woman dancing(2トークン)
🤱(授乳)2breast-feeding(3トークン)
🏖️(海とパラソル)2beach with umbrella(3トークン)
🌄(日の出)2sunrise over mountains(3トークン)
🌆(夕暮れの都市)2cityscape at dusk(3トークン)
🌉(夜の橋)2bridge at night(3トークン)
🍽️(フォークとナイフと皿)2a knife and a fork and a dish(8トークン)
⛈️(雷雨)3cloud with lightning and rain(5トークン)
👩‍👩‍👧(二人の女性と女児)4two women and a girl(5トークン)

絵文字

絵文字は2トークン以上消費ものがあるので使う前にトークン数を確認した方がいい。👩‍❤‍💋‍👩は7トークンも消費する。

🤳(2トークン)より selfie (1トークン)がお得。breast-feeding(3トークン)より🤱(2トークン)がお得。

絵文字トークン意味
🔞218 禁
👧 2
💆 2マッサージ・マスターベーション
🤱 2授乳
🤳 2自撮り
👩‍❤‍💋‍👩7百合キス

広告
広告