Skip to content
cccskills

Results for “transformers”

203 skills · sorted by relevance

Build image generation workflows in Python with Stable Diffusion and HuggingFace Diffusers. The guide covers text prompts, transforming existing images, replacing selected regions, controlling composition, applying learned styles, and adjusting memory use during generation.

  • Generating images from text descriptions
  • Changing the style of an existing image
  • Replacing a selected region of an image
davila7/claude-code-templates32.8KUpdated Oct 20, 2026

llava

FreeSummary

Build image-based conversations with LLaVA, an AI model that combines image understanding with language. Covers setup, model selection, image descriptions, follow-up questions, and memory-saving options for running models on a GPU.

  • Building a chatbot that answers questions about images
  • Generating image descriptions and captions
  • Exploring a scene through follow-up questions
davila7/claude-code-templates32.8KUpdated Oct 20, 2026

llama-factory

FreeSummary

Helps adapt LLMs to specific tasks with LLaMA-Factory, including training through a web interface and memory-saving methods such as QLoRA. Provides documentation references for learning features, implementing workflows, and investigating code problems.

  • Exploring LLM fine-tuning through a web interface
  • Checking LoRA and QLoRA training options
  • Investigating LLaMA-Factory implementation problems
davila7/claude-code-templates32.8KUpdated Oct 20, 2026

Generate music and sound effects from written descriptions with AudioCraft. Covers MusicGen and AudioGen, using reference melodies or musical styles, producing stereo audio, adjusting generation settings, and saving generated sounds as audio files.

  • Generate music from a written description
  • Create sound effects and environmental audio
  • Generate music using a reference melody or style
davila7/claude-code-templates32.8KUpdated Oct 20, 2026

sglang

FreeSummary

Set up LLM serving with structured responses, including JSON and outputs restricted to specified patterns. Covers reusing shared prompt calculations, tool calling, and multi-turn conversations through SGLang, with examples for server setup and application integration.

  • Extract information into JSON with a defined schema
  • Build agents that call tools
  • Reuse shared prompts across chat requests
davila7/claude-code-templates32.8KUpdated Oct 20, 2026

Use W&B to record machine learning experiments, visualize training, and compare results. The skill also covers automated searches for training settings and version tracking for datasets and models, helping teams share experiments and trace their inputs.

  • Logging training metrics and viewing progress in real time
  • Comparing experiments with different training settings
  • Searching automatically for better training settings
davila7/claude-code-templates32.8KUpdated Oct 20, 2026

Deploy language models with vLLM through an OpenAI-compatible API or offline batch processing. Tune response speed, throughput, and GPU memory use with quantization, which reduces numerical precision, and execution across multiple GPUs.

  • Deploy an OpenAI-compatible language model API
  • Generate text from many prompts in a batch
  • Serve quantized models with limited GPU memory
davila7/claude-code-templates32.8KUpdated Oct 20, 2026

Assess language models with over 60 academic benchmark tests using consistent prompts and scoring. Compare models, track performance during training, and organize research results with support for HuggingFace models, vLLM, and APIs.

  • Compare models on standard knowledge and reasoning tests
  • Track model performance across training checkpoints
  • Organize evaluation results for research reports
davila7/claude-code-templates32.8KUpdated Oct 20, 2026

Use LitGPT to explore language model implementations and train models on custom data. Covers pretrained model loading, LoRA fine-tuning that updates a small set of parameters, pretraining, and preparing trained models for deployment.

  • Studying language model architecture through readable code
  • Fine-tuning a model on custom instruction data
  • Configuring LoRA training for a single GPU
davila7/claude-code-templates32.8KUpdated Oct 20, 2026

Investigate why a PyTorch model behaves a certain way by changing its internal values with pyvene. The skill guides experiments that swap or remove activations, train interventions, compare outputs, and save or share intervention configurations.

  • Locating model components that affect an output
  • Swapping activations to test behavioral hypotheses
  • Training interventions to investigate causal structure
davila7/claude-code-templates32.8KUpdated Oct 20, 2026

Use SAM to identify object regions in images from points, boxes, or existing masks. The skill provides implementation examples for transparent cutouts, automatic mask generation, annotation tools, and model selection based on available resources.

  • Extracting objects with transparent backgrounds
  • Building annotation tools with point or box selection
  • Generating object masks automatically
davila7/claude-code-templates32.8KUpdated Oct 20, 2026

Train smaller language models using knowledge distillation, where a larger model supplies examples or prediction targets. This skill covers training losses, generated training data, parameter choices, and output comparisons to support model compression and specialized student models.

  • Training a smaller model from a larger teacher
  • Fine-tuning with teacher-generated responses
  • Distilling domain knowledge into a specialized model
davila7/claude-code-templates32.8KUpdated Oct 20, 2026

deepspeed

FreeSummary

Helps configure and troubleshoot DeepSpeed for training large models across multiple devices. Covers memory optimization, parallel training, and DeepNVMe storage transfers, with examples for tuning data movement and configuring models that divide work among specialized components.

  • Configuring distributed training for large models
  • Tuning tensor transfers to NVMe storage
  • Setting up models with specialized expert components
davila7/claude-code-templates32.8KUpdated Oct 20, 2026

Evaluate code generation models with HumanEval, MBPP, and other benchmarks. Test generated programs, compare models across programming languages, and record pass@k scores, which estimate the chance that at least one of k solutions passes the tests.

  • Comparing code generation models on shared benchmarks
  • Measuring correctness across programming languages
  • Evaluating models trained to follow instructions
davila7/claude-code-templates32.8KUpdated Oct 20, 2026

moe-training

FreeSummary

Build and train Mixture of Experts models, which activate selected specialist networks for each input. Use DeepSpeed or HuggingFace workflows to configure routing, balance workloads, distribute experts across GPUs, and optimize inference.

  • Designing MoE models for a limited compute budget
  • Implementing Mixtral-style expert routing
  • Adjusting expert workloads and training stability
davila7/claude-code-templates32.8KUpdated Oct 20, 2026

Organize PyTorch training code with LightningModule and Trainer. Follow examples for validation, logging, model saving, and distributed training across multiple GPUs, with callbacks that add monitoring or stop training when progress stalls.

  • Converting an existing PyTorch training loop
  • Adding validation, logs, and model checkpoints
  • Configuring training across multiple GPUs
davila7/claude-code-templates32.8KUpdated Oct 20, 2026

model-pruning

FreeSummary

Reduce LLM weight usage through pruning, which removes selected model parameters. Explore Wanda and SparseGPT for compression without retraining, choose hardware-friendly patterns for faster inference, and compare the compressed model's accuracy with the original.

  • Compressing an LLM without retraining
  • Comparing pruning methods
  • Exploring faster inference on supported hardware
davila7/claude-code-templates32.8KUpdated Oct 20, 2026

model-merging

FreeSummary

Combine capabilities from multiple fine-tuned LLMs without retraining using mergekit. Choose a merging method, configure how models are blended, and evaluate the resulting model on tasks such as math, code generation, and conversation.

  • Combining math, coding, and conversation capabilities
  • Blending two models at different ratios
  • Comparing variants made with different merging methods
davila7/claude-code-templates32.8KUpdated Oct 20, 2026

Helps speed up LLM text generation by comparing methods that predict and verify multiple tokens at once. Covers draft model selection, Medusa prediction heads, Lookahead Decoding settings, and deployment examples for inference services.

  • Reducing chatbot response latency
  • Comparing methods for faster code generation
  • Selecting a small draft model for a larger LLM
davila7/claude-code-templates32.8KUpdated Oct 20, 2026

pytorch-fsdp

FreeSummary

Get guidance on distributed training with PyTorch FSDP, which splits model parameters across devices. The skill covers implementation, mixed precision, moving data to CPU memory, communication setup, and debugging distributed training code.

  • Implement distributed training with FSDP
  • Review mixed precision and CPU offloading settings
  • Choose a distributed communication backend
davila7/claude-code-templates32.8KUpdated Oct 20, 2026

Adapt PyTorch training scripts for multiple GPUs or machines with Accelerate. This skill guides code changes, configuration, and launch commands, including mixed precision, which combines numerical formats, and DeepSpeed or FSDP integration for distributed training.

  • Moving single-GPU training to multiple GPUs
  • Configuring mixed precision training
  • Setting up DeepSpeed or FSDP
davila7/claude-code-templates32.8KUpdated Oct 20, 2026

trl-training

FreeSummary

Write and debug code for further training large language models with TRL. Match training methods to dataset formats, configure supervised or preference-based training, and set up reward functions through Python or the command line.

  • Training a language model on example responses
  • Training with preferred and rejected response pairs
  • Debugging GRPO reward functions and batch settings
huggingface/trl19.6KUpdated Oct 19, 2026

vector-db

FreeSummary

Helps design semantic search and RAG, where an AI answers using retrieved documents. Covers embeddings, numerical representations of content, plus document splitting, search indexes, keyword search combinations, and evaluation of retrieval quality.

  • Design document retrieval for AI answers
  • Compare embedding models and document splitting strategies
  • Combine semantic search with keyword search
RightNow-AI/openfang18.2KUpdated Jul 2, 2026

support-new-llm

FreeSummary

Add support for a new language model in MNN, from downloading and analyzing it to mapping model fields, comparing intermediate results, and exporting files. Follow staged tests, with additional paths for image, audio, and unusual architectures.

  • Adding a new text model to MNN
  • Exporting a model from HuggingFace or ModelScope to MNN
  • Checking intermediate outputs against the original model
alibaba/MNN16.3KUpdated Oct 20, 2026