为了方便记忆做一下存档代码from transformers import BertTokenizer, BertModelimport torch# 加载中文 BERT 模型和分词器model_name = "bert-base-chinese" tokenizer = Be