{"id":21607032,"url":"https://github.com/mya-mya/chatmpc","last_synced_at":"2025-05-06T19:29:04.000Z","repository":{"id":193635680,"uuid":"658539889","full_name":"Mya-Mya/ChatMPC","owner":"Mya-Mya","description":"Natural Language-driven Controller Personalization Framework 📣","archived":false,"fork":false,"pushed_at":"2024-02-28T05:35:57.000Z","size":22,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-31T02:11:40.439Z","etag":null,"topics":["control-engineering","natural-language-processing"],"latest_commit_sha":null,"homepage":"","language":"MATLAB","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mya-Mya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-26T02:29:30.000Z","updated_at":"2024-12-12T11:46:51.000Z","dependencies_parsed_at":"2024-02-28T06:31:48.589Z","dependency_job_id":"5781eae9-6a52-494d-a9bf-48cebabc2c3e","html_url":"https://github.com/Mya-Mya/ChatMPC","commit_stats":null,"previous_names":["mya-mya/chatmpc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mya-Mya%2FChatMPC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mya-Mya%2FChatMPC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mya-Mya%2FChatMPC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mya-Mya%2FChatMPC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mya-Mya","download_url":"https://codeload.github.com/Mya-Mya/ChatMPC/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252752584,"owners_count":21798828,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["control-engineering","natural-language-processing"],"created_at":"2024-11-24T20:28:22.521Z","updated_at":"2025-05-06T19:29:03.971Z","avatar_url":"https://github.com/Mya-Mya.png","language":"MATLAB","funding_links":[],"categories":[],"sub_categories":[],"readme":"## ChatMPC\n\n## Reproduce the Numerical Experiment\n\n### 1. Download Sentence BERT Pre-trained Weights\nSentence BERT model is used in the intent extractor $f_\\mathrm{int}$ in the interpreter $\\mathcal{A}$. In the numerical experiment, we used `deepset/sentence_bert` as the pre-trained weights. \n\nClone it from the [HuggingFace Model page](https://huggingface.co/deepset/sentence_bert).\n\n### 2. Launch the IntentExtractor Python Server\nMost of ChatMPC is implemented in MATLAB, but only the intent extractor $f_\\mathrm{int}$ is implemented in Python. MATLAB code and the Python code communicate via HTTP.\n\nRecall the path to the Sentence BERT folder, and execute the following:\n```bash\n\u003e\u003e cd IntentExtractor\n\u003e\u003e python3 main.py --sbert_path \u003cpath to the Sentence BERT folder\u003e\n```\nCheck that the server is running on `http://127.0.0.1:3838`.\n\n### 3. Work in MATLAB\nThe code for the numerical experiment is `main.m`. \n\nPlease run it **SECTION BY SECTION** because I'll need you to type/run some commands yourself in the middle of running.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmya-mya%2Fchatmpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmya-mya%2Fchatmpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmya-mya%2Fchatmpc/lists"}