word2box
word2box copied to clipboard
Capturing Set-Theoretic Semantics of Words using Box Embeddings
Hi, I am trying to train the model Word2Box using the following command: ``` language-modeling-with-boxes train \ --model_type Word2Box \ --int_temp 0.0 \ --loss_fn nce \ --box_type BoxTensor \ --dataset...
thanks for your code! I have a question about the document `word2box-dev-shib/lib/pytorch-utils`, which seems not accessible now. In `word2box-dev-shib/src/language_modeling_with_boxes/datasets/word2vecgpu.py`, there is `from pytorch_utils import TensorDataLoader`, I wonder if this refers...
Hi, thanks for sharing the codes! There is a problem I couldn't solve in `word2box-dev-shib/src/language_modeling_with_boxes/datasets/word2vecgpu.py`. In method ` __getitem__(self, idx)`, `idx = idx.unsqueeze(1) + window_range.unsqueeze(0)` raised `AttributeError: 'int' object has...
Hi, I appreciate for sharing an implementation of word2box including training code. Since this question is probably out of your focus, It would be glad to tell me advises if...