Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Fix]update tokenizer utils #3204

Merged
merged 9 commits into from
Sep 6, 2022

Conversation

wj-Mcat
Copy link
Contributor

@wj-Mcat wj-Mcat commented Sep 6, 2022

PR types

Bug fixes

PR changes

APIs

Description

try to fix: #3195

@wj-Mcat wj-Mcat changed the title update tokenizer utils [Bug Fix]update tokenizer utils Sep 6, 2022
@@ -292,6 +292,8 @@ def _truncate_seq_tuple(tokens_a, tokens_b, tokens_c, max_length):
train_ds, dev_ds, test_ds = load_dataset(
"clue", "c3", split=["train", "validation", "test"])

train_ds, dev_ds, test_ds = train_ds[:200], dev_ds[:200], test_ds[:200]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

删除

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

嗯嗯,好,这个没注意

@wj-Mcat
Copy link
Contributor Author

wj-Mcat commented Sep 6, 2022

单测其实是已经通过了的,新commit估计还会跑接近两个小时。

@guoshengCS guoshengCS merged commit 9d9b00b into PaddlePaddle:develop Sep 6, 2022
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.

[BUG] Tokenizer is_split_into_words 参数选项不符合预期。
3 participants