huggingface / huggingface/neuralcoref

Results completely differ from web-demo

Open
#347 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
2.9k
Forks
467
PR merge metrics
No merged PRs in 30d

Description

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](https://user-images.githubusercontent.com/11522213/175809795-80167d9a-f14c-4f86-b810-8daca2e04403.png)

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.