# Rafa Ajuda AI > IA explicada com lastro técnico. Conceitos de modelos de linguagem em linguagem direta, sem depender de uma ferramenta. Cada artigo termina com uma ação que você pode verificar. AI explained with technical grounding. Language-model concepts in plain language, without locking you to a tool. Every article ends with a check you can run. Article, skill, and reference text is available in Portuguese (pt-BR) and English (en). Cite the URL for the language you are using. ## Pages - [Início](https://rafaajuda.ai/pt-BR/): Conceitos de modelos de linguagem em linguagem direta, sem depender de uma ferramenta. Cada artigo termina com uma ação que você pode verificar. - [Home](https://rafaajuda.ai/en/): Language-model concepts in plain language, without locking you to a tool. Every article ends with a check you can run. - [Artigos](https://rafaajuda.ai/pt-BR/articles/): Explicações curtas. Cada artigo responde uma pergunta inteira e termina com uma ação que você pode verificar. - [Articles](https://rafaajuda.ai/en/articles/): Short explanations. Each article answers one whole question and ends with a check you can run. - [Skills e artefatos](https://rafaajuda.ai/pt-BR/skills/): Material pronto para copiar, adaptar e reutilizar em qualquer ferramenta de IA. - [Skills and artifacts](https://rafaajuda.ai/en/skills/): Material you can copy, adapt, and reuse in any AI tool. - [Referências](https://rafaajuda.ai/pt-BR/references/): Links selecionados para aprender sobre IA. Cada item diz por que vale a leitura. - [References](https://rafaajuda.ai/en/references/): Selected links for learning about AI. Each item says why it is worth reading. - [Sobre](https://rafaajuda.ai/pt-BR/about/): Um lugar para aprender como modelos de linguagem funcionam, sem receita mágica e sem depender de uma ferramenta específica. - [About](https://rafaajuda.ai/en/about/): A place to learn how language models work, without a magic recipe and without depending on one tool. ## Articles - [Glossário de LLMs em português](https://rafaajuda.ai/pt-BR/articles/glossario-llms/): Termos técnicos explicados em uma frase, com o que cada um não explica. - [Por que a IA repete um erro que você já corrigiu?](https://rafaajuda.ai/pt-BR/articles/repete-um-erro/): Entenda o que a janela de contexto guarda e o que ela deixa de fora. - [Por que a IA erra contas simples?](https://rafaajuda.ai/pt-BR/articles/erra-contas-simples/): Veja como o texto é dividido antes de o modelo lê-lo, e por que isso afeta a conta. - [Tokens: por que o português ocupa mais espaço?](https://rafaajuda.ai/pt-BR/articles/tokens-portugues/): O que é um token e por que o idioma muda o quanto cabe em uma conversa. - [Como pedir fontes à IA sem aceitar referência inventada](https://rafaajuda.ai/pt-BR/articles/pedir-fontes/): Um passo a passo para conferir cada fato que a IA te entrega. - [Memória do produto não é memória do modelo](https://rafaajuda.ai/pt-BR/articles/memoria-do-produto/): Quando a IA parece lembrar de você, quem está lembrando de fato? - [Janela de contexto maior nem sempre dá resposta melhor](https://rafaajuda.ai/pt-BR/articles/janela-maior/): O que se sabe, e o que varia por modelo e por tarefa. - [LLM glossary in plain language](https://rafaajuda.ai/en/articles/glossario-llms/): Technical terms explained in one sentence, with what each one does not explain. - [Why does AI repeat a mistake you already corrected?](https://rafaajuda.ai/en/articles/repete-um-erro/): What the context window keeps, and what it leaves out. - [Why does AI get simple arithmetic wrong?](https://rafaajuda.ai/en/articles/erra-contas-simples/): How text is split before the model reads it, and why that changes the sum. - [Tokens: why does Portuguese take more space?](https://rafaajuda.ai/en/articles/tokens-portugues/): What a token is, and why the language changes how much fits in a conversation. - [How to ask AI for sources without accepting an invented reference](https://rafaajuda.ai/en/articles/pedir-fontes/): A step-by-step way to check each fact the AI hands you. - [Product memory is not model memory](https://rafaajuda.ai/en/articles/memoria-do-produto/): When AI seems to remember you, what is actually remembering? - [A larger context window does not always mean a better answer](https://rafaajuda.ai/en/articles/janela-maior/): What is known, and what varies by model and by task. ## Skills and artifacts Skills do not have separate pages. They live on the skills page. - [Checklist de conversa longa](https://rafaajuda.ai/pt-BR/skills/): Passo a passo para decidir quando abrir uma conversa nova e o que colar nela. - [Modelo de ficha de conceito](https://rafaajuda.ai/pt-BR/skills/): Template para transformar um conceito em pergunta, mecanismo, consequência e limite. - [Instruções para tarefas recorrentes](https://rafaajuda.ai/pt-BR/skills/): Modelo reutilizável para pedir sempre no mesmo formato. - [Revisor de simplificações](https://rafaajuda.ai/pt-BR/skills/): Aponta onde uma explicação simplificou a ponto de ficar tecnicamente errada. - [Verificador de fontes](https://rafaajuda.ai/pt-BR/skills/): Pede à IA os fatos citados e a fonte de cada um, e sinaliza o que ficou sem referência. - [Long-conversation checklist](https://rafaajuda.ai/en/skills/): A step-by-step way to decide when to open a new conversation and what to paste into it. - [Concept card template](https://rafaajuda.ai/en/skills/): A template that turns a concept into a question, a mechanism, a consequence, and a limit. - [Instructions for recurring tasks](https://rafaajuda.ai/en/skills/): A reusable template for asking in the same format every time. - [Simplification reviewer](https://rafaajuda.ai/en/skills/): Points out where an explanation simplified a mechanism until it became technically wrong. - [Source checker](https://rafaajuda.ai/en/skills/): Asks the AI for each cited fact and its source, and flags anything left without a reference. ## References - [Attention Is All You Need](https://arxiv.org/abs/1706.03762): O artigo que apresentou a arquitetura Transformer, base dos LLMs atuais. / The paper that introduced the Transformer architecture, the basis of current LLMs. - [Lost in the Middle: How Language Models Use Long Contexts](https://arxiv.org/abs/2307.03172): Estudo sobre como modelos recuperam pior informações que ficam no meio de contextos longos. / A study of how models retrieve information worse when it sits in the middle of long contexts. - [Prompt engineering overview](https://docs.claude.com/en/docs/build-with-claude/prompt-engineering/overview): Visão geral das técnicas de prompt na documentação da Anthropic. / An overview of prompt techniques in Anthropic's documentation. - [Intro to Large Language Models, Andrej Karpathy](https://www.youtube.com/watch?v=zjkBMFhNj_g): Introdução em vídeo sobre o que são LLMs, como são treinados e onde falham. / A video introduction to what LLMs are, how they are trained, and where they fail. - [Hugging Face LLM Course](https://huggingface.co/learn/llm-course): Curso gratuito sobre modelos de linguagem, com prática em código. / A free course on language models, with hands-on code. - [Tokenizer](https://platform.openai.com/tokenizer): Ferramenta para ver como um texto é dividido em tokens. / A tool for seeing how a text is split into tokens. - [Lost in the Middle (versão publicada no TACL)](https://aclanthology.org/2024.tacl-1.9/): Versão revisada e publicada do estudo sobre a posição da informação em contextos longos. / The revised, published version of the study on where information sits in long contexts. - [RULER: What's the Real Context Size of Your Long-Context Language Models?](https://arxiv.org/abs/2404.06654): Benchmark que mostra quedas de desempenho conforme o contexto cresce, mesmo em modelos que declaram contextos longos. / A benchmark that shows performance drops as context grows, even in models that claim long contexts. - [Tokenization counts: the impact of tokenization on arithmetic in frontier LLMs](https://arxiv.org/abs/2402.14903): Estudo sobre como a divisão de números em tokens afeta a aritmética dos modelos. / A study of how splitting numbers into tokens affects arithmetic in frontier LLMs. - [Language Model Tokenizers Introduce Unfairness Between Languages](https://arxiv.org/abs/2305.15425): Mede como o mesmo texto vira quantidades bem diferentes de tokens conforme o idioma. / Measures how the same text becomes very different token counts depending on the language. - [Do All Languages Cost the Same? Tokenization in the Era of Commercial Language Models](https://aclanthology.org/2023.emnlp-main.614/): Analisa custo e desempenho da API de um modelo comercial em 22 idiomas. / Analyzes the cost and performance of a commercial model's API across 22 languages. - [Survey of Hallucination in Natural Language Generation](https://dl.acm.org/doi/10.1145/3571730): Revisão da literatura que define e classifica alucinações em geração de texto. / A literature survey that defines and classifies hallucinations in text generation. - [Fabrication and errors in the bibliographic citations generated by ChatGPT](https://www.nature.com/articles/s41598-023-41032-5): Mede quantas citações geradas pelo ChatGPT em revisões de literatura eram inventadas ou tinham erros. / Measures how many citations ChatGPT produced in literature reviews were fabricated or contained errors. - [Context windows](https://platform.claude.com/docs/en/build-with-claude/context-windows): Como a janela de contexto funciona, o que conta nela e por que mais contexto não é automaticamente melhor. / How the context window works, what counts toward it, and why more context is not automatically better. - [Reduce hallucinations](https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/reduce-hallucinations): Técnicas para reduzir alucinações: permitir incerteza, citar trechos literais e verificar afirmações. / Techniques for reducing hallucinations: allow uncertainty, quote passages literally, and check claims. - [Token counting](https://platform.claude.com/docs/en/build-with-claude/token-counting): Como contar tokens de uma mensagem antes de enviá-la, e por que a contagem muda entre modelos. / How to count the tokens in a message before you send it, and why the count changes between models. - [Memory tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/memory-tool): Documenta a memória entre conversas como recurso da aplicação, fora do modelo. / Documents memory across conversations as an application feature, outside the model. - [Prompting best practices](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices): Guia de técnicas de prompt: clareza, exemplos, tags XML e contexto longo. / A guide to prompt techniques: clarity, examples, XML tags, and long context. - [Effective context engineering for AI agents](https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents): Texto de engenharia sobre tratar o contexto como recurso finito e por que ele se degrada. / An engineering essay on treating context as a finite resource and why it degrades. - [Use Claude's chat search and memory to build on previous context](https://support.claude.com/en/articles/11817273-use-claude-s-chat-search-and-memory-to-build-on-previous-context): Página de ajuda que descreve memória e busca em conversas no produto Claude. / A help page that describes memory and chat search in the Claude product. - [Anthropic's Prompt Engineering Interactive Tutorial](https://github.com/anthropics/prompt-eng-interactive-tutorial): Tutorial interativo em nove capítulos com exercícios sobre engenharia de prompts. / An interactive tutorial in nine chapters, with exercises on prompt engineering. - [Let's build the GPT Tokenizer, Andrej Karpathy](https://www.youtube.com/watch?v=zduSFxRajkE): Aula de mais de duas horas que constrói um tokenizador com Byte Pair Encoding do zero. / A lecture of more than two hours that builds a tokenizer with byte pair encoding from scratch. - [Glossary (Anthropic)](https://platform.claude.com/docs/en/about-claude/glossary): Definições curtas de termos como token, janela de contexto, RAG, RLHF e temperatura. / Short definitions of terms such as token, context window, RAG, RLHF, and temperature. - [Machine Learning Glossary (Google for Developers)](https://developers.google.com/machine-learning/glossary): Glossário amplo de aprendizado de máquina, incluindo termos de modelos de linguagem. / A broad machine-learning glossary, including language-model terms. ## Optional - [Política de dados](https://rafaajuda.ai/pt-BR/policies/): Como o Rafa Ajuda AI usa seu nome, seu e-mail e as outras informações da conta. - [Data policy](https://rafaajuda.ai/en/policies/): How Rafa Ajuda AI uses your name, your email, and the other information on your account. - [llms-full.txt](https://rafaajuda.ai/llms-full.txt): Longer summaries of the same public pages for models.