Vitor Beltrão·Jun 24What Happens Between Your Prompt and the LLM Response?As the Transformers documentation says:
Vitor Beltrão·Jun 15Introduction to Diffusion Models with HuggingFace: Generating Images in a Few Lines of CodeDiffusion models are a type of generative AI that create data like images or audio by starting from random noise and gradually refining it…
Vitor Beltrão·May 4Adversarial conversation between ChatbotsIn the last article, we learned how to use OpenAI’s API completions to make requests from various LLMs, both from OpenAI itself and from…
Vitor Beltrão·Mar 20PDF Summarizer: How to use all frontier and open-source models using the completions APINowadays, we use APIs for connecting with the strongest LLMs available. The companies behind these LLMs, such as OpenAI, Anthropic, Google…
Vitor Beltrão·Mar 7How do I run my LLM locally?Here we will use Ollama, an open-source tool that allows anyone to download and run powerful models directly from their computer.
Vitor Beltrão·Jul 30, 2025Understanding the Variance Inflation FactorIn regression analysis, we know that assumptions must be met. Otherwise, the results may be misleading and/or underperform.
Vitor Beltrão·Jan 16, 2025Model CalibrationAssuming that the model gave a probability of 10% to 40% for some instance of the data set. How do you know how good/reliable these…
Vitor Beltrão·Jan 2, 2025Classificador naive BayesSe P(y1 | X) > P(y2 | X), então classifique X ∈ y1.
Vitor Beltrão·Dec 27, 2024Estimativa de máxima verossimilhançaEm estatística e machine learning, usamos um modelo (uma maneira matemática) para descrever o processo que resulta nos dados que são…
Vitor Beltrão·Jul 16, 2024Applied stats: Geometric probability distributionGeometric distribution: theory