Giter VIP home page Giter VIP logo

singlish-chatbot-w-food-recommender's Introduction

Potato Master

About The Project

We aim to create a Telegram chatbot which can communicate in a way which is as human-like as possible and with the ability to talk in Singlish as well as most SMU students are Singaporeans. Also, together with the integration of the food recommendation function which will be utilised if the user wants some ideas of what to eat and where to find them.

Installation

Install the dependencies: pip install -r requirements.txt

Data Sources

Under the ./potato-master directory, we have some data sources
./data/.geojson: they are the files for SG master planning areas mapping.
./data/cuisines
.txt: for the cuisine options generation.
./data/restaurants.csv: the file containing all restaurants’ information.
./data/{train, validate}_combine_df.csv: sampled training files from combined sources.
./data/{train, validate}_df.csv: sampled training files from NUS SMS corpus only.
If you want to see the full datasets, download and put them in the ./data directory
Reddit Singapore: https://drive.google.com/drive/folders/1-DoqlzULEmQdC5VaEwL16pglRhWiOZAu?usp=sharing
HardwareZone: https://drive.google.com/drive/folders/1fFbF83DA64tWSC2YRIKjqLh5LDTcuqtC?usp=sharing

Finetuned Models

Process Files

./potato-master/data_scrape_preprocess: the directory contains the notebooks to scrape the Singlish conversations from HardwareZone and Reddit Singapore.
./potato-master/data_scrape_preprocess/data_combine.ipynb: combine data from different sources and do sampling.
./potato-master/fine-tune: the directory contains the notebooks to fine-tune the Blenderbot and DialoGPT. After the process, put the checkpoint directory and change the model path in the bot.py.
./potato-master/bot.py: Running this code will activate the bot in telegram.

Reference for Fine-Tuning

https://github.com/chuachinhon/practical_nlp/tree/master/notebooks

singlish-chatbot-w-food-recommender's People

Contributors

salihah-rilvan avatar

Watchers

 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.