Comments (3)
David,
Class-based lm tricks are probably the way to go. I'm trying to obtain good binary codes to do this myself.
I've tried with and without gpu and I'm getting almost no edge running on gpu (I also don't have the beefiest gpu).
I've got to admit I find LSTMs a bit too slow to do any good large scale models right now on a laptop. There might be a trick to speed these guys up, but depending on your parameters, training a 4 level LSTM recurrent net takes me ~Β 2.5 sec per mini batch (200 examples) ~Β at that speed I can only get small models (e.g. not billion word corpuses) to optimize in 12 hours. So patience is a virtue.
I also recommend looking at https://github.com/wojciechz/learning_to_execute where they also have LSTMs and it's running using LLVM (luajit) and Torch: so it's probably a bit faster than theano depending on the size of your minibatches. It's a bit trickier to customize your error function, (specifically for different sized sequences), but so far I've only heard good things about Torch.
from theano_lstm.
Thanks for the info. According to Google's NIPS paper on LSTMs for translation, they had to do some serious multi-GPU programming, and it still took 10 days to train. Thanks for making your stuff publicly-available. Time to fool around with 'small data.'
from theano_lstm.
Glad it's useful. I think Machine Translation (production level machine translation, that is) is still an industrial job, but I'm sure small data will do wonders
from theano_lstm.
Related Issues (17)
- ipynb is down HOT 4
- Optimization failure in Tutorial HOT 5
- Bidirectional RNN HOT 1
- Examples are probably outdated HOT 1
- Sequences of vectors HOT 2
- Question in Example Code
- Problem running the example code in 32-bit OS
- Question about fixing node value
- super() syntax for python 2 HOT 1
- Issue with running tutorial HOT 2
- Error with tutorial local_argmax_pushdown
- Masking operation errornous
- Setting the learning rate
- license? HOT 4
- Simple example HOT 16
- LSTM model equations HOT 5
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.
from theano_lstm.