Giter Site home page Giter Site logo

Comments (11)

ansh-lehri avatar ansh-lehri commented on July 23, 2024 1

Got: ModelNotSupportedError: en_core_web_trf version 3.1.0

Hey @AleksandrTulenkov, have you figured out how to make the coreferee work for the en_core_web_trf = 3.1.0 model? I am having the same issue.

from coreferee.

KTRosenberg avatar KTRosenberg commented on July 23, 2024

Re: your comment on the Spacy thread. If this is in fact broken, I suppose I will be unable to use it.

from coreferee.

AleksandrTulenkov avatar AleksandrTulenkov commented on July 23, 2024

It works Ok as a native spacy model, for example with the NER task, but when I'm trying to add coref pipe I got the issue

from coreferee.

richardpaulhudson avatar richardpaulhudson commented on July 23, 2024

Hi everyone, I am currently working on adding support for Python 3.9 and spaCy 3.1 and the associated English and German models. I hope to release in the next couple of weeks. In the meantime, if you're feeling brave, you could also try downloading the development branch and installing it (python3 -m pip install . then python3 -m coreferee install en) from the downloaded root directory) which should now work.

from coreferee.

KTRosenberg avatar KTRosenberg commented on July 23, 2024

Thanks.

Also, out of curiosity, since in my case I am focusing on English accuracy as opposed to multilingual output, is it safer to stick with the old Spacy + neuralcoref? The multilingual support is great and Iā€™d definitely use this in many cases, but I am concerned about stability and making sure the English results are good.

from coreferee.

richardpaulhudson avatar richardpaulhudson commented on July 23, 2024

I used Neuralcoref for several years before I decided to develop Coreferee mainly because I couldn't get Neuralcoref working with other languages. It's important to realize that Coreferee is aiming to find a somewhat more restricted range of coreference types than Neuralcoref is, largely because Coreferee was written for a particular purpose (see the README.md for more explanation). Although I haven't done a formal comparison, I would imagine the results are of broadly comparable quality for those coreference types that both libraries are aiming to capture.

One thing I would say is that Neuralcoref brings technical restrictions with it that you might find a pain: for example, I never found a way of serializing documents that contained Neuralcoref annotations. And I also wouldn't underestimate the difference in quality between the early versions of spaCy that Neuralcoref supports and modern versions: it is likely to be much more significant overall than the coreference library you are using.

from coreferee.

KTRosenberg avatar KTRosenberg commented on July 23, 2024

That makes sense. My use case is conversational English and I need something decently accurate for less-technical subjects, and it needs to run in real-time. I'm hoping Coreferee is fast.

I am trying to figure out how to turn the Coreferee results into a JSON to send over a network though, and the [index : []] format doesn't really conform to a Python or JS style object "shape." I wonder if there's some hidden to_json or serialization function that might make this easier(?)

from coreferee.

richardpaulhudson avatar richardpaulhudson commented on July 23, 2024

You could have a look at the serialization tests in https://github.com/msg-systems/coreferee/blob/master/tests/common/test_tech_common.py.

from coreferee.

KTRosenberg avatar KTRosenberg commented on July 23, 2024

Thanks. Last question: would it be a viable solution to call resolve on every token, or is it slow to call on tokens even if there is no coreference on them? I ask because maybe it's simplest just to send things that way since I probably want to have one "true" identifier per entity.

from coreferee.

AleksandrTulenkov avatar AleksandrTulenkov commented on July 23, 2024

Got: ModelNotSupportedError: en_core_web_trf version 3.1.0

Hey @AleksandrTulenkov, have you figured out how to make the coreferee work for the en_core_web_trf = 3.1.0 model? I am having the same issue.

For now, just using previos version :(

from coreferee.

richardpaulhudson avatar richardpaulhudson commented on July 23, 2024

I have just released version 1.1.0, which should have solved the problem.

from coreferee.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.