Code Monkey home page Code Monkey logo

fs_korinthias's Introduction

fs_korinthias

Kotlin android project to fetch news from FS Korinthias and Smart Reply to messages using Tensorflow

Check this repo if you want to get an idea of JSOUP usage, Firebase cloud messaging, database and authentication. Also example of Tensorflow lite model inside android.

This project is in Kotlin language and has:

  1. JSOUP usage to fetch news directly from the HTML page.
  2. Work Manager to search for new articles and schedule Notifications
  3. Private messages for members only
  4. Firebase Cloud Messaging, database and authentication

also:

  1. Activity and TextView animations
  2. Databinding
  3. BindingAdapters
  4. Navigation Component usage
  5. MVVM with Coroutines

Smart Replies are contextually relevant, one-touch responses that help the user to reply to an incoming text message (or email) efficiently and effortlessly. Smart Replies have been highly successful across several Google products including Gmail, Inbox and Allo.

The On-device Smart Reply model is targeted towards text chat use cases. It has a completely different architecture from its cloud-based counterparts, and is built specifically for memory constraints devices such as phones & watches. It has been successfully used to provide Smart Replies on Android Wear to all first- & third-party apps.

The on-device model comes with several benefits. It is:

  • Faster: The model resides on the device and does not require internet connectivity. Thus, the inference is very fast and has an average latency of only a few milliseconds.
  • Resource efficient: The model has a small memory footprint on the device.
  • Privacy-friendly: The user data never leaves the device and this eliminates any privacy restrictions.

Check the python notebook how ML model is created in Keras (Tensorflow backend)

Text is classified in 3 labels as sadness, enthusiasm, neutral. After classification for each new message in chatbox we have 3 smart reply options for user to select. Check below diagram in Tensorboard: TensorBoard

fs_korinthias's People

Contributors

farmaker47 avatar

Watchers

 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.