Giter Site home page Giter Site logo

reuters21578's Introduction

Uses deep learning for the multi-label classification task on Reuters data
NN architecture:
BERT transformer (pretrained-model) + sigmoid layer (fine-tuning layer)


Run script
```
    python run_multilabel_classifier.py \
    --reuters_data_dir=C:\Users\vivin\Documents\Projects\fidelity\reuters21578 \
    --task_name=reuters \ --vocab_file=C:\Users\vivin\Documents\Projects\fidelity\models\uncased_L-12_H-768_A-12\uncased_L-12_H-768_A-12\vocab.txt \ --bert_config_file=C:\Users\vivin\Documents\Projects\fidelity\models\uncased_L-12_H-768_A-12\uncased_L-12_H-768_A-12\bert_config.json \
    --output_dir=C:\Users\vivin\Documents\Projects\fidelity\models\model_20220317
    --do_train=False
    --do_eval=False
    --do_predict=False
```

EVAL result
I0320 00:12:38.979363 139628830963584 <ipython-input-10-2fb718a642df>:152] ***** Eval results *****
INFO:tensorflow:  eval_accuracy = 0.037902974
I0320 00:12:38.989170 139628830963584 <ipython-input-10-2fb718a642df>:154]   eval_accuracy = 0.037902974
INFO:tensorflow:  eval_loss = 0.0015029485
I0320 00:12:39.004969 139628830963584 <ipython-input-10-2fb718a642df>:154]   eval_loss = 0.0015029485
INFO:tensorflow:  global_step = 1293
I0320 00:12:39.011782 139628830963584 <ipython-input-10-2fb718a642df>:154]   global_step = 1293
INFO:tensorflow:  loss = 0.001502916
I0320 00:12:39.015124 139628830963584 <ipython-input-10-2fb718a642df>:154]   loss = 0.001502916


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.