more README.md tuning

This commit is contained in:
Lincoln Stein 2022-08-16 22:13:06 -04:00
parent 3f5d39a597
commit 2dc0475d83

View File

@ -73,7 +73,7 @@ activation steps,the steps to preload the Bert model are:
~~~~
(ldm) ~/stable-diffusion$ mkdir ./models/bert
> python3
(ldm) ~/stable-diffusion$ python3
>>> from transformers import BertTokenizerFast
>>> model = BertTokenizerFast.from_pretrained("bert-base-uncased")
>>> model.save_pretrained("./models/bert")