Code Monkey home page Code Monkey logo

Comments (5)

 avatar commented on July 28, 2024

Can you share some details?
Such as the command you are running.
Since you train on GPU I suspect you are using a smaller batch size?
How many updates has the model performed (global_step * batch_size)?

In the experiments I ran the model reached at least 41% accuracy after 5000 steps (at batch size 512 ~= 2.5M updates) for all random runs.

from tapas.

lairikeqiA avatar lairikeqiA commented on July 28, 2024

That is my command:python3 run_task_main.py
--task=WTQ
--output_dir=/mnt/cjc/tapas-master/WTQ --model_dir=/mnt/cjc/tapas-master/tapas_wikisql_sqa_masklm_large
--init_checkpoint=/mnt/cjc/tapas-master/tapas_wikisql_sqa_masklm_large/model.ckpt
--bert_config_file=/mnt/cjc/tapas-master/tapas_wikisql_sqa_masklm_large/bert_config.json
--mode=train --use_tpu=False --iterations_per_loop=5 --train_batch_size=4 --max_seq_length=512
I ran the model reached 30% accuracy after 21000 steps(at batch size 4~=84000 updates).

I have another question. Does it shuffle the test dataset of WTQ on tapas_wtq_wikisql_sqa_masklm_large model?

from tapas.

 avatar commented on July 28, 2024

It should not shuffle the test data, only train.

Batch size 4 is pretty small, I would assume that you will not get the full accuracy with that batch size.

With 84,000 updates you are at 0.34% of what we usually have so you might have to wait a bit more.

How is the accuracy developing as a function the global steps?

from tapas.

lairikeqiA avatar lairikeqiA commented on July 28, 2024

The model converges faster in early training than in late training.

from tapas.

eisenjulian avatar eisenjulian commented on July 28, 2024

@lairikeqiA indeed that is expected the learning rate decays according to tf.train.polynomial_decay and the use of the AdamOptimizer.

from tapas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.