Downloads · 30 days
35
1% of all-time downloads
p208p2002/gpt2-drcd-qg-hl
gpt2-drcd-qg-hl is a text generation model from p208p2002. Use it when you need the model to write or continue text. It is set up for transformers.
Please use BertTokenizerFast as tokenizer instead of AutoTokenizer.
Downloads · 30 days
35
1% of all-time downloads
All-time downloads
2.4K
Public
Parameters
115M
2.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.bin421 MB · 34%
How the weights are stored.
F32102M · 89%
From the Hugging Face model README
Please use BertTokenizerFast as tokenizer instead of AutoTokenizer.
請使用 BertTokenizerFast 而非 AutoTokenizer。
from transformers import (
BertTokenizerFast,
AutoModelForCausalLM,
)
tokenizer = BertTokenizerFast.from_pretrained('p208p2002/gpt2-drcd-qg-hl')
model = AutoModelForCausalLM.from_pretrained('p208p2002/gpt2-drcd-qg-hl')
C' = [c1, c2, ..., [HL], a1, ..., a|A|, [HL], ..., c|C|]
哈利·波特是英國作家[HL]羅琳[HL]撰寫的七部幻想小說系列。
誰撰寫哈利·波特?