demo for running LLMs with MATLAB
Version 1.0.0 (2.66 KB) by
halleyhit
This project is using "Large Language Models (LLMs) with MATLAB", to demostrate how two AIs are fighting.
5 demos are talking features, and test_ollama is the result code, which you can play with.
demo1: chat with AI
demo2: chat with AI based on history chat
demo3: remove history chat and process txt
demo4: 2 AIs are chating
demo5: 2 AIs are chating in specific topic
note: change the code line of "chat = ", in case you are using other interfaces or AIs.
Thanks to "Large Language Models (LLMs) with MATLAB"
Cite As
halleyhit (2025). demo for running LLMs with MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/180255-demo-for-running-llms-with-matlab), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2024b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |