You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.
Currently, it is possible to provide a string-valued feature for each example, such as birthplace="usa".
However, I'm not sure if it's possible to add multiple tags for a single example languages=["english", "japanese"]. This functionality would be helpful, as sometimes a document can have many topics, or an image can contain many different objects, and it would be nice to be able to query them.
Is this possible in Zeno now? If not, it would be a good feature to add.
The text was updated successfully, but these errors were encountered:
Hmm can you describe what you mean by string-valued feature? Is this in the feature text box on the left? You should be able to just add multiple and they will "and" together I think. If you want to OR them you can do that by creating a slice with the tags
Yeah, these are the features in the text box on the left. Normally the way these are specified is through adding a column to the dataframe that is passed in to Zeno, e.g.:
where the type of birthplace_list is list[str] (one str for each example).
But I would like to have something like languages_list with a type list[list[str]] (multiple strs for each example). Then you could create a slice for all articles where "english" was included in this tag list, and another slice where "japanese" was included in this tag list, but these slices would potentially be overlapping because a particular example could have both "english" and "japanese" active.
Pretty sure you can do this a bit "informally" - Zeno will treat list[list[str]] as a string. You can then create two predicates in the slice builder for the two languages like this:
Ah, nice. That should do for now. But it'd still be nice to be able to do it in the standard UI (including visualizing the frequency of tags and clicking on bars corresponding to each tag).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently, it is possible to provide a string-valued feature for each example, such as
birthplace="usa"
.However, I'm not sure if it's possible to add multiple tags for a single example
languages=["english", "japanese"]
. This functionality would be helpful, as sometimes a document can have many topics, or an image can contain many different objects, and it would be nice to be able to query them.Is this possible in Zeno now? If not, it would be a good feature to add.
The text was updated successfully, but these errors were encountered: