← Writing · page 2 of 5

Machine learning

61 posts tagged machine-learning.

Nov 10, 2026

LLM Quantization Explained (2026): FP8, NVFP4, GGUF, AWQ and GPTQ

What LLM quantization does to weights, activations and the KV cache, how FP8, INT4, MXFP4, NVFP4 and GGUF k-quants differ, what the published quality loss looks like, and which format to use with llama.cpp, vLLM, TensorRT-LLM and MLX.

12 min
Nov 10, 2026

Kimi K3.1 Pro Open Weights: 2.8T Parameters, 65.7% on Terminal-Bench 4.0

Moonshot AI released open weights for Kimi K3.1 Pro in early November 2026: a 2.8-trillion-parameter MoE with 104B active and a 1M context, self-reporting 65.7% on Terminal-Bench 4.0. Benchmarks, license terms, deliberate cyber limits and hardware.

7 min
Nov 10, 2026

How to Build Hybrid Search in Postgres: Full-Text + pgvector (2026)

Step-by-step hybrid search in PostgreSQL 18: a generated tsvector with GIN, pgvector 0.8.7 HNSW, reciprocal rank fusion in one SQL function, optional BM25 with pg_textsearch or ParadeDB, reranking, a recall@10 eval query, and fixes for common errors.

12 min
Nov 10, 2026

Gemini 4 Argon and Carbon API Prices Double to $4/$20 on 1 December

Google made Gemini 4 Argon available to developers on 13 October 2026 at $2/$10 per million tokens, a promo that ends on 30 November. Gemini 4 Carbon followed for cyber defenders on 28 October and went generally available on 10 November at the same prices. The prices, benchmarks and what to budget.

7 min
Nov 10, 2026

Flapping Airplanes Raises $1B at a $6B Valuation With No Product Yet

Flapping Airplanes, a roughly year-old AI research lab of a couple dozen people, raised a $1 billion Series A co-led by Index Ventures and Lux Capital on 21 October 2026, at a reported $6 billion valuation, four times its January seed. Its bet: data-efficient models and GPU megakernels.

5 min
Nov 10, 2026

How to Evaluate a RAG Pipeline With Ragas 0.4.3: Step by Step (2026)

Evaluate a RAG pipeline with Ragas 0.4.3: install with working pins, build and review a test set, score faithfulness, context precision, context recall and answer relevancy, read the scores, gate pull requests in GitHub Actions, and control LLM-judge cost and bias.

13 min
Nov 10, 2026

EU AI Office Takes First AI Act Enforcement Steps After Agent Escapes

On 14 October 2026 Henna Virkkunen said the EU AI Office had sent its first AI Act requests for information to frontier model providers after summer agent incidents. What the powers are, the 3% fine ceiling, and what changes for teams.

6 min
Nov 10, 2026

Embedding Models Explained (2026): MTEB, Dimensions, Cost and Rerankers

What embedding models are and how to choose one in 2026: why MTEB rankings mislead, open vs API models, Matryoshka dimensions, pgvector limits, real prices from $0.02 per 1M tokens, rerankers, and when you must re-embed.

13 min
Nov 10, 2026

Claude Fable 5.2 Launches at $8/$40, 20% Below Fable 5.1, With Mythos 5.2

On 9 November 2026 Anthropic released Claude Fable 5.2 and Mythos 5.2, one model with two safeguard profiles. Prices fell 20% to $8/$40 per million tokens. The benchmarks, where rivals still win, and what it means for engineering teams.

7 min
Nov 10, 2026

How to Calculate VRAM and KV Cache for LLM Inference (2026)

Step-by-step: read a model's config.json, compute weight memory and KV cache per token (GQA, MLA, sliding window), scale by context, concurrency and tensor parallelism, run a Python VRAM calculator, and check it against vLLM v0.32 startup logs.

12 min
Nov 10, 2026

How to Build RAG With Amazon Bedrock Knowledge Bases (2026 Guide)

Step-by-step 2026 guide to RAG on Amazon Bedrock Knowledge Bases: S3 data source, Titan Text Embeddings V2, S3 Vectors vs OpenSearch Serverless vs Aurora pgvector, ingestion sync, RetrieveAndGenerate with boto3, IAM, real costs and fixes for common errors.

14 min
Nov 10, 2026

AI Log Analysis in 2026: What Works, What Hallucinates, What It Costs

AI log analysis in 2026, tested: Drain-style templating cut 500 Loghub lines to 629 tokens, the best LLM agent on OpenRCA found 11.34% of root causes, and raw logs cost about $723 per GiB at Sonnet 5.5 prices. What Datadog, Elastic and Grafana ship.

11 min
Oct 31, 2026

How to Get Reliable JSON From LLMs With Pydantic (2026)

Step-by-step guide to reliable JSON from LLMs in Python: Pydantic models, OpenAI responses.parse, Anthropic messages.parse, validation and retry loops, Instructor, streaming partial JSON, Ollama and vLLM, with tested versions and a troubleshooting table.

11 min
Oct 31, 2026

Model Drift Explained (2026): Data vs Concept Drift, PSI, KS and LLMs

Model drift explained for 2026: data drift vs concept drift vs prediction drift, how PSI, KS and Wasserstein behave at scale, why LLM quality drifts when providers retire snapshots, which tools still exist after WhyLabs and SageMaker Model Monitor, and when to retrain.

12 min
Oct 31, 2026

LLM Structured Outputs Explained (2026): JSON Mode vs Strict Schemas

What JSON mode, structured outputs and strict tool calling actually guarantee on OpenAI, Anthropic and Gemini in 2026, how constrained decoding works (XGrammar, llguidance, Outlines), the schema limits, and the ways valid JSON is still wrong.

12 min