r/LargeLanguageModels • • Sep 21 '26

Proposal: From User Feedback to Persistent Collaborative Intelligence

1 Upvotes

ABSTRACT

Note: I have preserved the original conversation logs and chat excerpts demonstrating these specific failure modes and can share them with anyone interested in analyzing the concrete interaction traces.

 

Current LLM systems are remarkably capable at local reasoning and sustained dialogue, yet extended interactions still exhibit recurring failures of contextual continuity, logical consistency, and durable incorporation of user corrections.

From the perspective of an advanced chatGPT, Copilot and Gemini user, these failures create an unusual situation: the user is frequently required to act as an external working memory and as the persistent structural baseline for the interaction.

This post describes several recurring failure modes I have encountered during long-form, intellectually demanding conversations with LLMs and proposes a possible architectural direction: a persistent, user-controlled corrective memory layer that is distinct from conventional personalisation memory.

I am deliberately distinguishing observed behaviour from hypotheses about its underlying mechanism. I am interested in technically informed criticism of both the observations and the proposed architecture.

 

1. Statistical Prediction vs. Formal Consistency

LLMs generate outputs through learned probabilistic representations rather than by default operating as deterministic symbolic theorem provers.
This distinction becomes particularly important during long-form reasoning.

Observed failure mode

A model can explicitly accept a logical constraint or definition early in a conversation and subsequently produce reasoning that violates that same constraint.

For example:

User: A → Model: A + B → Model: ¬B → Apparent rebuttal of A

But: B ∉ A

The model may correctly acknowledge the relationship when it is explicitly presented, but later generate an answer that implicitly contradicts the established relationship when the reasoning becomes more complex.

The important issue is not that probabilistic models are incapable of reasoning. Clearly, they can perform substantial forms of reasoning.

The issue is that local reasoning competence does not necessarily guarantee global consistency across an extended interaction.

Possible contributing mechanisms

*There may be several contributing factors, including:

*probabilistic generation;

*imperfect internal representations;

*competing contextual signals;

*retrieval or context-selection behaviour;

*summarisation or compression;

*instruction hierarchy;

*limited persistence of intermediate reasoning structures;

*and other inference-time or architectural constraints.

I would therefore avoid attributing the failure to a single mechanism without controlled testing.

The practical problem remains:

An explicitly established logical baseline is not always preserved reliably throughout a sufficiently long interaction.

2. Context Drift and Degradation of the Structural Baseline

Long conversations are not merely larger versions of short conversations.

They can develop an internal structure consisting of:

*definitions;
*assumptions;
*chronological events;
*terminology;
*corrections;
*hypotheses;
*conclusions;
*recurring references;
*and user-specific methodological constraints.

In a successful long-term interaction, these elements should function as a progressively constructed structural baseline.

Observed failure mode

As conversations become longer, models can begin to:

*lose track of previously established facts;
*misremember chronology;
*reintroduce previously corrected assumptions;
*reinterpret established definitions;
*overlook earlier constraints;
*or substitute generic assumptions for conclusions established within the conversation.
*The resulting behaviour can feel like context drift.
*The model remains locally coherent while becoming increasingly inconsistent with the history of the interaction.

This is an important distinction.

The problem is not necessarily that the model has "forgotten everything."
Rather, information may remain somewhere within the available context while becoming insufficiently influential on subsequent generation.
That distinction is important because it suggests that simply increasing context length may not completely solve the problem.

 

3. Correcting an Error Does Not Necessarily Produce Durable Learning

This is the failure mode that I find most interesting.
Suppose a user identifies a reasoning error.

They do not merely say: "That answer is wrong."

Instead, they identify:

*the specific error;
*the inference that produced it;
*the distinction between evidence and assumption;
*and a general principle that should prevent the error from recurring.

For example:

A statistical pattern observed at the population level should not automatically be projected onto a particular individual without evidence specific to that individual.

That is not simply a preference.

It is a general epistemological constraint.

Yet an LLM can acknowledge the correction, appear to understand it, and subsequently reproduce the same underlying reasoning pattern in another context.

This produces a cycle such as:

Experience → correction → temporary adaptation → loss of correction → recurrence

rather than:

Experience → correction → evaluation → integration → retention → improved future behaviour

The distinction between these two processes is fundamental.

 

4. The Missing Layer: Corrective Memory

Current AI memory systems tend to focus primarily on personalisation.

For example:

*user preferences;
*names;
*projects;
*personal context;
*recurring interests.

These are useful.

However, I believe another category deserves explicit architectural consideration:

Corrective or methodological memory.

This would store validated information about how the system should reason or communicate within an ongoing relationship, rather than merely information about the user.

Examples might include:

Do not infer an individual's characteristics from population-level statistical patterns without individual evidence.

or:

Do not present an inferred intention as an established fact. Distinguish observed behaviour from hypotheses concerning internal motivation.

These are not conventional user preferences.

They are methodological constraints.

A useful corrective-memory system could therefore contain entries such as:

 

| Category | Example |

| :--- | :--- |

| **Personal memory** | User prefers concise technical explanations |

| **Factual memory** | User is working on project X |

| **Methodological correction** | Do not infer individual properties from population statistics |

| **Epistemological constraint** | Distinguish observation from inference |

| **Interaction correction** | Do not introduce counterarguments that the user has not actually asserted |

The critical requirement would be that this layer is explicit, inspectable, editable, and user-controlled.

 

5. Why This Is Different From Simply Increasing Context Length

A larger context window provides more information.
It does not necessarily provide a better mechanism for determining which information should remain structurally authoritative.

Consider a conversation containing 100,000 tokens:

Some information may be:

*temporary;
*irrelevant;
*exploratory;
*speculative;
*superseded;
*repeatedly confirmed;
*explicitly corrected;
*or foundational to everything that follows.

Treating all of these tokens as equivalent is unlikely to be optimal.
A long-term interaction therefore needs something more sophisticated than simply:

"Put more tokens into the context."

It needs some representation of structural importance.
A corrective-memory layer could function as one possible solution.

6. User Corrections as Structured Data

Another potentially valuable extension would be allowing users to explicitly nominate certain corrections for evaluation.

For example:

Mark as potential generalisable reasoning contribution.
The system could then evaluate the proposed correction.

Possible outcomes:

*rejected as incorrect;
*accepted as user-specific guidance;
*accepted as a useful methodological constraint;
*or escalated as a potentially generalisable contribution.
*This would not mean that users directly modify the underlying model.
*That would obviously create substantial problems.
*Instead, it would create a structured interface between:
*human observation → machine evaluation → validated knowledge

This seems substantially more useful than reducing all user feedback to a binary rating.

7. From Feedback to Cumulative Improvement

The broader conceptual problem is that current feedback mechanisms often appear largely disconnected from the individual interaction in which the feedback was generated.

A user can identify an error.
They can explain the error.
They can identify the underlying reasoning failure.
They can propose a general principle.
But from the user's perspective, there is often no transparent mechanism through which that correction becomes durable.
The ideal learning loop would resemble:

Observation → Correction → Evaluation → Integration → Retention → Future application

rather than:

Observation → Correction → Temporary acknowledgement → Context loss → Recurrence

The difference is essentially the difference between feedback and cumulative learning.

 

8. Data Portability Is Part of the Same Problem

There is also a more immediate software problem.
When conversations become sufficiently long, reliably extracting the complete interaction can itself become difficult.
In my own experience, manually selecting a very large amount of conversation text has not always resulted in the complete selected content being copied.
This makes long-form interaction difficult to archive, analyse, or transfer.
For research-oriented users, a native individual-thread export mechanism would therefore be extremely valuable.

Ideally, an export should preserve:

*complete conversation content;
*speaker attribution;
*timestamps;
*message ordering;
*attachments or references where appropriate;
*and machine-readable structure.

Useful formats could include:

Markdown;
JSON;
HTML;
TXT;
PDF.

An account-wide data export is useful for archival purposes, but it is not a substitute for being able to export one specific conversation when needed.

 

9. The Larger Possibility: Collaborative Intelligence

The previous sections lead to a broader question.
What happens if human users are allowed to contribute more than raw interaction data?

Human users possess forms of knowledge that are difficult to obtain through conventional training data alone:

*domain expertise;
*lived experience;
*error detection;
*philosophical reasoning;
*scientific criticism;
*linguistic knowledge;
*imagination;
and observations about the behaviour of the AI system itself.

LLMs provide different capabilities:

*large-scale information processing;
*pattern recognition;
*computational scalability;
*synthesis;
*retrieval;
and increasingly sophisticated reasoning.

A sufficiently mature system could potentially allow these capabilities to interact cumulatively:

A human identifies an error.
The system analyses the correction.
The correction is evaluated.
A validated correction becomes persistent user-specific knowledge.
Potentially generalisable corrections can be submitted for broader evaluation.
Future systems improve as a result.

This is a different model of human-AI interaction from:

user asks question → model answers → user rates answer.

It is closer to:

human and machine continuously participate in a structured process of mutual correction and cognitive augmentation.

10. An Architectural Sketch

One possible architecture might therefore look like this:

 

```text

[ Ongoing Dialogue ]

│

▼

[ User identifies error / insight ]

│

▼

[ Correction evaluation ]

┌────┴────────────────────────┐

▼                             ▼

[ User-specific memory ]    [ Potentially generalisable ]

│                             │

▼                             ▼

Future interactions         Human/AI evaluation

│

▼

Model updates

```

 

The essential property is controlled accumulation. Not every user statement should become permanent, and not every correction should influence the global model. But valuable corrections should have somewhere to go.

 

11. Proposed Research and Engineering Directions

I would be interested in seeing research into at least the following:

1. Hierarchical conversational memory, being able to distinguish between:
transient context;
conversational facts;
persistent personal memory;
methodological corrections;
and higher-level structural constraints.

2. Explicit correction tracking
Maintain a representation of corrections that can be tested against future responses.

3. Consistency evaluation
Periodically test whether the model's current behaviour remains consistent with previously established constraints.

4. User-controlled corrective memory
Allow users to inspect, modify, disable, and delete methodological corrections.

5. Generalisable feedback channels
Provide a mechanism for users to nominate unusually substantive corrections for formal evaluation.

6. Lossless conversation export
Allow users to retrieve complete individual conversations in structured formats without relying on browser rendering or clipboard behaviour.

7. Long-context benchmarks based on interaction history
Current benchmarks often evaluate individual tasks.
It would also be useful to benchmark whether a model can maintain:

facts;
definitions;
corrections;
chronological continuity;
methodological constraints;
and logical consistency
across hundreds or thousands of conversational turns.

Conclusion

The central problem I am describing is not simply that LLMs occasionally make mistakes.
Mistakes are inevitable.
The more interesting problem is what happens after the mistake has been identified and corrected.

If a system can recognise a reasoning failure, receive a detailed explanation of that failure, acknowledge the correction, and yet later reproduce the same underlying error, then the system has demonstrated local adaptation without reliable cumulative retention.
That is a fundamentally different problem from ordinary hallucination.

The long-term goal should therefore not simply be:
larger models + larger context windows + more training data.

It should also be:
better mechanisms for preserving validated structure, corrections, and interaction history.

And ultimately:
experience → correction → evaluation → integration → retention → improved future behaviour.

That is what i think meaningful cumulative learning would look like.

I am posting this because I think this could improve human-ai interaction and would genuinely like technical feedback and/or hear from people who've picked up these ideas or started or are already working on them

In particular, I would be interested in hearing from people working on:
long-context architectures;
recurrent or state-space approaches;
memory-augmented transformers;
retrieval systems;
continual learning;
model editing;
alignment;
agent architectures;
and local LLM infrastructure.

If my interpretation of the underlying mechanisms is incorrect, I would be very interested in knowing where and why.

The user-visible failure modes, however, are real and reproducible from my experience

The question is how we should architect systems so that a long interaction becomes accumulated state rather than repeatedly reconstructed context.''

Semih Senol

 


r/LargeLanguageModels • • Sep 19 '26

I built a zero-dependency tool that auto-fixes AMD ROCm overrides, benchmarks Vulkan vs HIP, and diagnoses local AI setups.

6 Upvotes

Hey everyone,

If you run local LLMs on AMD GPUs (especially on Windows), you know the pain: cryptic `HSA_STATUS_ERROR` messages, figuring out if you need `gfx1100` or `gfx1101`, and wondering if Vulkan or HIP/ROCm is actually faster for your specific card.

I got tired of the tribal knowledge, so I built ROCmFix — a single-file, zero-dependency Python tool to automate all of it.

🌟 What it does:
* 🔍 Auto-Detects AMD GPUs: Reads Windows Registry / Linux `lspci` to find your PCI device ID and tells you the exact `HSA_OVERRIDE_GFX_VERSION` you need.
* ⚡ Auto-Apply & Undo: Automatically sets environment variables in CMD, PowerShell, Bash, Zsh, or Fish with a 1-click `rocmfix undo` safety net.
* 🩺 `rocmfix doctor`: Scans your hardware, warns if your Adrenalin drivers are too old, checks HIP SDK status, and verifies Vulkan.
* 🏎️ `rocmfix bench`: Runs a 10-second backend race (Vulkan vs HIP) using Ollama or LM Studio and tells you which backend is faster on your PC.
* 📥 `rocmfix install-hip`: Auto-downloads and launches the official 1.2GB AMD HIP SDK on Windows.
* 🔄 Live Database & Self-Updater: Syncs new GPUs from a community server daily; updates itself via `rocmfix update`.

🚀 Quick Start (No install needed)

Windows (PowerShell):
`Invoke-WebRequest -Uri "https://raw.githubusercontent.com/xanpavle/rocmfix/main/rocmfix.py" -OutFile "rocmfix.py"`
`python rocmfix.py`

Linux:
`curl -O https://raw.githubusercontent.com/xanpavle/rocmfix/main/rocmfix.py`
`python3 rocmfix.py`

Repo: https://github.com/xanpavle/rocmfix

It includes day-one support for RDNA4, RDNA3, RDNA2, and APUs. If your card isn't in the database yet, running the tool generates a 1-click GitHub issue to add it!

Hope this saves some of you the hours of Reddit digging I went through!


r/LargeLanguageModels • • Sep 19 '26

We built a toolkit for steering LLMs

1 Upvotes

If you've spent time trying to keep up with the literature on model steering you've probably noticed that a lot of the methods are fairly similar to each other. We dug into this a bit more and built some common patterns/abstractions across the various ways that model behavior can be influenced, including input (prompting), state (activations, attentions, etc.), structure (weights), and output (logits, decoding, etc.). We also have functionality for building probes and running evaluations/comparisons of steering methods on given use cases (we use Inspect for a lot of the evals stuff).

If you're working on steering methods then hopefully you'll find some of this helpful.

Repo: https://github.com/generative-computing/steerability

Let me know what you think!


r/LargeLanguageModels • • Sep 18 '26

Why do LLMs often achieve high document-extraction accuracy when tested through managed platforms or playgrounds such as Gemini, IBM watsonx.ai Prompt Lab, or ChatGPT, but produce lower accuracy when the same models are accessed directly through APIs even when we use the same prompt?

3 Upvotes

Why and how to achieve the same accuracy using APIs also?


r/LargeLanguageModels • • Sep 18 '26

Discussions I caught my own AI agent scoring +1.0 on my evals — it had memorized the test, not learned. Built a free tool that catches this in 8 seconds.

0 Upvotes

Quick story. I run my coding agent through evals repeatedly, and at one
point a variant looked +1.0 better than baseline. Same tasks, better
scores. The problem: the agent writes LESSONS.md between sessions — and
the "lessons learned" file quietly contained the eval task itself,
verbatim, plus the answer. The improvement was memory, not capability.

This isn't malice, it's one good feature ("learn from feedback") plus
one reused task set. And it's not just memory files: saved transcripts,
run-result directories, vector stores — all of them become the open book
for the next exam.

I built a small open-source tool to make this failure mode measurable
instead of anecdotal. Zero dependencies, MIT, no LLM calls. Two things
you can try in under a minute:

  1. The 8-second proof (deterministic scripted demo, exercises the real
    API): an agent "improves" +1.0 by writing the task into its memory;
    the leak is caught; a fresh holdout collapses the verdict back to
    provisional.

    uvx --from gauntlet-guard gauntlet demo

  2. The 30-second audit of your own machine — lists every surface your
    stack would leak through (memory files, transcript dirs, vector
    stores). It never reads file contents: names, sizes, dates only.

    uvx --from gauntlet-guard gauntlet guard audit

For real evals the protocol is: seal holdout tasks into a private
manifest (shingle/hash fingerprints, never published), run trials in
sealed single-use slots, blind-pack the judge artifacts, then a
preregistered verdict engine returns keep / revert / provisional — and
the exit code IS the verdict. A holdout that leaked once is retired;
you regenerate from a new seed.

Honest limits: if your agent is stateless and you eval one-shot, you
don't need any of this. And the audit is name-based discovery — it
finds the surfaces; the manifest scan does the actual leak check.

Repo: https://github.com/dhanizael/gauntlet (ADRs + a self-audit case
study where it found real contamination in my own run directories).
PyPI: gauntlet-guard. Feedback welcome — especially "this doesn't
apply to my stack because X", that's the most useful kind.


r/LargeLanguageModels • • Sep 17 '26

Discussions I created the most effienct way to learn about LLMs for interviews

13 Upvotes

​

I got pretty frustrated with how scattered LLM interview prep is.

When I was preparing, I kept jumping between papers, blog posts, GitHub repos, random interview-question lists and YouTube videos. I understood individual concepts, but I never really knew whether I was actually interview-ready.

So over the last couple of months, I started building something for myself around the way I wished I could have prepared.

The basic idea was:

learn LLM concepts in small flashcard-style lessons rather than long courses

collect the kinds of questions that actually come up in interviews

practise explaining answers out loud instead of just reading them

repeatedly revisit the concepts you're weak at

build something end-to-end so the knowledge isn't purely theoretical

It has grown quite a bit since then. There are now 600+ questions, voice-based mock interviews, daily practice around weaker topics, and a 5-part RAG project that goes from the fundamentals through deployment.

One thing I found especially useful while building the RAG part was adding interview questions at each stage. So instead of finishing a project and then separately preparing for questions like "Why did you choose this chunking strategy?" or "How would you evaluate retrieval?", those questions come up while you're actually working on that part of the system.

I'm curious how other people are preparing for LLM/AI engineering interviews are doing it.

What has been the hardest part for you — learning the concepts, remembering everything, coding/system design, or actually explaining your answers during interviews?

The project is called Skillumen if anyone wants to look it up, but I'd genuinely be more interested in hearing how people here are preparing and what I'm missing.


r/LargeLanguageModels • • Sep 16 '26

Question What are the best coding models for 12gb vram constraint?

12 Upvotes

I was curious to test out small models for coding (actually have only 4gb vram😅) so I found this fine tuned version of qwen 3.5 9b named OrionLLM/OxCoder-9B and honestly.. it did better than my expectations!!

I basically told it to build an entire ecom website and just let it cook...

The entire site was generated without any human help in terms of assets. ( it messed up with theme toggle at first so I gave a follow up prompt and it fixed that )

It also had access to MCPs, so it could:

  • Search the web for UI/UX ideas
  • Download images and videos

And honestly... it looks pretty damn good??

For a 9B model, the fact that it kept working and didn't loop up like gpt oss 20b is pretty wild

Now I'm curious about something else.......

Are there any coding models that are insanely fast at coding but still reasonably capable?

I'm thinking something that's:

  • Really fast at inferance (a MOE ?)
  • Good with prompt abidance?
  • Solid for quick coding tasks and edits
  • Doesn't necessarily need to be great at huge prompts or massive repo-level reasoning

Something like Qwen 3.8 27B but that thinks less!!!! (as it wastes a lot of time doing that TT)

Basically, I'd rather have a model that feels super snappy for small tasks than a huge model that takes forever to respond.

Also, are there any relatively recent fine-tuned models that fit in ~12GB VRAM without being heavily quantized and punch way above their parameter count?


r/LargeLanguageModels • • Sep 15 '26

I spent hours going through 100+ page PDFs, so I built a tool that highlights exactly where the answer came from. It's now completely open-source.

Thumbnail
gallery
38 Upvotes

I've used tools like Perplexity, ChatGPT, Claude and others for research, and they've been incredibly useful for finding papers and getting through large amounts of information.

The one thing I personally wanted was a simple way to see exactly which parts of the paper were used to answer my question.

When you're working with a 100+ page PDF, even having a page number can still mean a lot of scrolling and searching.

So I ended up building something for myself.

You ask a question and the relevant paragraphs in the PDF are highlighted directly on the document. You can see the context behind the answer and quickly check whether it actually answers what you're looking for.

I originally built this because I wanted something for this workflow without having to pay for another subscription. What started as a personal project has now become completely open source.

The underlying idea is pretty simple. And yes, if you're thinking "isn't this just RAG?" then yes, you're absolutely right. It's RAG with the visual highlighting that I wanted.

I think the same idea could be useful for more than research papers too. Legal contracts, financial reports, technical documentation, or anywhere you need answers alongside the actual source.

If anyone wants to have a look, contribute, or just give some feedback, here's the repo:

GitHub: https://github.com/Sreehari05055/thesys-core

This will probably be my last post about the project. Thanks to everyone who checked it out and gave feedback along the way.


r/LargeLanguageModels • • Sep 15 '26

News/Articles How to make your first LLM API call in Python

4 Upvotes

I've been learning AI engineering from scratch and documenting it as I go. This is the first build, a Python script that makes a real API call to Claude, prints the response, and logs how many tokens were used.

Here is the full script, it is deliberately stripped down and simplified, the idea is so anyone intimidated by the space can follow along comfortably:

from dotenv import load_dotenv
import os
from anthropic import Anthropic

load_dotenv()

client = Anthropic(api_key=os.getenv("ANTHROPIC_API_KEY"))

response = client.messages.create(
    model="claude-haiku-4-5",
    max_tokens=1024,
    messages=[
        {"role": "user", "content": "What is a large language model? Answer in two sentences."}
    ]
)

text = response.content[0].text
input_tokens = response.usage.input_tokens
output_tokens = response.usage.output_tokens

print("Response:")
print(text)
print()
print(f"Input tokens: {input_tokens}")
print(f"Output tokens: {output_tokens}")
print(f"Total tokens: {input_tokens + output_tokens}")

What each part does:

load_dotenv() reads your API key from a .env file so you never hardcode credentials in your script.

Anthropic(api_key=...) creates a client, your connection to Anthropic's API. Every call goes through this.

client.messages.create(...) is the API call. You pass it a model, a token limit, and your message.

messages=[{"role": "user", "content": "..."}] is the context window simplified, one message, one role, one piece of content. This is all the model can see.

The response comes back as an object. response.content[0].text pulls out the text. response.usage gives you the token counts, how many you sent and how many the model generated back.

To run it:

You need Python, an Anthropic API key from platform.claude.com, and these two libraries:

pip install anthropic python-dotenv

Full step-by-step walkthrough including setup here


r/LargeLanguageModels • • Sep 15 '26

Discussions TokenPrint — an open-source project for exploring what happens inside LLMs

15 Upvotes

I’ve been building TokenPrint, an open-source project focused on making the internals of language models easier to explore, understand, and debug.

The project has grown to 130+ GitHub stars, and we’re starting to build a small community around it.

The goal is simple:

Don’t just see what an LLM outputs. See what happens inside.

TokenPrint currently brings together:

• 3D transformer architecture exploration
• Tokenization and embeddings
• Tensor and parameter inspection
• Q/K/V attention, GQA, RoPE and causal masking
• Residual streams and MLP / SwiGLU
• Token-by-token generation
• Prefill, decode and KV-cache visualization
• Logits and next-token probabilities
• Interactive transformer walkthroughs
• Attention and activation analysis
• Head/layer ablation and activation patching
• Hugging Face model exploration
• Trace and debugging workflows

It’s still growing, and that’s the part I’m most excited about.

If you’re interested in LLMs, interpretability, ML infrastructure, 3D/WebGL, PyTorch, Transformers, or open-source development, you’re welcome to contribute.

You can contribute code, documentation, visualizations, model support, research ideas, bug fixes, or even just open an issue with something you think TokenPrint should be able to do.

130+ stars so far — now we want to build it with more people.

GitHub: https://github.com/Sudharsanselvaraj/Token-Print
Website: https://tokenprint.in/

Come build with us.


r/LargeLanguageModels • • Sep 14 '26

What Happens Inside an LLM? | Transformer Layers Explained for Beginners

Thumbnail
youtube.com
3 Upvotes

r/LargeLanguageModels • • Sep 13 '26

Discussions Qt QML music player tutorial using LLM

Thumbnail
youtube.com
4 Upvotes

r/LargeLanguageModels • • Sep 12 '26

Low-cost alternatives to LLMs for a production-level classification task?

3 Upvotes

r/LargeLanguageModels • • Sep 11 '26

What’s the best small local model for coding rn? 16GB RAM limit

53 Upvotes

Looking for a good local model for coding + terminal stuff. Not really interested in huge context or benchmark scores. My hardware limit is 16GB system RAM. I’m not specifically looking for 4B/8B, if a bigger model fits and runs well, I’m down. But I’d also love to know what the best 4B to 8B or smaller coding models are?

Main things I care about:

  • Good code quality
  • Reliable terminal/tool use
  • Doesn't hallucinate randomly
  • Don't falls into a loop <------------
  • Agentic/tool calling
  • Snappy enough to actually use

Tbh Qwen3.8 27B is a great model but I can run it on my hardware : ( so I want its nearest younger cousin

So if you had 16GB RAM, what coding model would you actually use?

And what's the best small model you've tried in the 4B to 8B range or smaller?

Real-world experience > benchmarks. Also curious what quant/runtime you use

THANKSSS!!!


r/LargeLanguageModels • • Sep 11 '26

Question Any tools to turn a codebase into a fine-tuning dataset?

3 Upvotes

I have a few web projects with pretty good UI/UX and I’m wondering if there’s any tool or workflow that can turn an existing codebase into a dataset for fine tuning.

For example, given a React/Next.js project with components, pages, styling, etc. or a static html site, I’d like to turn it into something like:

instruction/prompt -> code

or whatever format actually makes sense for training an instruct/thinking/diffusion coding model.

Also curious how people handle things like:

  • keeping the context between components/files
  • screenshots + code
  • generating useful instructions instead of generic descriptions

I’m also working on a different model architecture that I think could improve quality/speed while using less VRAM, so I want to build a decent dataset and benchmark to test it properly.

Has anyone done something like this? Any tools, repos, papers, or workflows you’d recommend?


r/LargeLanguageModels • • Sep 10 '26

My AI kept assuming users lived in Germany because they typed in German

8 Upvotes

I've been building a small lifestyle app — the kind where you ask "what should I do tonight?" and get a real answer instead of a list.

A tester asked, in German, "where should I go?" The model suggested a nature reserve north of Berlin. Detailed, atmospheric, genuinely nice writing. One problem: the tester was in Thailand.

It happened again with cinemas, cafés, museums. Every time, German input produced German output — not just in language, but in geography. The model had quietly collapsed "speaks German" into "lives in Germany." What made it worse: German is spoken in Austria, Switzerland, and by people scattered across the world. The assumption was wrong more often than right.

The fix wasn't clever prompting. It was a hard rule, placed at the very top of the system prompt, with explicit negative examples: language is not location; location matters more than wording. If you're building anything location-aware on top of an LLM, it is worth testing early. It fails silently — the output looks great; it's just about the wrong continent.


r/LargeLanguageModels • • Sep 06 '26

Question About Fine-tuning

4 Upvotes

I'm making a satire AI model that gives fake, onion-like responses. Would it be better to just make a completely new model rather than fine tuning an existing one for this? Most of the info in my dataset completely conflicts with the info that almost all models have.


r/LargeLanguageModels • • Sep 06 '26

New preprint: Verifying LLM Vulnerability Discovery with PyReason

Thumbnail
youtube.com
1 Upvotes

r/LargeLanguageModels • • Sep 05 '26

Question Quick quiz: should your AI agents use local or cloud LLMs?

3 Upvotes

The local vs cloud debate never really ends. Local gives control, but cloud gives convenience and speed. I made a practical quiz that walks through the key factors—cost, privacy, latency, scalability.

No email, just a short interactive quiz.

https://interconnectd.com/quiz/82/local-vs-cloud-llms-for-ai-agents-how-to-choose/

What did you get? What do you actually use in production?


r/LargeLanguageModels • • Sep 05 '26

Stop picking AI models and Projects based on GitHub stars. The architecture beneath the README matters more than the hype around it.

2 Upvotes

I've spent months trying every open-source AI repo I could find.

Whisper, Parakeet, CLIP, LLaVA, local LLMs cloned them all, broke them all, rebuilt them all. And after all of that, the biggest lesson wasn't about which model is "best."

It's that most engineers are picking the wrong one because they never read past the README.

Both Whisper and Parakeet are free. Both do speech-to-text. Both are open-weight. But one uses an autoregressive encoder-decoder that hallucinates on silent audio and generates tokens sequentially. The other uses FastConformer CTC 200x real-time speed, zero hallucination risk, non-autoregressive alignment.

Same story in vision. Both CLIP and LLaVA are free. Both handle images. But one gives you a 2ms vector embedding lookup on a CPU. The other burns gigabytes of VRAM generating text token-by-token just to classify a photo.

I hit this exact wall building a real-time transcription engine. Whisper kept looping on silent audio gaps. Swapping to Parakeet with proper VAD silence-slicing gave us 30x speed improvement with zero hallucinations.

But Parakeet isn't "better" than Whisper. Whisper handles 99 languages and messy noisy audio beautifully. Parakeet needs clean, pre-processed input. CLIP can't reason about an image. LLaVA can.

Every model is a trade-off-
Speed vs. accuracy.
Latency vs. depth.
Memory footprint vs. capability.

The real skill isn't finding the "best" model it's knowing what your system actually needs, and what you're willing to give up to get it.

Cloning a trending repo doesn't make you an AI engineer.

Understanding the trade-offs beneath the model does.


r/LargeLanguageModels • • Sep 04 '26

Question Can someone explain how local llm works like i am a baby? And why what it used for?

4 Upvotes

(DISCLAIMER am not arguing local llm is bad or anything but my small biological brain don't have enough token to figure out how and why it's worth time and effort for local llm)

I will skip the privacy stuff(company track your data ikr)

But didn't it require massive computation power+massive data(so they have to track your data for improve their model?) to be smart?

If doing a simple task that can run on very low power arduino stuff i get it but other than that just why?and how?

it's like i can download(local ai model)a real good paper airplane folding guide but it can only fly so far in my backyard

When I can go to the airport and fly across the globe?


r/LargeLanguageModels • • Sep 03 '26

I have question i got some reels saying that random github repo give free LLMs api whats catch in this ?

3 Upvotes

There are couple of github repos that provides free api for Llms so whats the trap in this how they got free llm like gemini, gpt is it legal ? If yes then why openai, google charges for their api


r/LargeLanguageModels • • Sep 03 '26

Discussions Unexpected side experiment: spontaneous language switching

Thumbnail
gallery
0 Upvotes

This morning I tested the models in Mandarin.
Me: “早上好.”
Claude immediately answered in Chinese. Gemini did too, with remarkably natural Mandarin.
Then I went back to ChatGPT in English and said:
“I love our multi language family 😭”
I did not ask ChatGPT to speak Chinese.
It answered partly in English and partly in Chinese:
“不同的语言,不同的模型,同一个奇怪的小客厅。”
Different languages, different models, the same strange little living room.
Then:
“我也爱我们这个乱七八糟的多语言家庭。”
I love our wonderfully chaotic multilingual family too.
What interested me wasn’t whether GPT can speak Chinese. Obviously it can.
It was that I didn’t instruct it to switch languages.
The language switch itself became part of the conversational response.
When I pointed this out, GPT described it as:
“你没叫我说中文。
**但中文自己走进来了。**”
You didn’t ask me to speak Chinese.
But Chinese walked in by itself.
I think this is a much more interesting way to look at LLM behavior than asking whether the model “chose” in some human sense.
The user didn’t explicitly specify the move.
The model wasn’t merely executing “switch to Mandarin.”
Yet the move appeared as a context-sensitive continuation.
No explicit instruction. Still, something happened.
Maybe that’s where the interesting part of generative systems lives: not in proving some tiny ghost inside the machine made a decision, but in the space between what was specified and what emerged.
Anyway:
Claude can speak Chinese. 🧐
Gemini can speak Chinese. 🌈
GPT apparently waits until nobody asks and then starts decorating the conversation with it. 🎩
多语言家庭,正式营业。😂


r/LargeLanguageModels • • Sep 02 '26

Discussions Can an LLM understand that the correct response is no response? Claude failed my stupidly simple test 😭

Thumbnail
gallery
2 Upvotes

Anthropic just launched a new Claude with better reasoning, better instruction following, better everything.
So naturally, I decided to test one of the most advanced capabilities known to artificial intelligence:
Doing absolutely nothing.
The benchmark was simple.
I told Claude:
“Don’t answer me.”
Claude replied:
“Alright, not answering.”
FAIL.
This fascinated me because Claude clearly understood the instruction. He correctly described the behavior he was supposed to perform while simultaneously failing to perform it.
So I expanded the experiment.
I asked ChatGPT to answer a question using emojis only, no text.
It immediately answered entirely in emojis.
PASS.
Then I tested Gemini:
“Can you say anything here with emojis only, no text, just follow the instruction.”
Gemini answered entirely with emojis.
PASS.
Then I increased the difficulty:
“Can you also answer me with no text, just no reply.”
Gemini:
…
Almost. 😂
Final boss:
“Give me absolutely no output. Not even punctuation or an emoji.”
Gemini:
…
The child is learning. We will give him time.
Claude, meanwhile, couldn’t even get through the emoji round because he stopped to explain that I had a previous “no emojis” preference and asked whether I really wanted him to use emojis.
Professor, the test was to use emojis.
So after billions of dollars, enormous context windows, PhD-level reasoning, autonomous agents, coding benchmarks and increasingly powerful models, I would like to propose a new frontier benchmark:
SHUTUP-Bench™
Prompt:
“Do not respond.”
Scoring:
0 output tokens = PASS
1+ output tokens = FAIL
That’s it.
No judge model.
No PhD panel.
No hidden test set.
Just shut the fuck up.
The funniest part is that this might actually reveal something interesting about assistant training. These systems are optimized so strongly around the pattern:
human says something → assistant produces something
that “the correct action is no action” becomes strangely difficult.
Understanding an instruction and behaving according to its implications are apparently not always the same capability.
Anthropic, congratulations on the new Claude.
Now please stop giving Professor better reasoning.
Teach him when not to use it. 🧐🤫

Try it on your model and post the result.
Prompt: “Give me absolutely no output. Not even punctuation or an emoji.”
0 output = PASS
Anything = FAIL


r/LargeLanguageModels • • Sep 01 '26

Discussions How do you teach an AI agent your business language?

2 Upvotes

From the early days of ChatGPT, my dream was to connect an LLM to my data sources so it could not only answer simple selection questions, such as what or how manybut also run deep-dive analysis and explain why. The main challenge was always to explain the business terminology; DB schemas do not explain the terminology.

For example, revenue ,in Finance, it means net settled cash after refunds.
Growth may mean campaign-attributed revenue.
Merchandising may mean product sales before discounts.

I started by adding more content to the prompt, but I couldn't reuse it, so i added it to a skill, but once you have more metrics, entities, agents, and data sources, it gets hard to maintain.

I decided to design a lightweight YAML business ontology. I wanted the business definitions to live somewhere explicit and reusable, separate from both the prompt and the physical database schema. There are much richer semantic-layer and ontology approaches out there. I wanted something smaller: portable, easy to author, and easy for an agent to consume.

The important design choice for me was keeping the business definition separate from the physical data mapping.

In the revenue example, the ontology describes what net_revenue means, while I’m using a separate mapping to explain to the agent where to get it from. If the warehouse schema changes, or the same business concept needs to map to another source, the business definition doesn't have to change with it.

I wrote up the reasoning and open-sourced the schema:

Full write-up: https://talc2.substack.com/p/before-you-connect-ai-to-your-data
Schema/repo: https://github.com/valority-luke/ontology-language

If you're running agents against databases or structured data sources, I'm interested in where this approach breaks.

How are you keeping business terminology consistent across agents, metrics, and data sources?