Giter VIP home page Giter VIP logo

glove-android's Introduction

github_banner

Shubham Panchal

Reach me at

Profiles

OSS Projects

Rust

  • text-predictor-android: Next word prediction and word auto-complete for Android - with the power of Rust
  • tfidf-summarizer.rs tfidf-text-summarizer downloads: Simple, efficient and cross-platform TFIDF-based text summarizer in Rust
  • postagger.rs postagger downloads: NLTK inspired Parts-of-Speech Tagger (Perceptron Tagger) in Rust
  • pq.rs: Pure Rust implementation of Product Quantization for Approximate Nearest Neighbor Search
  • diff-tool.rs: A simple terminal-based diff tool written in Rust

On-Device ML

Web

Backend

Data Structures / Algorithms

Kotlin/Android

Blogs

Google Colab Notebooks - Tutorials

Spotlight

Collaborations / Pull Requests

glove-android's People

Contributors

shubham0204 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

glove-android's Issues

Returning an empty array from get_embedding

In case you come across a word that is not part of the original GloVe dataset.
We currently return an empty array.

def get_embedding( word ):
    try:
        return vectors[ indexes[ word ] ]
    except KeyError:
        return []

This however should be an array of zeros with a size matching the dataset sizes:

def get_embedding(word):
    try:
        return vectors[indexes[word]]
    except KeyError:
        return np.zeros(50) 

In this case I'm using numpy because I'm running this in a real python env for preprocessing but could be an floatarray size 50 with all zeros instead.

This solves issues like:

ValueError: all the input array dimensions for the concatenation axis must match exactly, but along dimension 1, the array at index 0 has size 0 and the array at index 2 has size 50

Returning an error 'libcrypto_chaquopy.so' not found on runtime.

On run of the app, the mainActivity crashes on launch giving the following error

 java.lang.RuntimeException: Unable to get provider androidx.startup.InitializationProvider: androidx.startup.StartupException: java.lang.UnsatisfiedLinkError: dlopen failed: library "libcrypto_chaquopy.so" not found

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.