Comments (3)
@DaehanKim decided to add ability to truncate too 24e8855#diff-c84658a25076e15dc35c0fa5788c84a0a19003895db1e69d4783e0c20a50b5c3R408
from recurrent-memory-transformer-pytorch.
hey! there should be no limit, as I'm using a technique similar to checkpointing from another paper (memformer)
I should add truncation though, if one wanted to curriculum learn but still learn on detached memories from the get go
from recurrent-memory-transformer-pytorch.
gradient flow is unrestricted, it is basically a variant of checkpointing
from recurrent-memory-transformer-pytorch.
Related Issues (18)
- causal mask assert hit HOT 25
- Question: configuring scaled_dot_product_attention
- Attend : check mask isn't already 4D HOT 1
- Question: how does memory replay backprogagation work with multiple models in series HOT 8
- Question: why do we need read_memory_emb HOT 6
- Question: masks HOT 3
- Feature request: make JIT and ONNX export work HOT 4
- Question: Global write tokens or recurrent HOT 7
- Bug: resiDual implementation HOT 3
- Question: first read memories HOT 12
- flash attention, and a potentially better improvement HOT 5
- What is the reasoning for no dropout? HOT 2
- token_shift HOT 4
- have you had a chance to train it yet? HOT 2
- What happens if texts from the dataset don't have equal lengths HOT 4
- Question: How to set seq_len ? HOT 1
- Question: how to adapt this for CTC loss HOT 2
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 recurrent-memory-transformer-pytorch.