shijx12 / ar-tree Goto Github PK
View Code? Open in Web Editor NEWPytorch implementation of the paper "Learning to Embed Sentences Using Attentive Recursive Trees".
Pytorch implementation of the paper "Learning to Embed Sentences Using Attentive Recursive Trees".
Hi,
Great paper and idea! Here is a question about the runtime error when I train the model using Choi
as the model type. The task I am using is SNLI
. Here is the command that I used for the training. CUDA_VISIBLE_DEVICES=0,1 python3.6 train.py --data-type snli --glove-path ./pickle/pickle_glove --data-path ./cache/snli_cache --model-type Choi --word-dim 300 --hidden-dim 300 --clf-hidden-dim 1024 --clf-num-layers 1 --dropout 0.1 --batch-size 128 --max-epoch 10 --lr 0.001 --l2reg 1e-5 --optimizer adam --patience 10 --clip 5 --sample-num 2 --use-batchnorm --rank-input w --fix-word-embedding --leaf-rnn-type lstm --cuda --save-dir ./saved_model
.
However, I got a runtime error and it says RuntimeError: cublas runtime error : the GPU program failed to execute at /pytorch/aten/src/THC/THCBlas.cu:249
.
I am using two 32GB V100 GPUs to train the model. Do you have any suggestions to resolve that issue? Many thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.