Comments (8)
@muelletm I was trying to run the pre-training data generation code and it ran for 4 days and did consume almost 164 GB of RAM memory before it was killed by OS. It looks like the code is putting everything in memory? Am I correct? What are the way around?
from tapas.
Mhm, can you share the command you ran?
I am assuming you are using the local beam runner. I would be surprised if it put everything in memory.
Basically running on a single machine will take a very long time. You should either use Google Cloud as described (or another Apache beam back-end?) or manually split the data into smaller sets that can be processed by multiple machines in parallel.
from tapas.
Yes, I was running in local machine, then I set up Google Dataflow but still it has been running for 2 days on GoogleDataflow.
from tapas.
On Dataflow you should be able to see how many machines are being used and what the progress is so far.
Could share that?
Do be honest, I only tested the pipeline with the small sample. Processing that didn't take more than 10 minutes or so and most of that time is overhead (scheduling, etc ...). So, I would expect this should be much faster than 2 days when using an appropriate number of machines.
from tapas.
So far it is still running in Dataflow with 3 machines. Here is the screenshot of
from tapas.
@thomasmueller-google It would be really great if you could share the pre-trained data in TF Format. I really want to develope a pretrained checkpont using 4 and 6 layers BERT.
from tapas.
@thomasmueller-google My pretraining data generation is completed on GoogleDataflow. It took 4 days and 9 hrs.
from tapas.
Great to hear! This was using 3 machines, right? It should scale nicely with the number of machines used so using 12 machines it would only take 1 day and so on.
from tapas.
Related Issues (20)
- Training tables with more than 512 cells HOT 1
- how to train the model on hybridqa and ott-qa
- tapas installation is not working HOT 2
- does it support chinese
- Populate float_answer for Tapas Weak supervision for aggregation (WTQ). TypeError: Parameter to CopyFrom() must be instance of same class: expected language.tapas.Question got str. HOT 2
- The code for TableFormer
- Wrong calculation in table HOT 1
- no issue
- Does anyone know of a Tapas tokenizer that is written in Java, C, or Rust?
- create baseline results
- WQT to SQA format conversion script
- TensorFlow No Matching Distribution Error When Installing 'tapas-table-parsing'
- Sudden Increase in Loss value while finetuning
- Generating Pre-Training Data for TAPAS
- Installation Guide Unavailable on Colab Notebook
- Error: Getting Requirements to Build Wheel Failed HOT 1
- ValueError: Too many rows
- Couldn't find all answers
- Google colab setup.py issue HOT 1
- Files to reproduce QA results of NQ-Tables test set
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 tapas.