Hi guys,
after a successful NER model using a wonderful prodigy, I want to do content classification regarding observational data in my data set ( I have sentences I want to either annotate them as observational sents or edit my test labels)
I have provided jsonl data using this script
texts = sents
examples = []
options= [
{"id": 0, "text": "negative"},
{"id": 1, "text": "positive"}]
for text in texts:
task = {"text": text,"options":options}
examples.append(task)
write_jsonl("dfObs_01.jsonl", examples)
I want to either annotate data by your interface or edit annotation, for the former one I used this command
! python -m prodigy db-in dfObs dfObs_01.jsonl
then in order to classify to see the labels, I have done this
!python -m prodigy textcat.teach df_obs en_core_web_sm --label Observation
but interface goes to loading and does not show the sentences, am I correct track?
if I want to use my label (y) then modify it , how can I do it?
I am familiar with NER and want to kind of do the similar with text classification (edit label, make model) I would appreciate your response