mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-07-18 01:12:42 +00:00
release
This commit is contained in:
parent
4271e3daf6
commit
45779680bf
@ -113,7 +113,7 @@ config = transformers.GPT2Config(
|
|||||||
problem_type="single_label_classification",
|
problem_type="single_label_classification",
|
||||||
pad_token_id=1022,
|
pad_token_id=1022,
|
||||||
tie_word_embeddings=True,
|
tie_word_embeddings=True,
|
||||||
attn_implementation="flash_attention_2",
|
attn_implementation="eager",
|
||||||
)
|
)
|
||||||
|
|
||||||
config_for_token_classification = copy.deepcopy(config)
|
config_for_token_classification = copy.deepcopy(config)
|
||||||
|
Loading…
Reference in New Issue
Block a user