You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to run a REST service with the docker image that you make available. However, I do not receive any result when I try to disambiguate even simple sentences.
Example:
resp = requests.post(url="http://127.0.0.1:22002/", data='[{"text":"Bob Dylan is a famous singer."}]')
The json result is
[{'text': 'Bob Dylan is a singer.', 'disambiguated_entities': []}]
The text was updated successfully, but these errors were encountered:
This is a known issue that arises from our pre-computed mention inventory. Mostly for simplicity in this first release, we computed it only on the AIDA-CoNLL dataset, but this resulted in an inventory that is just too small (it covers only ~6k mentions).
I just uploaded a few more comprehensive new ones and updated the README with the corresponding links. I also updated both the HuggingFace Space demo and the docker image (poccio/extend:1.0.1). Your query is now correctly handled. For instance, using poccio/extend:1.0.1, the json result I get is:
[{'text': 'Bob Dylan is a famous singer.', 'disambiguated_entities': [{'char_start': 0, 'char_end': 9, 'mention': 'Bob Dylan', 'entity': 'Bob Dylan'}]}]
Hi,
I tried to run a REST service with the docker image that you make available. However, I do not receive any result when I try to disambiguate even simple sentences.
Example:
resp = requests.post(url="http://127.0.0.1:22002/", data='[{"text":"Bob Dylan is a famous singer."}]')
The json result is
[{'text': 'Bob Dylan is a singer.', 'disambiguated_entities': []}]
The text was updated successfully, but these errors were encountered: