Comments (3)
Hi @jbrry ,
I think we manually exteded the BERT pretraining code, good reference should be the ALBERT code:
Then you can introduce a new keep_checkpoint_max
cli argument, e.g. like:
flags.DEFINE_integer("keep_checkpoint_max", 5,
"How many checkpoints to keep.")
I added that parameter to ELECTRA (see google-research/electra#47), but for BERT you unfortuntately need to implement it manually.
from berts.
Oh, and if you want to keep all checkpoints, just use 0
for keep_checkpoint_max
:
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/estimator/RunConfig
from berts.
Brilliant, thanks a million for your help and for adding that to the ELECTRA model!
from berts.
Related Issues (20)
- Turkish BERT model TF checkpoints HOT 1
- max sequence length HOT 1
- Turkish ELECTRA small genetator HOT 1
- request for uncased version of convbert-base-turkish HOT 5
- Tensorflow weights for bert-base-italian-cased HOT 2
- Request for Tensorflow version HOT 1
- Domain of the corpora used for pretraining HOT 2
- Italian BERT HOT 6
- Anahtar kelime çıkarma çalışması HOT 1
- bert-ita-xxl-cased training set HOT 2
- Bert-ita-xxl HOT 4
- BERT-ita-xxl - Question about corpus HOT 4
- dbmdz/bert-base-german-cased HOT 3
- Citings HOT 1
- Request for Tensorflow version (German) HOT 1
- Tokenizer results in blank token for extended UTF-8 characters
- BERT Turkish Uncased Model
- bert-base-german-cased Tensorflow checkpoints HOT 2
- Reference paper for Italian BERT XXL? 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 berts.