deepklarity / jupyter-text2code
- среда, 16 сентября 2020 г. в 00:24:57
Jupyter Notebook
A proof-of-concept jupyter extension which converts english queries into relevant python code
pip install .
tensorflow_hub
.Terminal
Icon which appears on the menu (to activate the extension)From a list of templates present at mopp/mopp_serverextension/data/ner_templates.csv
, generate training data by running the following command:
cd scripts && python generate_training_data.py
This command will generate data for intent matching and NER(Named Entity Recognition).
Use the generated data to create a intent-matcher using faiss.
cd scripts && python create_intent_index.py
cd scripts && python train_spacy_ner.py
ner_templates
with a new intent_idgenerate_training_data.py
if different generation techniques are needed or if introducing a new entity.mopp/mopp_serverextension/__init__.py
with new intent's condition and add actual code for the intentpip install .