Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to make the wn18rr entity file but failed #55

Open
qiongcheng5 opened this issue Dec 28, 2024 · 0 comments
Open

Try to make the wn18rr entity file but failed #55

qiongcheng5 opened this issue Dec 28, 2024 · 0 comments

Comments

@qiongcheng5
Copy link

Could you help check whether I missed something when trying your package for Worknet?

$ python build_entity_datasets.py --kb_name wn18rr

Traceback (most recent call last):

File "/home/vagrant/rbox/LLMs4OL/TaskA/build_entity_datasets.py", line 11, in

dataset_json, dataset_stats = wn_builder.build()

File "/home/vagrant/rbox/LLMs4OL/TaskA/src/entity_dataset_builder.py", line 16, in build

self.load_artifcats()

File "/home/vagrant/rbox/LLMs4OL/TaskA/src/entity_dataset_builder.py", line 42, in load_artifcats

train, valid, test = self.loader.load_df(self.config.processed_entity_train), \

File "/home/vagrant/rbox/LLMs4OL/TaskA/datahandler/datareader.py", line 51, in load_df

data_frame = pd.read_csv(path)

File "/home/vagrant/rbox/LLMs4OL/llm4ol_py39_env/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 1026, in read_csv

return _read(filepath_or_buffer, kwds)

File "/home/vagrant/rbox/LLMs4OL/llm4ol_py39_env/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 620, in _read

parser = TextFileReader(filepath_or_buffer, **kwds)

File "/home/vagrant/rbox/LLMs4OL/llm4ol_py39_env/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 1620, in init

self._engine = self._make_engine(f, self.engine)

File "/home/vagrant/rbox/LLMs4OL/llm4ol_py39_env/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 1880, in _make_engine

self.handles = get_handle(

File "/home/vagrant/rbox/LLMs4OL/llm4ol_py39_env/lib/python3.9/site-packages/pandas/io/common.py", line 873, in get_handle

handle = open(

FileNotFoundError: [Errno 2] No such file or directory: '../datasets/TaskA/WN18RR/processed-3/entity_train.csv'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant