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

No mask used in evaluation process #12

Open
shawnricecake opened this issue Jul 11, 2023 · 0 comments
Open

No mask used in evaluation process #12

shawnricecake opened this issue Jul 11, 2023 · 0 comments

Comments

@shawnricecake
Copy link

Can you show that how you evaluate the model performance with 'attention_mask' ?

according to this line:
https://github.com/kssteven418/LTP/blob/8ab31a623fb71c5f4f8208e878097f214484e848/src/transformers/models/ltp/modeling_ltp.py#L305C27-L305C27

the 'attention_mask' is never used outside the for loop.

So, I think you did not use the attention mask in the evaluation part, because you must need this mask for those labels.

Can you show me your evaluation process? (with some token pruned)

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

No branches or pull requests

1 participant