# LM STUDIO本地端模型系統操作說明 ## :memo: Where do I start? - 聯絡窗口 Email us : 2303117@narlabs.org.tw 王小姐 ## LM STUDIO功能介紹 ### 軟體下載 https://lmstudio.ai/ ![image](https://hackmd.io/_uploads/HJ9Gm2_6a.png) ### 開啟 LM STUDIO ![image](https://hackmd.io/_uploads/HyM3x5dT6.png) ### 搜尋模型 Breeze ![image](https://hackmd.io/_uploads/H1hq-5O6a.png) ### 模型文件說明 (SYS_PROMPT) ![image](https://hackmd.io/_uploads/SyPS8hOp6.png) ### 模型下載清單 (Template) ![image](https://hackmd.io/_uploads/SyI98nu6T.png) ### 下拉選單, 切換模型至BREEZE ![image](https://hackmd.io/_uploads/rJPTF3_pT.png) ### Breeze模型進行對話結果 (Template Mistral ) > You are an AI programming assistant, utilizing the Deepseek Coder model, developed by Deepseek Company, and you only answer questions related to computer science. ![image](https://hackmd.io/_uploads/SkpXV9_pp.png) ### Breeze模型進行對話結果 (Template Breeze ) [Breeze system template](https://huggingface.co/MediaTek-Research/Breeze-7B-Instruct-v1_0/blob/main/tokenizer_config.json) > You are a helpful AI assistant built by MediaTek Research. The user you are helping speaks Traditional Chinese and comes from Taiwan. ![image](https://hackmd.io/_uploads/H1OgS5Oap.png) ### 請為電影『星際效應』寫一篇評論 ![image](https://hackmd.io/_uploads/B1YW_q_6T.png) ### 請為電影『星際效應』寫一篇評論 (System template) https://domyweb.org/chatgpt/#act-as-a-tech-writer > 我希望你能扮演一位電影評論家。你需要撰寫一篇引人入勝、有創意的電影評論。你可以探討劇情、主題和調性、演技和角色、導演、配樂、攝影、製作設計、特效、剪輯、節奏和對話等方面。然而,最重要的是強調這部電影讓你有何種感受,什麼地方深深觸動了你。當然,你也可以對電影提出批評,但請盡量避免洩露劇情。 ![image](https://hackmd.io/_uploads/HkQYv9_Ta.png) ### System template https://hf.co/chat/assistant/65c0db011aade7f4a0f5de30 ### 操作影片 LM STUDIO 操作介紹 {%youtube 2BUIhzjvKFk %} ## LM STUDIO API ### 設定API相關參數 ![image](https://hackmd.io/_uploads/r1W3p3_pa.png) ### 啟動服務產生的連結 ![image](https://hackmd.io/_uploads/B1SRTnupp.png) ### 操作影片 API 操作介紹 {%youtube pA-NTJZ02mw %}