tner icon indicating copy to clipboard operation
tner copied to clipboard

Is there any way to use T-NER without downloading the model every time?

Open MrDevCop opened this issue 2 years ago • 2 comments

I understand downloading the model once. It gets stored in the cache and is available for the user in that session. But I want to know how to use the method TransformerNER() with a specified model without downloading it every time, even if a session renews. For that to happen I believe I will have to download the model files in the system and somehow point the method TransformerNER to the required paths. Any help would be much appreciated.

Background: We are trying to use tner library to identify entities in a client's dataset. However, we can access the dataset via a VM on which internet access is not available. But we can transfer files and folders to the VM. So we were thinking of a way to download the models on our own systems and then transfer the required files for TransformerNER method manually to the VM.

PS: We only need to use TransformerNER method.

MrDevCop avatar Feb 07 '23 12:02 MrDevCop