Giter Club home page Giter Club logo

bert-cnn's Introduction

CNN on BERT Embeddings

Testing the performance of CNN and pretrained BERT embeddings on the GLUE Tasks

BERT Model

The BERT model used is the BERT-Base, Uncased: 12-layer, 768-hidden, 12-heads, 110M parameters

and BERT-Large, Uncased: 24-layer, 1024-hidden, 16-heads, 340M parameters

Bert Base available at https://storage.googleapis.com/bert_models/2018_10_18/uncased_L-12_H-768_A-12.zip

Bert Large available at https://storage.googleapis.com/bert_models/2018_10_18/uncased_L-24_H-1024_A-16.zip

the tokenization.py file is from the google-research/bert repo https://github.com/google-research/bert

GLUE tasks

execute python ./utils/download_glue_data.py --data_dir ./data/glue_data to download the tasks.

execute python ./utils/preprocess_tasks.py --data_dir ./data/glue_data to process the tsv files so pandas can read them.

Keras template

the keras template is based on https://github.com/Ahmkel/Keras-Project-Template

Keras implementaion of BERT

The keras implementation of BERT is based on https://github.com/CyberZHG/keras-bert

bert-cnn's People

Contributors

h4rr9 avatar dependabot[bot] avatar

Stargazers

Amiber avatar Amirul Sadikin avatar TinaCristal avatar Aniruddha Kalburgi avatar  avatar  avatar Tin C. avatar gyunggyung avatar Vipula Rawte avatar  avatar  avatar G.Q avatar Yi Liu avatar Wang Taiqi avatar  avatar

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.