Comments (2)
It is a simple trick I used. Some inappropriate hyperparameters may trigger `outofmemory' error during training. Therefore, this code requires the input to have the max sequence length at the beginning of training. Therefore, if the batch size is too big or max seq length is too big, the error will be triggered from the beginning and I can easily know.
You can also delete this code.
from drhard.
I see. Thanks for the explanation.
from drhard.
Related Issues (20)
- about the length of tokens HOT 2
- Questions about Training pipeline HOT 9
- Evaluatation on test passage dataset HOT 1
- msmarco-docs.tsv 的文件格式
- Issue in importing RobertaPreTrainedModel during STAR inference
- import error when do STAR inference HOT 2
- cannot find trained_models HOT 1
- RobertaDot_NLL_LN class not defined? HOT 5
- Reproduce results HOT 2
- Can not open link of warmup model as ANCE HOT 3
- keyError of rankdict HOT 3
- The warmup model for the doc datasat HOT 9
- download_data.sh
- Combined loss implementation HOT 7
- Training setup of ANCE and STAR HOT 1
- How did you evaluate on trec 2019 test HOT 1
- A possible bug in Data Process HOT 2
- Hard Negative generation
- download.sh
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 drhard.