deepex icon indicating copy to clipboard operation
deepex copied to clipboard

Running inference on sentences

Open PratikGarai opened this issue 2 years ago • 3 comments

Hi, I am unable to figure out how to use the deepex model. I want to input a sentence and get the triplets generated from it. Is there any code snippet/script in the repo that can help me do that?

Thanks

PratikGarai avatar Aug 06 '22 05:08 PratikGarai

Same, this should be very straightforward to do imho

filip-cermak avatar Nov 05 '22 15:11 filip-cermak

See my issue, where I explain how to do this: https://github.com/cgraywang/deepex/issues/17

filip-cermak avatar Nov 07 '22 19:11 filip-cermak

I followed similar steps as you did in #17 , but looking at the poor results, I assumed I had executed the steps in a wrong manner. Hence I kept the issue open waiting for responses.

PratikGarai avatar Nov 08 '22 01:11 PratikGarai

hi! I thought in the config files, they indicate the input file path, you can according to the manager.py file to append or replace the orginal sentence. More, it will have some bias with your expectation due to the model have not attain the 100% auc in every dataset, so adding more data would be more convincing.

jesseLiu2000 avatar Feb 15 '23 16:02 jesseLiu2000