language-models-are-knowledge-graphs-pytorch
language-models-are-knowledge-graphs-pytorch copied to clipboard
Language models are open knowledge graphs ( non official implementation )
Hello, I am a beginner in Python. I am studying hard on the code that I really need. There are several python files (utils.py, constant.py, extract.py, mapper.py, stats,py). What order...
Hey, I get the following error while running the extract.py file. Traceback (most recent call last): File "extract.py", line 88, in mapped_triplet = Map(head, relations, tail) File "/Users/I535445/Desktop/Me/new/mapper.py", line 12,...
I am interested in using GPT as the main model as BERT is not performing too well. Has it been implemented? Otherwise I am ready to implement it myself. Please...
When running python extract.py examples/bob_dylan.txt bert-large-cased-bob_dynlan.jsonl --language_model bert-large-cased --use_cuda true on google collab the following error appears: /usr/local/lib/python3.7/dist-packages/spacy/util.py:275: UserWarning: [W031] Model 'en_core_web_sm' (2.2.5) requires spaCy v2.2 and is incompatible with...
Your BFS function always return an array of length 3 because of your "visited[i] == False" I don't kown it‘s a bug or you do it on purpose. Actually when...
Hi black cat, Thanks for the public implementation! I was wondering what the function of the blacklist relation is? Seems like it removed the option that noun_chunk can be in...
Hi Nikhil, this is great work, very valuable experimenting. Given the break thro of GPT models, is it possible to re-do your experiments using GPT3.5/4? Curious about the results... Thank...