inductivelr's People
inductivelr's Issues
The format of the datasets in KGReasoning does not seem to match the code in DataProcessing
The format of the datasets in KGReasoning does not seem to match the code in DataProcessing, despite the claim in the README that the transductive datasets are available from KGReasoning.
For example, KGReasoning's datasets contain only id2ent.pkl, not ind2ent.pkl from DataProcessing. It also does not contain train_triples_{task}.pkl as indicated in the DataProcessing's code.
with open(f'{data_path}/ind2rel.pkl', 'rb') as rel_handle:
with open(f'{data_path}/train_triples_{task}.pkl', 'rb') as handle:
Could you please answer me if I misunderstood something or provide the dataset in the correct format?
Deepspeed Problem
Nice work! Thank you for sharing it! I encounter a problem with deepspeed,
ImportError: /home/.cache/torch_extensions/py38_cu102/utils/utils.so: cannot open shared object file: No such file or directory
Loading extension module utils...
Traceback (most recent call last):
File "train_reasoning_SILR.py", line 749, in <module>
main()
File "train_reasoning_SILR.py", line 286, in main
deepspeed_engine, optimizer, _, scheduler = deepspeed.initialize(
File "/home/anaconda3/envs/ilr_test/lib/python3.8/site-packages/deepspeed/__init__.py", line 131, in initialize
engine = DeepSpeedEngine(args=args,
File "/home/anaconda3/envs/ilr_test/lib/python3.8/site-packages/deepspeed/runtime/engine.py", line 213, in __init__
self._configure_optimizer(optimizer, model_parameters)
File "/home/anaconda3/envs/ilr_test/lib/python3.8/site-packages/deepspeed/runtime/engine.py", line 842, in _configure_optimizer
self.optimizer = self._configure_zero_optimizer(basic_optimizer)
File "/home/anaconda3/envs/ilr_test/lib/python3.8/site-packages/deepspeed/runtime/engine.py", line 1051, in _configure_zero_optim izer
optimizer = FP16_DeepSpeedZeroOptimizer(
File "/home/anaconda3/envs/ilr_test/lib/python3.8/site-packages/deepspeed/runtime/zero/stage2.py", line 129, in __init__
util_ops = UtilsBuilder().load()
File "/home/anaconda3/envs/ilr_test/lib/python3.8/site-packages/deepspeed/ops/op_builder/builder.py", line 355, in load
return self.jit_load(verbose)
File "/home/anaconda3/envs/ilr_test/lib/python3.8/site-packages/deepspeed/ops/op_builder/builder.py", line 387, in jit_load
op_module = load(
File "/home/anaconda3/envs/ilr_test/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1202, in load
return _jit_compile(
File "/home/anaconda3/envs/ilr_test/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1450, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "/home/anaconda3/envs/ilr_test/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1844, in _import_module_from_ library
module = importlib.util.module_from_spec(spec)
File "<frozen importlib._bootstrap>", line 556, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 1166, in create_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
Can you tell me what I should do here, please? Thanks for your help!
would you mine providing the related files of NELL in Data/text
It seems that you only provide FB15k for reproduction
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.