Coder Social home page Coder Social logo

vtt_kbqa's Introduction

Knowledge Base Question Answering

질문과 질문과 관련된 정답 kb triple이 주어졌을 때 응답 문장을 생성하는 모델

model

질문과 kb triple은 동일 encoder를 통과
필수 라이브러리 : nltk, pytorch 0.4
필요 파일 : question file(source 1), knowledge base triple file(source 2), answer(target) file
각 파일의 입력 예시
파일 유형 예시
question who is father of michael jackson
kb triple michael jackson <p> father </p> joe jackson
answer joe jackson is father of michael jackson
* kb triple에서 relation에 해당하는 단어의 시작과 끝에는 <p> , </p>가 각각 마킹되어 있음(선택 사항)
* 한 쌍의 질문, kb triple, 응답은 각 파일 내에서 동일한 순서로 저장되어 있어야 함

vtt_kbqa's People

Contributors

ian-jung 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.