Skip to content

Results completely differ from web-demo #347

Open
@chris-aeviator

Description

@chris-aeviator

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions