Code Monkey home page Code Monkey logo

relentness's Introduction

relentness

Knowledge graph models manipulator which allows to perform various evaluations of provided embedders. Currently there is only an incomplete support for fetching wikidata triples and saving them in the format acceptable for the OpenKE toolkit (see examples of the generated datasets in the folder Assets/Demo).

Setup

For being able to run python-based code you need to create a new environment and install the project dependencies:

conda env create --file environment.yml

Usage

Currently on hyperparameter search in supported, which can be initiated using the following command which configures 2 concurrent workers to process cross-validation splits for a given dataset and Assets/Log/default.txt as a log destination file path:

swift run relentness hsearch -e grapex-latest 17 19 -n 2 -l default

To generate a sample from wikidata using default params, execute the following command:

swift build && ./.build/debug/relentness Assets/Demo

The generated files will be saved in the directory Assets/Demo. To list all available option for the sample subcommand, please, use the following call:

./.build/debug/relentness sample --help

To test a model on a given dataset with transe model:

python -m relentness test ./Assets/Corpora/Demo/0000 -m transe

Aside from transe there is a complex model supported as well at the moment which requires a similar call.

Integrations

Google sheets

The applications allows to export results of models comparison into google spreadsheet with nice formatting which automatically highlights all the main points.

Telegram API

It is possible to interact with the application via telegram bot. Upon startup you are able to provide any access token and fine-tune the app to send a wide range of notifications, the most interesting of which is the message that informs you about the need of updating OAuth2 access token to a third-party service. On the screen below an example of a short chat with telegram bot is provided.

embeddabot chat screenshot example

relentness's People

Contributors

zeionara avatar

Watchers

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