Coder Social home page Coder Social logo

taipei-qa-bert's Introduction

台北QA問答機器人(with BERT or ALBERT)

問一個問題,告訴你應該去哪個單位處理這些問題

檔案說明

  • train.py : 模型訓練(BERT fine-tune)
  • predict.py : 提問預測
  • tutorial : 投影片檔案

中文Albert

  • 預設使用bert-base-chinese
  • 欲切換至albert-zh-tiny請將train.pypredict.py對應註解拿掉

    使用albert-zh-tiny需要對訓練參數進行微調,否則無法獲得好的效果

  • 更多albert-zh模型與用法請參閱p208p2002/albert-zh-for-pytorch-transformers

環境需求

  • python 3.6+
  • pytorch 1.3+

taipei-qa-bert's People

Contributors

p208p2002 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.