The Few-Shot Bot: Prompt-Based Learning for Dialogue Systems

This repository includes the dataset, experiments results, and code for the paper: Few-Shot Bot: Prompt-Based Learning for Dialogue Systems PDF. Authors: Andrea Madotto, Zhaojiang Lin, Genta Indra Winata, Pascale Fung Abstract Learning to converse using only a few examples is a grand challenge in Conversational AI. The current best conversational models, which are either good chit-chatters (e.g., BlenderBot) or goal-oriented systems (e.g., MinTL), are language models (LMs) fine-tuned on large conversational datasets. Training these models is expensive, both in terms […]

Read more

Morphable Detector for Object Detection on Demand

(ICCV 2021) PyTorch implementation of the paper Morphable Detector for Object Detection on Demand. If our project is helpful for your research, please consider citing: @inproceedings{zhaomorph, author = {Xiangyun Zhao, Xu Zou, Ying Wu}, title = {Morphable Detector for Object Detection on Demand}, booktitle = {ICCV}, Year = {2021} } Install First, install PyTorch and torchvision. We have tested on version of 1.8.0 with CUDA 11.0, but the other versions should also be working. Our code is    

Read more

Revitalizing CNN Attention via Transformers in Self-Supervised Visual Representation Learning

This repository is the official implementation of CARE paper. Updates (09/10/2021) Our paper is accepted by NeurIPS 2021. (14/10/2021) Our code is available for ssl pretraining and image classification evaluation. Comming Provide resnet_50(100e) models and logs. Complete the pretrained models and logs. Requirements To install requirements: conda create -n care python=3.6 conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 cudatoolkit=10.1    

Read more

A simple docker-compose app for orchestrating a fastapi application, a celery queue with rabbitmq(broker) and redis(backend)

A simple docker-compose app for orchestrating a fastapi application, a celery queue with rabbitmq(broker) and redis(backend) build and run containers docker-compose up -d –build This will expose fastapi application on 5000 and celery flower on 5555 swagger docs – http://localhost:5000/ redoc – http://localhost:5000/redoc celery flower – http://localhost:5555 GitHub https://github.com/karthikasasanka/fastapi-celery-redis-rabbitmq    

Read more

Backend Skeleton using FastAPI and Sqlalchemy ORM

Based on @tiangolo’s full stack postgres template, with some things added, some things removed, and some things changed. This is a work in progress! TODO: Remove fastapi_util from the app repo, and make it a separate package Add example pydantic models, sqlalchemy models, endpoints Add encode/databases support (possibly in a separate template?) GitHub https://github.com/dmontagu/backend-skeleton    

Read more

Prints values and types during compilation

Compile-Time Printer Compile-Time Printer prints values and types at compile-time in C++. Teaser test.cpp compile-time-printer — make test.cpp #include template constexpr auto func(int i) { // Formatted output. ctp::printf(“Hello {}!n”, ctp::type{I}); // Standardized output. ctp::print(I + i, sizeof(I)); return true; } constexpr    

Read more

Structure Guided Lane Detection with python

Project for the IJCAI 2021 paper “Structure Guided Lane Detection” Abstract Recently, lane detection has made great progresswith the rapid development of deep neural networksand autonomous driving. However, thereexist three mainly problems including characterizinglanes, modeling the structural relationship betweenscenes and lanes, and supporting more attributes(e.g., instance and type) of lanes. In thispaper, we propose a novel structure guided frameworkto solve these problems simultaneously. Inthe framework, we first introduce a new lane representationto characterize each instance. Then a topdownvanishing point guided […]

Read more

A project helps to detect the mathematical formula from the given picture and the same formula is extracted and converted into the latex code

The goal of this project is to create a learning based system that takes an image of a math formula and returns corresponding LaTeX code. Requirements Model PyTorch (tested on v1.9) Python 3.7+ & dependencies (requirements.txt) pip install -r requirements.txt Dataset In order to render the math in many different fonts we use XeLaTeX, generate a PDF and finally convert it to a PNG. For the last step we need to use some third party tools: Using the model Download/Clone […]

Read more
1 452 453 454 455 456 974