Skip to content

Conversation

@Spycsh
Copy link
Contributor

@Spycsh Spycsh commented Oct 13, 2023

Type of Change

Bug fix

Description

Fix tensorflow and transformers versions for gpt2-medium

Expected Behavior & Potential Risk

gpt2-medium with the latest version of transformers get the input signature <input_ids, attention_mask, token_type_ids> but the token_type_ids should not occur.

Currently the only way to deal with it is to use old version transformers.

How has this PR been tested?

python main.py --model_name_or_path gpt2-medium

Dependency Change?

None

@Spycsh Spycsh requested a review from chensuyue October 13, 2023 05:34
@chensuyue chensuyue merged commit 6e08cca into master Oct 16, 2023
@chensuyue chensuyue deleted the fix_version branch October 16, 2023 01:07
bmyrcha pushed a commit that referenced this pull request Oct 24, 2023
Signed-off-by: bmyrcha <bartosz.myrcha@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants