Git Product home page Git Product logo

mrc-information-extraction's Introduction

MRC-Information-Extraction

A Study on Contextualized Language Modeling for Machine Reading Comprehension

基於 BERTBERT-wwm 以及 MacBERT 的官方資源修改。

適用於中文機器閱讀理解:繁體中文 DRCD、簡體中文 CMRC

本程式碼為論文 A Study on Contextualized Language Modeling for Machine Reading Comprehension 以及 A Study on the Information Extraction and Knowledge Injection for Machine Reading Comprehension 於單輪機器閱讀理解的實作部分。包括 Fine-tune 於 BERT/BERT-wwm/MacBERT 結果、加入 Information Extration 資訊結果,以及 N-best 答案進行 Reranking 的 Ensemble 方法與結果。

Clutering Strategies Clustering Strategies

Conda 環境設定檔

  • tf.yml 模型訓練環境
  • prep.yml 資料預處理環境(Clustering、Ensemble)

使用

  • Information Extraction
bash cls/run_cls.sh
  • Train & Prediction
bash run.sh
  • Evaluate
bash eval.sh

Fine-tuning DRCD

  • output
  • output_wwm
  • output_mac

Fine-tuning CMRC

  • output
  • output_c_wwm
  • output_c_mac

Information Extraction

  • cls

Result result

mrc-information-extraction's People

Contributors

kamelain avatar cywu-124 avatar

Watchers

 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.