Hi! Since the reviewed dataset is already merged and has the right format, you should be able to just stream in the data, with no modifications, and render it with the review
UI. For example, using prodigy mark
and something like this should work. Instead of a file, dataset:...
loads in the examples from an existing dataset:
prodigy mark new_dataset dataset:old_dataset --view-id review
Or, in a custom recipe, all you need to do is: load the data from your existing dataset using db.get_dataset
, return the result as the stream
and set the view_id
to review