This commit is contained in:
flybird11111 2025-05-27 16:47:12 +08:00
parent a9656e2915
commit d7a03bfea2

View File

@ -113,7 +113,7 @@ config = transformers.GPT2Config(
problem_type="single_label_classification",
pad_token_id=1022,
tie_word_embeddings=True,
attn_implementation="eager",
attn_implementation="eager"
)
config_for_token_classification = copy.deepcopy(config)