[Python] Training a new entity type with spacy

Discussão em 'Python' iniciado por Stack, Março 16, 2025.

  1. Stack

    Stack Membro Participativo

    Need help to try adding new entity and train my own model with spacy named entity recognition. I wanted first to try the example already done here:

    https://github.com/explosion/spaCy/blob/master/examples/training/train_new_entity_type.py

    but i'am getting this error :

    ipykernel_launcher.py: error: unrecognized arguments: -f /root/.local/share/jupyter/runtime/kernel-c46f384e-5989-4902-a775-7618ffadd54e.json
    An exception has occurred, use %tb to see the full traceback.

    SystemExit: 2
    /usr/local/lib/python3.6/dist-packages/IPython/core/interactiveshell.py:2890: UserWarning: To exit: use 'exit', 'quit', or Ctrl-D.
    warn("To exit: use 'exit', 'quit', or Ctrl-D.", stacklevel=1)


    How to resolve this?

    Continue reading...

Compartilhe esta Página