Find answers from the community

Updated 3 months ago

Hi what s the best way to do NER on a

Hi, what's the best way to do NER on a string of text using llamaindex? (Or maybe get triplet pairs)? Or which ever is more effective? (I'm a newbie)
L
1 comment
You can do NER and relation extraction with an LLM -- just by prompting it. But it will be slow, since it's kind of overkill.

I find NER models from the library span-marker to work great -- https://huggingface.co/tomaarsen/span-marker-mbert-base-multinerd

For RE, Rebel is probably a good choice --
https://huggingface.co/Babelscape/rebel-large
https://huggingface.co/Babelscape/mrebel-large
Add a reply
Sign up and join the conversation on Discord