gy910210 / rnn-from-scratch Goto Github PK
View Code? Open in Web Editor NEWImplementing Recurrent Neural Network from Scratch
Implementing Recurrent Neural Network from Scratch
@pangolulu
Hi, thank you for a wonderful work!
If you do not mind it, would you please specify the license of this repository?
I hope that people learning more DeepLearning will be able to use this wonderful theme.
Best Regards
Hi,
Why ds = dsv + diff_s
what is the difference between diff_s and ds?
I'am confused.
thank you!
Thanks for the wonderful write up! We can cache the layer output and intermediate to make this implementation fast.
不太明白这个RNN在做什么,X是句子,Y是句子,
X_train shape: (78483,)
y_train shape: (78483,)
x:
SENTENCE_START what are n't you understanding about this ? !
[0, 51, 27, 16, 10, 857, 53, 25, 34, 69]
y:
what are n't you understanding about this ? ! SENTENCE_END
[51, 27, 16, 10, 857, 53, 25, 34, 69, 1]
你好!
首先表示感谢,代码非常清晰易懂,唯一有点疑惑的是bptt的实现方式。
代码中是从前向后遍历T,用的是用t时刻的diff去算t-1 ~ 0 的梯度,是否使用t时刻diff由t+1时刻的梯度决定的方式会比较好一些,这样从后向前遍历T,一个循环就足够了。不过这样的话无法控制梯度传递的时间长度。
Thank you .
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.