Code Monkey home page Code Monkey logo

classic-ai's Introduction

Sberbank Classic.AI 2018 Competition

Poerty generation / text style transfer

Место 13 из 56 команд-участников

Запуск на локальной системе

$ sudo docker run -v $PWD:/tmp/working -w=/tmp/working -p 8000:8000 -p 8888:8888 --rm -it sberbank/python
root@8b17e84c63bb:/tmp/working$ python server.py

Запуск Jupyter Notebook в конкурсном контейнере, чтобы видеть совместимость установленных библиотек

jupyter notebook --no-browser --ip="*" --notebook-dir=/tmp/working --allow-root

Пример работы

(https://github.com/sberbank-ai/classic-ai/blob/master/README.md)

При помощи Python 3 и библиотеки requests.

>>> import requests
>>> requests.get('http://localhost:8000/ready')
<Response [200]>
>>> resp = requests.post('http://localhost:8000/generate/lermontov', json={'seed': 'регрессия глубокими нейронными сетями'})
>>> resp
<Response [200]>
>>> data = resp.json()
>>> print(data['poem'])
Глубокими нейронными сетями
Летим одни
Вон точно регрессия полукругом
Расходятся огни

Elasticsearch не взлетел, после соревнования выяснилось, что образ монтировался read-only

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.