Giter VIP home page Giter VIP logo

seq2sparql's Introduction

Seq2SPARQL

Neural machine translation 모델을 사용해 자연어 질의로부터 SPARQL을 생성하는 프로그램입니다.

seq2sparql

make_data_from_template.sh를 실행하여 영화 관련 한글 자연어 질의-SPARQL 쌍 데이터를 생성할 수 있습니다.
SPARQL은 Wikidata 기준으로 생성되며, 실제 wikidata sparql endpoint에 질의하여 답을 가져올 수 있습니다.

그리고 fair_*.sh, nmt_*.sh를 실행하여 fairseq, tensorflow-nmt에서 제공하는 여러 sequence-to-sequence 모델을 사용하여 위의 데이터를 학습하고, 테스트해볼 수 있습니다.

이 저장소는 fairseq, tensorflow-nmt module를 사용하기 때문에 clone 후 submodule을 checkout 해야합니다.

git submodule update --init

References

본 저장소는 아래 코드들을 기반으로 하고 있습니다.

seq2sparql's People

Contributors

dg4271 avatar

Watchers

James Cloos 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.