Skip to content
Snippets Groups Projects
Commit c51596da authored by Alice Brenon's avatar Alice Brenon
Browse files

A tiny script used to add the manually annotated label to a bunch of texts...

A tiny script used to add the manually annotated label to a bunch of texts being prepared in a JSONL (to be used as input for prodigy)
parent 062f130c
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
source ${0%/*}/../lib.sh
[ -n "${1}" ] || die "What label do you want to apply?"
jq -c '. += {"answer": "accept", "label":"'"${1}"'"}'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment