nikamanthab / Codemix_NN_project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Codemix

weights directory structure:

  • weights
    • english
      • glove.magnitude
      • word2vec.magnitude
      • fasttext.magnitude
    • dravidian
      • ta
        • glove.magnitude
        • word2vec.magnitude
        • fasttext.magnitude
      • kn
        • glove.magnitude
        • word2vec.magnitude
        • fasttext.magnitude
      • ml
        • glove.magnitude
        • word2vec.magnitude
        • fasttext.magnitude

Input arguments:

  1. weights_path - path to the weights dir
  2. model_name - embedding model name; should match to select the correct model from weights dir.
  3. type - magitude/bert/ TfidfVectorizer/ CountVectorizer

example: python run.py
--weights_path /users/PAS2056/appiahbalaji2/courses/nn/codemix/weights/
--model_name glove --type magnitude

About


Languages

Language:Jupyter Notebook 59.2%Language:Python 25.7%Language:Shell 15.0%