Hi !
I got a question about updating a spacy ner model.
I did the annotation on prodigy, I trained a first version of a model with prodigy.
(I exported the annotations using db-out.)
I use data-to-spacy to prepare the files to create a spacy model.
I created the spacy model. Now I want to know how to update my model with adding new annotations in my spacy model ? How to create a corpora wich includes old and new annotation to train a new model ?
Because data training.spacy use an other file type / format
("I reached Chennai yesterday.", {"entities": [(19, 28, "GPE")]}),
And Prodigy generated an other file type with data to spacy :
`{"text":"Contrat de travail \u00e0 dur\u00e9e d\u00e9termin\u00e9e","_input_hash":-1746332190,"_task_hash":1801907309,"tokens":[{"text":"Contrat","start":0,"end":7,"id":0,"ws":true},{"text":"de","start":8,"end":10,"id":1,"ws":true},{"text":"travail","start":11,"end":18,"id":2,"ws":true},{"text":"\u00e0","start":19,"end":20,"id":3,"ws":true},{"text":"dur\u00e9e","start":21,"end":26,"id":4,"ws":true},{"text":"d\u00e9termin\u00e9e","start":27,"end":37,"id":5,"ws":false}],"_session_id":null,"_view_id":"ner_manual","spans":[{"start":0,"end":37,"token_start":0,"token_end":5,"label":"TYPECONTRAT"}],"answer":"accept"}
`
I tried to update the model using only new datas, and it seems like my model only did the training with the new datas and ignore the old data in analysis.
Thank you !