Speaker Notes

Gemini

Google's models and tools: Gemini CLI, AI Studio, Gemma.

1talk
9answers
0mainly about it
1new
DecJanFebMarAprMayJunJulAugSepOctNov

What your library answers 9

How do small language models compare to frontier models in cost and capability?

Small language models are significantly more cost-effective, running datasets at a fraction of the cost of frontier models. While frontier models handle complex tasks easily, small models can solve a substantial percentage of common tasks when properly guided.

Thumbnail: Agentic coding workflows with small models ▶ 1:28 Agentic coding workflows with small models

What are the primary reasons to choose a local small model over a cloud API?

Developers choose local models for data privacy, zero latency without round trips to servers, zero marginal cost during error loops, and offline access. These benefits make local execution ideal for sensitive code and disconnected environments.

Thumbnail: Agentic coding workflows with small models ▶ 6:18 Agentic coding workflows with small models

How does quantization reduce memory requirements for running models locally?

Quantization shrinks the precision of model weights, such as compressing a 16-bit floating-point model down to a 4-bit integer format. This dramatically reduces video RAM requirements so the model can fit on standard consumer hardware.

Thumbnail: Agentic coding workflows with small models ▶ 7:31 Agentic coding workflows with small models

What is speculative decoding and how does it speed up generation?

Speculative decoding uses a smaller drafter model to predict a few upcoming tokens ahead of time, which are then validated by the larger model. Because they share the same context cache, this technique achieves significant speedups without degrading output quality.

Thumbnail: Agentic coding workflows with small models ▶ 8:58 Agentic coding workflows with small models

Why is expanding the context window important for small model performance?

Small models can fail tasks if important files or logs are pushed out of memory by agent compaction. Increasing the context window ensures the model retains critical file information and significantly improves its success rate.

Thumbnail: Agentic coding workflows with small models ▶ 10:43 Agentic coding workflows with small models

How can developers evaluate whether a model configuration is ready for their tasks?

Developers can use a readiness framework that scores tasks based on reliability, latency thresholds, and RAM usage alongside the model and hardware configuration. Green scores indicate the setup is ready, while other colors suggest adjustments are needed.

Thumbnail: Agentic coding workflows with small models ▶ 12:10 Agentic coding workflows with small models

What types of coding tasks are small models best suited for?

Small models excel at small tasks like basic Compose layouts and medium tasks that require reading and writing just a few files. However, they struggle with long horizon tasks like massive migrations that span dozens of files.

Thumbnail: Agentic coding workflows with small models ▶ 20:22 Agentic coding workflows with small models

What adjustments can developers make to help small models succeed on tasks?

Developers can improve small model success by ensuring full context windows are enabled, using CLI tools for niche documentation, and adding verification hints for tests. Avoiding bloated system prompts also prevents performance degradation.

Thumbnail: Agentic coding workflows with small models ▶ 24:31 Agentic coding workflows with small models

How does model orchestration provide resilience and efficiency in workflows?

Orchestration allows developers to set up fallback models to prevent workflow blocks during provider outages or offline scenarios. It also enables cascading tasks, routing simpler jobs to smaller models and complex planning to frontier models for cost efficiency.

Thumbnail: Agentic coding workflows with small models ▶ 27:54 Agentic coding workflows with small models