Giter Site home page Giter Site logo

artemisart / bert-sentiment-imdb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from google-research/bert

4.0 4.0 1.0 209 KB

refactors on BERT-tf + adaptation to other tasks like imdb

Home Page: https://arxiv.org/abs/1810.04805

License: Apache License 2.0

Python 99.84% Shell 0.16%
bert imdb natural-language-processing natural-language-understanding nlp

bert-sentiment-imdb's People

Contributors

ammarasmro avatar cbockman avatar craigcitro avatar eric-haibin-lin avatar georgefeng avatar hsm207 avatar jacobdevlin-google avatar stefan-it avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

wayswang

bert-sentiment-imdb's Issues

Training on imdb

What parameters did you use for training on the imdb when running the run_classifier.py? Could you share your configuration? When I run it with your code (imdb branch) with default parameters, I get very low accuracy, like 50%.

I used the default command (omitting the definition of the env variables):

python run_classifier.py --task_name=imdb --do_train=true --do_eval=true --data_dir=$BERT_DATA_DIR --vocab_file=$BERT_BASE_DIR/vocab.txt --bert_config_file=$BERT_BASE_DIR/bert_config.json --init_checkpoint=$BERT_BASE_DIR/bert_model.ckpt --max_seq_length=256 --train_batch_size=32 --learning_rate=2e-5 --num_train_epochs=5.0 --output_dir=$TMP_DIR

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.