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

[Summary] Filters #52

Open
3 of 5 tasks
nfelnlp opened this issue May 17, 2023 · 0 comments
Open
3 of 5 tasks

[Summary] Filters #52

nfelnlp opened this issue May 17, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request summary

Comments

@nfelnlp
Copy link
Member

nfelnlp commented May 17, 2023

This issue keeps track of the filter actions and functionality. Apart from the string filter (includes), everything else is optional for now.

  • String filter (includes)
    Checks if a span/string is included in one of the text fields, e.g. includes spider

  • Prediction filter (predictionfilter)
    Checks if the model predicted this label, e.g. predictionfilter offensive (OLID)

  • Label filter (labelfilter) [in TTM, but not yet adapted]
    Checks if the true label is equal to this label, e.g. labelfilter commissive (DD)

  • Length filter (lengthfilter)
    Checks if the instance is above or below a certain length, e.g. lengthfilter words above 30 would show all instances with 30 words or more. Possibly extensible to more parameters like text fields (is one specific field longer than the value). This should work similarly to the numerical filters in TTM (there are already equality terms implemented in the grammar). Possible arguments are words, sents (sentences) and chars (characters)

  • Similarity filter (similarityfilter or similar n and …)
    Checks if the instance is among the n instances selected with similar n in a previous turn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request summary
Projects
None yet
Development

No branches or pull requests

1 participant