neuralcoref icon indicating copy to clipboard operation
neuralcoref copied to clipboard

Results completely differ from web-demo

Open chris-aeviator opened this issue 3 years ago • 0 comments

When using neuralcoref master with Space==2.1.0 I can use neuralcoref just fine. However the results drastically differ from the version deployed to huggingface.co/neuralcoref

"She is close to the habour" yields: grafik

Whereas the same text executed via examples/server.py yields an empty reply

❯ curl --data-urlencode "text=she is close to the habour" -G localhost:8000
{}%

I can confirm that my curl call succeeds with other prompts.

▽ {mentions: […], clusters: […], resolved: "she is close to the habour. where might she be heading?"}
  ▽ mentions: [{…}, {…}]
    ▽ [0]: {start: 0, end: 3, text: "she", resolved: "she"}
        start: 0
        end: 3
        text: "she"
        resolved: "she"
    ▽ [1]: {start: 40, end: 43, text: "she", resolved: "she"}
        start: 40
        end: 43
        text: "she"
        resolved: "she"
  ▽ clusters: [["she", "she"]]
    ▽ [0]: ["she", "she"]
        [0]: "she"
        [1]: "she"
    resolved: "she is close to the habour. where might she be heading?"

It seems like NOMINAL is missing somehow.

chris-aeviator avatar Jun 26 '22 10:06 chris-aeviator