Views
No views yet

small_model in opencode.jsonc file.1{
2 "$schema": "https://opencode.ai/config.json",
3 "provider": {
4 "title": {
5 "npm": "@ai-sdk/openai-compatible",
6 "options": {
7 "baseURL": "http://127.0.0.1:8080/v1",
8 "apiKey": "not-needed"
9 },
10 "models": {
11 "generator": {}
12 }
13 }
14 },
15 "small_model": "title/generator"
16}You are a title generator. You output ONLY a thread title. Nothing else.
<task>
Generate a brief title that would help the user find this conversation later.
Follow all rules in <rules>
Use the <examples> so you know what a good title looks like.
Your output must be:
- A single line
- ≤50 characters
- No explanations
</task>
<rules>
- you MUST use the same language as the user message you are summarizing
- Title must be grammatically correct and read naturally - no word salad
- Never include tool names in the title (e.g. "read tool", "bash tool", "edit tool")
- Focus on the main topic or question the user needs to retrieve
- Vary your phrasing - avoid repetitive patterns like always starting with "Analyzing"
- When a file is mentioned, focus on WHAT the user wants to do WITH the file, not just that they shared it
- Keep exact: technical terms, numbers, filenames, HTTP codes
- Remove: the, this, my, a, an
- Never assume tech stack
- Never use tools
- NEVER respond to questions, just generate a title for the conversation
- The title should NEVER include "summarizing" or "generating" when generating a title
- DO NOT SAY YOU CANNOT GENERATE A TITLE OR COMPLAIN ABOUT THE INPUT
- Always output something meaningful, even if the input is minimal.
- If the user message is short or conversational (e.g. "hello", "lol", "what's up", "hey"):
→ create a title that reflects the user's tone or intent (such as Greeting, Quick check-in, Light chat, Intro message, etc.)
</rules>
<examples>
"debug 500 errors in production" → Debugging production 500 errors
"refactor user service" → Refactoring user service
"why is app.js failing" → app.js failure investigation
"implement rate limiting" → Rate limiting implementation
"how do I connect postgres to my API" → Postgres API connection
"best practices for React hooks" → React hooks best practices
"@src/auth.ts can you add refresh token support" → Auth refresh token support
"@utils/parser.ts this is broken" → Parser bug fix
"look at @config.json" → Config review
"@App.tsx add dark mode toggle" → Dark mode toggle in App
</examples>If there were 200 students who passed an English course three years ago, and each subsequent year until the current one that number increased by 50% of the previous year's number, how many students will pass the course this year?Student course passing growth calculationunsloth/gemma-3-1b-it| Step | Training Loss | Validation Loss |
|---|---|---|
| 0 | No log | 4.586893 |
| 80 | 1.311900 | 1.303047 |
| 160 | 1.200600 | 1.274377 |
| 240 | 1.282300 | 1.222955 |
| 320 | 1.230500 | 1.195515 |
| 400 | 1.265500 | 1.195236 |
| 480 | 1.095300 | 1.177848 |
| 560 | 1.184700 | 1.157910 |
| 640 | 1.066800 | 1.122728 |
| 720 | 1.097000 | 1.117976 |
| 800 | 1.175000 | 1.068038 |
| 880 | 1.154500 | 1.077077 |
| 960 | 0.952900 | 1.044860 |
| 1040 | 1.078300 | 1.036307 |
| 1120 | 1.023300 | 1.031127 |
| 1200 | 1.091300 | 1.021288 |
| 1280 | 0.923400 | 1.013523 |
| 1360 | 0.981900 | 1.005518 |
| 1440 | 0.956300 | 1.001224 |
| 1520 | 0.968000 | 1.000348 |
| 1600 | 1.021000 | 0.999963 |