Sentence BERT model is used in the intent extractor deepset/sentence_bert
as the pre-trained weights.
Clone it from the HuggingFace Model page.
Most of ChatMPC is implemented in MATLAB, but only the intent extractor
Recall the path to the Sentence BERT folder, and execute the following:
>> cd IntentExtractor
>> python3 main.py --sbert_path <path to the Sentence BERT folder>
Check that the server is running on http://127.0.0.1:3838
.
The code for the numerical experiment is main.m
.
Please run it SECTION BY SECTION because I'll need you to type/run some commands yourself in the middle of running.