Library / Code, Git & Developer Tools
Code, Git & Developer Tools
Benchmark Local LLMs in LM Studio, Log to Sheets
When a chat message arrives, each LM Studio model is run on the prompt, response time and metrics are measured, and results are saved 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 ToolsCompare Local LLMs in LM Studio and Log Results12 stepsCode, Git & Developer ToolsCompare Local LM Studio Models and Log Results25 stepsCode, Git & Developer ToolsCompare Local LM Studio Models and Log Results25 stepsData Sync & ETLTesting Mulitple Local LLM with LM Studio13 steps