Library / Code, Git & Developer Tools
Code, Git & Developer Tools
Compare Local LLMs in LM Studio and Log Results
When a chat message is received, it runs the same prompt on several local LM Studio models, measures response metrics and saves the results to Google Sheets.
What it does
## 3. 💡Update the LM Settings From here, you can modify the following parameters to fine-tune model behavior: - Temperature: Controls randomness. Higher values (e.g., 1.0) produce more diverse results, while lower values (e.g., 0.2) make responses more focused and deterministic. - Top P: Adjusts nucleus sampling, where the model considers only a subset of probable tokens. A lower value (e.g., 0.5) narrows the response range. - Presence Penalty: Penalizes new tokens based on their presence in the input, encouraging the model to generate more varied responses.
The steps
- Get Models
- When chat message received
- Get timeDifference
- Run Model with Dunamic Inputs
- Analyze LLM Response Metrics
- Save Results to Google Sheets
- Capture End Time
- Capture Start Time
- Prepare Data for Analysis
- Extract Model IDsto Run Separately
- Add System Prompt
- LLM Response Analysis
Similar automations
Code, Git & Developer ToolsBenchmark Local LLMs in LM Studio, Log to Sheets12 stepsCode, Git & Developer ToolsCompare Local LM Studio Models and Log Results25 stepsCode, Git & Developer ToolsCompare Local LM Studio Models and Log Results25 stepsAI Agents & AssistantsCompare LLMs with OpenAI and OpenRouter in Google Sheets17 steps