Compress LLM weights using HQQ quantization, which stores weights with fewer bits without calibration datasets. Follow workflows for precision settings, model saving, inference integration, and LoRA fine-tuning of quantized models.
- Compressing LLMs without calibration datasets
- Serving quantized models with vLLM or HuggingFace Transformers
- Comparing bit widths and inference backends
davila7/claude-code-templates☆ 32.8KUpdated Oct 22, 2026
Guides language model training with GRPO in TRL, comparing several responses and rewarding better results. Covers dataset preparation, scoring rules for correctness and format, training configuration, monitoring, and saving models for later use.
- Training models to follow JSON or XML formats
- Designing rewards for math and coding tasks
- Adjusting training to available GPU memory
davila7/claude-code-templates☆ 32.8KUpdated Oct 22, 2026
Guide the design of AI product features with output validation, responses displayed as they arrive, prompt versioning, and testing. Address API costs, failures, and unsafe input when preparing language model integrations for production.
- Reviewing AI features before production release
- Designing validation for AI-generated output
- Managing prompt versions and regression tests
davila7/claude-code-templates☆ 32.8KUpdated Oct 22, 2026
Guides large language model reinforcement learning with miles, covering environment setup, low-precision training, consistency between training and inference, and speculative decoding, where a smaller model proposes tokens for a larger model to verify.
- Configure reinforcement learning for large MoE models
- Investigate instability in FP8 training
- Set up speculative decoding for faster rollout generation
davila7/claude-code-templates☆ 32.8KUpdated Oct 22, 2026
Use Outlines to make language models produce data in a defined format. The skill covers extracting information into JSON, restricting classification labels, and applying Pydantic models, which define fields and data types, with local model backends.
- Extracting company or profile details into JSON
- Classifying text using a fixed set of labels
- Generating text that matches a specified pattern
davila7/claude-code-templates☆ 32.8KUpdated Oct 22, 2026
Plan and configure large language model training with OpenRLHF to better match human preferences. Covers training method selection, distributed GPU setup, inference acceleration with vLLM, and troubleshooting memory or training stability issues.
- Choosing a method for training models on human preferences
- Setting up PPO training with a reward model
- Configuring GRPO training without a critic model
davila7/claude-code-templates☆ 32.8KUpdated Oct 22, 2026
Provides prompt templates for coding, writing, analysis, and creative work. Helps define the AI's role, specify the desired output, add examples and constraints, and refine requests using a practical checklist.
- Draft a prompt for code review
- Create requests for clear technical documentation
- Prepare prompts for feature and naming ideas
davila7/claude-code-templates☆ 32.8KUpdated Oct 22, 2026
Build searches with Qdrant that find similar content and filter results by attributes. The skill covers document retrieval for AI answers, vector storage, memory optimization, and distributed deployment for larger collections.
- Building document retrieval for AI answers
- Combining similarity search with category or date filters
- Reducing memory use for large vector collections
davila7/claude-code-templates☆ 32.8KUpdated Oct 22, 2026
Design and refine prompts for language model applications. Choose useful examples, create reusable templates and system instructions, and compare prompt variations using accuracy, consistency, response time, and token usage to guide improvements.
- Refine prompts that produce inconsistent answers
- Create reusable templates with variables and conditions
- Select relevant input-output examples for a task
davila7/claude-code-templates☆ 32.8KUpdated Oct 22, 2026
Guides Python agent development with PydanticAI, covering tool calls and structured outputs checked against defined data types. Explains service injection, provider switching, streaming responses, and tests that run without calling a real language model.
- Building agents that return validated structured data
- Connecting customer support agents to order data
- Testing agent logic without real model calls
davila7/claude-code-templates☆ 32.8KUpdated Oct 22, 2026
Design RAG systems that retrieve relevant documents to support LLM answers. The skill guides document splitting, meaning-based and keyword search, result reranking, and separate retrieval evaluation to improve the context passed to the model.
- Designing document retrieval for LLM answers
- Reviewing document splitting strategies
- Combining keyword and meaning-based search
davila7/claude-code-templates☆ 32.8KUpdated Oct 22, 2026
Design and improve RAG systems, which retrieve documents to support language model answers. Explore meaningful document splitting, vector storage, combined keyword and semantic search, and relevance ranking while checking common causes of poor retrieval.
- Design a system that answers questions using documents
- Review document splitting when search misses relevant content
- Combine keyword search with search based on meaning
davila7/claude-code-templates☆ 32.8KUpdated Oct 22, 2026
Reduce the memory needed to run large language models with GPTQ quantization, which stores model weights at lower precision. Covers loading compressed models, quantizing your own models, choosing execution backends, and connecting to memory-efficient fine-tuning.
- Run a language model within limited GPU memory
- Load a pre-quantized model for text generation
- Quantize and save your own trained model
davila7/claude-code-templates☆ 32.8KUpdated Oct 22, 2026
Improve AI instructions with examples, clear output formats, and comparison tests. Use reusable templates and system prompts, which set ongoing behavior, to address inconsistent answers and investigate unexpected agent behavior.
- Making AI summaries more consistent
- Structuring information extracted from support tickets
- Creating reusable code review prompts
davila7/claude-code-templates☆ 32.8KUpdated Oct 22, 2026
Guide language model training with TRL, from learning to follow instructions to matching human preferences. Covers method selection, training data, reward models that score responses, evaluation, and adjustments for memory limits or unstable training.
- Train a model on instruction and response examples
- Align responses using preferred and rejected answer pairs
- Build a training pipeline using human feedback
davila7/claude-code-templates☆ 32.8KUpdated Oct 22, 2026
Explore training workflows that reduce harmful model responses using a written set of principles. The skill covers self-critique, revised training examples, and RLAIF, reinforcement learning from AI feedback, with implementation examples and hardware guidance.
- Designing principles for model safety training
- Creating training examples through self-critique and revision
- Planning reinforcement learning with AI-rated responses
davila7/claude-code-templates☆ 32.8KUpdated Oct 22, 2026
Build search and recommendation features with Pinecone, a managed database for numerical representations of content. Covers data loading, combined meaning and keyword search, filtering by attributes, and separating data by user.
- Build document retrieval for AI answers
- Combine meaning and keyword search
- Separate search data by user
davila7/claude-code-templates☆ 32.8KUpdated Oct 22, 2026
Guide reinforcement learning, training models through rewards, with slime. Prepare data, configure Megatron-LM training and SGLang response generation, and set up asynchronous runs or custom multi-turn workflows for supported language models.
- Preparing reward-based training for GLM or Qwen models
- Overlapping response generation and training
- Training agents that use tools across multiple turns
davila7/claude-code-templates☆ 32.8KUpdated Oct 22, 2026
Generate embeddings, numerical representations of text or images, for meaning-based search, similarity comparisons, and document grouping. The skill guides model selection, multilingual processing, local execution, and integration with retrieval workflows.
- Generate document embeddings for RAG
- Find sentences with similar meanings
- Group documents by topic
davila7/claude-code-templates☆ 32.8KUpdated Oct 22, 2026
Build similarity search with FAISS to find nearby matches in large collections of numeric vectors. The skill guides index selection, memory reduction, GPU use, and saving indexes while balancing search speed and accuracy.
- Find similar items in large vector datasets
- Choose an index for search speed and accuracy
- Reduce memory use for vector search
davila7/claude-code-templates☆ 32.8KUpdated Oct 22, 2026
Plan caching for repeated LLM requests by choosing what to reuse: shared prompt beginnings, complete responses, or documents loaded in advance. Covers Anthropic prompt caching, cache invalidation, and problems caused by changing inputs or outdated answers.
- Reusing shared instructions across Claude requests
- Caching answers to repeated or similar questions
- Planning document preloading with CAG
davila7/claude-code-templates☆ 32.8KUpdated Oct 22, 2026
Build workflows that extract structured data from LLM responses, check field types and values with Pydantic, and retry failed extractions. Includes examples for nested data, classification, and receiving results as they are generated.
- Extracting contact and company details from text
- Classifying articles into predefined categories
- Checking review analysis against validation rules
davila7/claude-code-templates☆ 32.8KUpdated Oct 22, 2026
Build image classification and search workflows by comparing images with text descriptions. Covers classification without additional training, similarity scoring, batch processing, and storing image representations in a vector database for retrieval.
- Classifying images without additional training
- Searching image collections with text descriptions
- Comparing images with candidate descriptions
davila7/claude-code-templates☆ 32.8KUpdated Oct 22, 2026
Guides experiments that inspect and change internal model values using nnsight. Covers local PyTorch models and remote experiments through NDIF, including replacing intermediate values to test how particular layers affect a model’s predictions.
- Inspecting layer outputs and attention patterns
- Replacing internal values to compare predictions
- Running large-model experiments through NDIF
davila7/claude-code-templates☆ 32.8KUpdated Oct 22, 2026