IST Weather: Chennai 27°C · Coimbatore 27°C Gold 24K: ₹1,23,276 👁 Visitors: 1,882
TamilAINews
தமிழ் செய்திகள் — புதிய பார்வை
News. Intelligence. Trust.
Tamil Nadu | Puducherry | India | World
🔍
HOT NEWS
• Tamilwin - Tamilwin Sri Lankan Tamil News Website | Latest Breaking News Online | Daily Tamil News, Sri Lankan News | Indian and World News • 1.3-Hour Video | Shocking Incident at a Gym in Puducherry... Owner and Trainer Arrested! #Puducherry #Gym #Steroid #Mephentermine #GymOwnerArrested #Doping #Puducherry #Gym #PoliceSearch #DrugSales #CrimeStory #ZeeTamilNews | ZEE Tamil News • In Chennai Metro Phase 3 Project - Rs. 3,858 crore cut - What is the reason? #ZeeTamilNews #ChennaiMetro #MetroRail #ChennaiMetroPhase3 #MetroPhase3 #ChennaiNews #TamilNaduNews #CMRL #MetroUpdate #MetroProject #Metro #ChennaiMetro #ChennaiDevelopment | ZEE Tamil News • 25 Sri Lankan government officials travel to New Delhi! - Global Tamil News • Vrushakarma Review: Naga Chaitanya Starrer Vrushakarma What's Up?.. Blue Shirt Maran Review! • Tamil Nadu announces Rs 75,000 subsidy for electric auto purchases • British student jailed for life in 'Dexter'-style murder - Athirvu News • 3-year e-tender notification for Tasmac bars in 38 districts across Tamil Nadu - Athirvu News • Tamilwin - Tamilwin Sri Lankan Tamil News Website | Latest Breaking News Online | Daily Tamil News, Sri Lankan News | Indian and World News • 1.3-Hour Video | Shocking Incident at a Gym in Puducherry... Owner and Trainer Arrested! #Puducherry #Gym #Steroid #Mephentermine #GymOwnerArrested #Doping #Puducherry #Gym #PoliceSearch #DrugSales #CrimeStory #ZeeTamilNews | ZEE Tamil News • In Chennai Metro Phase 3 Project - Rs. 3,858 crore cut - What is the reason? #ZeeTamilNews #ChennaiMetro #MetroRail #ChennaiMetroPhase3 #MetroPhase3 #ChennaiNews #TamilNaduNews #CMRL #MetroUpdate #MetroProject #Metro #ChennaiMetro #ChennaiDevelopment | ZEE Tamil News • 25 Sri Lankan government officials travel to New Delhi! - Global Tamil News • Vrushakarma Review: Naga Chaitanya Starrer Vrushakarma What's Up?.. Blue Shirt Maran Review! • Tamil Nadu announces Rs 75,000 subsidy for electric auto purchases • British student jailed for life in 'Dexter'-style murder - Athirvu News • 3-year e-tender notification for Tasmac bars in 38 districts across Tamil Nadu - Athirvu News
Politics TN Politics

5 prompts that fixed my local LLM before I ever downloaded a bigger model

Source: XDA Developers • 1h ago • 👁 0 visitors • Original Source ↗
🔍 Text Zoom: 100% · Tap photo to zoom
5 prompts that fixed my local LLM before I ever downloaded a bigger model
AI News Brief

I used to instinctively reach for a bigger model whenever a local LLM gave me a bad answer. If the 9B model fumbled the question, surely the 26B version would do better. That was my thought process at the time, and it was consistently proven wrong.

I used to instinctively reach for a bigger model whenever a local LLM gave me a bad answer. If the 9B model fumbled the question, surely the 26B version would do better. That was my thought process at the time, and it was consistently proven wrong.

It's so easy to download a bigger model. Even easier than taking the time to write a more thorough prompt. So, that's what I'd do. And the bigger model would usually give me about the same answer, only better written.

Without a doubt, sometimes a bigger model is the answer. But more often than not, the better solution is to simply get better at prompting. Here are the five prompts I resort to before giving up and moving to a bigger model.

My website is a single Node app behind an Nginx reverse proxy on an Ubuntu server. I need help configuring it from the terminal.

If I had to recommend only one way to tune a prompt to get better responses, it's to add context. The LLM only really knows what you tell it. The more you can say about your environment and what kind of tools you're working with, the better advice you'll get.

Without enough context, the LLM will make assumptions about your setup and situation. Even the most robust model isn't going to improve the response. A single sentence will go a long way, but responses get even better with more context.

Give me an answer to my question first, then explain it afterward.

I hate glancing back at the chat to check the model's response and seeing a giant wall of text. It's all too common that I have to sift through the whole reply to find the only pertinent sentence I actually needed.

Having the model lead with the answer means I know right where to look for the relevant part. If I feel that further elaboration is beneficial, then I can keep reading. If not, I can glean the answer in a few seconds and move on.

For non-trivial tasks, ask up to three clarifying questions before answering. Answer simple questions directly.

Sometimes, it's hard to think of all the context a model might expect to tailor a response. Allowing it to ask clarifying questions gives it a chance to gather additional information about the task and give a more helpful reply.

It's especially important on complex tasks with multiple steps, or on jobs where things need to be approached a particular way. Reminding it to ask follow-up questions only when necessary is an important caveat, or it'll get annoyed quickly on basic prompts.

If you aren't sure about an answer, say so. State your assumptions and say how certain you are of them.

There's a recurring weakness with local LLMs and AI in general where it'll sometimes give an outright incorrect answer with the utmost confidence. Seeing that level of confidence in the response is pretty convincing, even if you know that what it's saying can't be right.

Instead of leaving your LLM feeling like it has to give an acceptable answer, give it a simple out. I have my models specify when an answer is an assumption, and estimate how certain they are of that assumption being correct.

If a task needs more reasoning power than you're capable of providing, say so instead of attempting it.

A bigger model isn't always the fix. But sometimes it is. Using this prompt lets the LLM help you identify when a bigger model is actually justified. If the smaller model can't reliably complete the task given its limitations, it'll let you know.

This isn't foolproof, but in my experience, it's better to have the model concede than to try and fail. If the bigger model can't tackle it either, then your prompt needs tweaking, or it's time to resort to a cloud model.

All of these prompts are worth trying on a smaller model before pulling the trigger on a bigger one. On Ollama, you can add them all to a Modelfile's SYSTEM block, then run ollama create my-assistant -f Modelfile to get them permanently baked in.

If the LLM still fails after these five prompts, it's safe to conclude it's time to upgrade. For me, though, the biggest upgrade to my local LLMs came from my own prompts. Once I began providing more context, answering clarifying questions, and giving models a way to admit when they don't know the answer, I started getting responses that were immensely more useful.

Reported by XDA Developers Read Original Article ↗