Edit model card
YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co./docs/hub/model-cards#model-card-metadata)

Usage

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')

Input Format

C' = [c1, c2, ..., [HL], a1, ..., a|A|, [HL], ..., c|C|]

Input Example

哈利·波特是英國作家[HL]羅琳[HL]撰寫的七部幻想小說系列。

誰撰寫哈利·波特?

Downloads last month
17
Safetensors
Model size
115M params
Tensor type
F32
·
U8
·
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Collection including p208p2002/gpt2-drcd-qg-hl