Comments (7)
You can always use tensorboard though!
from electra.
@008karan Hi Karan. I am not a TF user. Can you please instruct me how to use tensorboard in this case? I see an tfevents file in the model directory but it seems not to be written for tensorboard. The script used tf.estimator.tpu.TPUEstimator
to train the model so I don't know how to extract the loss. Thank you very much in advance!
from electra.
I have trained my model on GPU and using tensorboard is similar here. You will find events.out files in your checkpoint folder. Just run tensorboard on it.
from electra.
@008karan Thank you Karan! It works for me now after I use tensorboard==1.15.0. Do you know how the author can continuously get the evaluation metrics as in this thread? I can only get the evaluation metrics at the end of my training progress.
from electra.
In tensorboard you get loss and learning rate here I think you can add whatever you want in logs to see them on tensorboard!
from electra.
When I trained Electra small on my Spanish corpus the loss was shown if trained on GPU. Now, I got access to TFRC and trained it using its TPUs pod and loss it is not shown. Of course, I can get it from Tensorboard events but would be great to log it by default when running on TPU.
from electra.
You can set the tensorflow log level to info and it will be much more verbose including printing the loss.
from electra.
Related Issues (20)
- what should i do to extract the electra discriminator HOT 2
- ELECTRA-base fine tuned on MNLI HOT 1
- A possible mistake in the FLOPs calculation of attn_output_layer_norm in the file flops_computation.py
- no module named tensorflow.contrib HOT 1
- Electra Vocabulary HOT 1
- some confusions about paper HOT 1
- Question regarding TrainingsData/Validation Data split
- NumPy Import Error HOT 2
- Train electra with another tokenizer HOT 2
- About the Electra paper
- Optimal Learning Rate and Training Steps for Large Batch Size
- How can I draw this? HOT 1
- Tagging Task Segment ids
- Cannot import trace from tensorflow.python.profiler HOT 4
- sequence tagging tasks fails at metric reporting HOT 1
- Can I used run_mlm.py in transformer for fine-tuning generator(mlm) of electra
- failed to run cuBLAS routine: CUBLAS_STATUS_EXECUTION_FAILED HOT 1
- finetune preprocessing adding padding to the dataset error HOT 1
- How many parameters do discriminator and generator have?
- What is the maximum acceptance for the sentence length for the ELECTRA model?
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 electra.