vocab.txt

#6
by zozoit - opened

Hello, I'm trying to use this model in the ONNX format with OpenNLP.

But when using with ONNX models, OpenNLP APIs are asking for a vocab.txt file in addition to the onnx file (you can find the vocab file for some other models like dslim/bert-base-NER for instance). I'm not a data scientist, I'm not really sure why OpenNLP needs it, and it must be related to the dict.txt you can find in the Camembert base model.

Hello, sorry for the late reply, I was in vacation.
I couldn't find the original vocab.txt file. I tried regenerated one using the get_vocab() function of the tokenizer.
Let me know if this work?
Thanks,
Jean-Baptiste

Thanks a lot, I will try it !

Sign up or log in to comment