|
Download lmstudio/lmstudio-0000.jsonl from winapiadmin/tinycodinglm: direct link, hf CLI and curl.
- Browser
- Download file 1.73 kB
-
https://huggingface.co/datasets/winapiadmin/tinycodinglm/resolve/main/lmstudio/lmstudio-0000.jsonl
- Command line
-
hf download hf://datasets/winapiadmin/tinycodinglm/lmstudio/lmstudio-0000.jsonl
-
curl -L -o lmstudio-0000.jsonl https://huggingface.co/datasets/winapiadmin/tinycodinglm/resolve/main/lmstudio/lmstudio-0000.jsonl
1.73 kB
| {"type": "session", "harness": "opencode", "id": "lmstudio-0000", "name": "local inference"} | |
| {"type": "message", "message": {"role": "system", "content": "You are an expert software engineer and technical assistant. You provide accurate, detailed, and practical answers. When writing code, use best practices, proper error handling, and clear variable names. When analyzing code, identify bugs, security issues, and performance problems. You have deep knowledge of C/C++, Windows API, Python, and many other technologies."}} | |
| {"type": "message", "message": {"role": "user", "content": "How do I set up LM Studio for local inference? Show downloading a model, loading it, starting the server on localhost:1234, and verifying with /v1/models. Include code examples."}} | |
| {"type": "message", "message": {"role": "assistant", "content": "**LM Studio local setup:**\n\n1. **Download:** https://lmstudio.ai - Windows, Mac, Linux.\n2. **Install and launch** the app.\n3. **Download a model:** Models tab -> search -> Download (pick a size that fits your RAM/VRAM).\n4. **Load:** select the downloaded model -> Load Model.\n5. **Serve:** Local Server tab -> Start Server (default `http://localhost:1234`).\n\n```bash\n# Verify server is running (lists loaded model ids)\ncurl http://localhost:1234/v1/models\n```\n\nUse the returned `id` as `model` in OpenAI-compatible calls with `base_url=\"http://localhost:1234/v1\"` and any non-empty `api_key` when auth is disabled.\n\n**Key settings:**\n- **Context length:** max tokens visible at once (varies by model)\n- **GPU offload:** layers on GPU (more = faster if VRAM allows)\n- **Temperature:** 0.0 deterministic, higher = more creative\n- **Top-p:** nucleus sampling, 0.9 typical"}} | |