Evaluate code generation models with HumanEval, MBPP, and multilingual benchmarks. The skill guides test execution and model comparisons using pass@k, an estimate of whether at least one of k generated solutions passes the tests.
- Compare code generation models on shared benchmarks
- Measure code generation performance across languages
- Evaluate instruction-tuned coding models
Orchestra-Research/AI-Research-SKILLs☆ 13.8KUpdated Oct 11, 2026
Guides LLM training with verl using rewards to improve model responses. Covers data preparation, reward functions, GRPO and PPO configuration, distributed GPU training, and troubleshooting memory shortages or unstable training.
- Train math reasoning models with GRPO and answer-based rewards
- Configure PPO training with a separate value-estimation model
- Run large-model training across multiple GPU nodes
Orchestra-Research/AI-Research-SKILLs☆ 13.8KUpdated Oct 11, 2026
Use Meta's Prompt Guard to detect malicious instructions in user prompts and external data. This skill guides input filtering, batch checks for retrieved documents, detection threshold adjustments, and splitting long text for inspection.
- Detecting attempts to override an LLM's instructions
- Checking API responses for embedded malicious instructions
- Batch screening documents retrieved for RAG
Orchestra-Research/AI-Research-SKILLs☆ 13.8KUpdated Oct 11, 2026
Fine-tune language models with TRL using GRPO, a method that compares scored responses to the same prompt. Covers training data, scoring functions, GPU-conscious settings, and monitoring for tasks with measurable correctness or required output formats.
- Train models to follow JSON or XML output formats
- Reward correct answers in math or coding tasks
- Balance correctness, format, and style during training
Orchestra-Research/AI-Research-SKILLs☆ 13.8KUpdated Oct 11, 2026
Guides experiments that change internal values in PyTorch models to test what causes their behavior. Uses pyvene to swap or remove activations, locate influential components, train interventions, and save experiments for reuse.
- Locating model components that affect an answer
- Comparing outputs after swapping internal activations
- Training interventions to investigate causal structure
Orchestra-Research/AI-Research-SKILLs☆ 13.8KUpdated Oct 11, 2026
Helps reduce GPU memory use by loading large language models in 4-bit or 8-bit formats, a technique called quantization. Covers bitsandbytes configuration, memory checks, QLoRA fine-tuning, and training with memory-saving optimizers.
- Load a larger model within available GPU memory
- Compare 4-bit and 8-bit quantization settings
- Fine-tune a quantized model with QLoRA
Orchestra-Research/AI-Research-SKILLs☆ 13.8KUpdated Oct 11, 2026
Implement Mamba, a model architecture that processes sequences through an internal state with computation scaling linearly with input length. Covers pretrained text generation, Mamba-1 and Mamba-2 configuration, speed comparisons with Transformers, and GPU memory troubleshooting.
- Explore models for long sequences or streaming applications
- Generate text with pretrained Mamba models
- Compare Mamba-1 and Mamba-2 configurations
Orchestra-Research/AI-Research-SKILLs☆ 13.8KUpdated Oct 11, 2026
Learn how GPT language models work by preparing text, training a small model, and generating samples. Covers CPU experiments, custom datasets, further training of pretrained GPT-2 models, and reproducing GPT-2 with multiple GPUs.
- Train a small model on Shakespeare using a CPU
- Prepare custom text for model training
- Further train a pretrained GPT-2 model
Orchestra-Research/AI-Research-SKILLs☆ 13.8KUpdated Oct 11, 2026
Compress large language model weights to four bits with AWQ, a method that uses model activation patterns to limit quality loss. Follow workflows for quantization, loading compressed models, and serving them with vLLM using less GPU memory.
- Running large language models with limited GPU memory
- Quantizing a model with domain-specific text
- Serving an AWQ model with vLLM
Orchestra-Research/AI-Research-SKILLs☆ 13.8KUpdated Oct 11, 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
Orchestra-Research/AI-Research-SKILLs☆ 13.8KUpdated Oct 11, 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
Orchestra-Research/AI-Research-SKILLs☆ 13.8KUpdated Oct 11, 2026
Configure large language model pretraining with torchtitan across multiple GPUs. Covers ways to split training work, launch jobs on computing clusters, enable Float8 numerical processing, and save or resume training through distributed checkpoints.
- Pretraining Llama 3.1 8B on eight GPUs
- Configuring multi-node training with SLURM
- Enabling Float8 training on H100 GPUs
Orchestra-Research/AI-Research-SKILLs☆ 13.8KUpdated Oct 11, 2026
Build safety checks for LLM prompts and responses using Meta's LlamaGuard. This skill covers content classification, batch moderation, serving a moderation API, and connecting checks to NeMo Guardrails.
- Screening user prompts before sending them to an LLM
- Checking generated responses before displaying them
- Building an API for content safety checks
Orchestra-Research/AI-Research-SKILLs☆ 13.8KUpdated Oct 11, 2026
Convert language models to GGUF and reduce their size through quantization, which stores model weights at lower precision. Guides cover compression choices, local inference on CPUs and Apple Silicon, and integration with tools such as Ollama.
- Running a language model on a CPU-only computer
- Choosing model compression for available memory
- Configuring Metal acceleration on Apple Silicon
Orchestra-Research/AI-Research-SKILLs☆ 13.8KUpdated Oct 11, 2026
Guide language model training with SimPO using pairs of preferred and rejected answers. Covers configuration, learning rate tuning, and memory troubleshooting for preference alignment, which adjusts model responses toward human preferences without a separate reference model.
- Training on preferred and rejected answer pairs
- Exploring an alternative to DPO without a reference model
- Tuning preference training for math and code tasks
Orchestra-Research/AI-Research-SKILLs☆ 13.8KUpdated Oct 11, 2026
Guides experiments that inspect and modify internal values in PyTorch models to study their effects on predictions. Covers local analysis and remote experiments through NDIF for models too large for local GPUs.
- Inspect internal values and attention patterns across layers
- Replace internal values to compare changes in predictions
- Run large-model experiments without local GPUs
Orchestra-Research/AI-Research-SKILLs☆ 13.8KUpdated Oct 11, 2026
Helps fine-tune large language models with LoRA and QLoRA, methods that train small sets of additional parameters. Covers memory-conscious training, configuration choices, saving adapters, and switching task-specific adapters on a shared base model.
- Fine-tune a model with limited GPU memory
- Choose LoRA settings for a specific task
- Switch task-specific adapters on one base model
Orchestra-Research/AI-Research-SKILLs☆ 13.8KUpdated Oct 11, 2026
Run machine learning workloads on Modal's cloud GPUs without managing servers. Guides Python configuration for training, inference, batch processing, and API deployment, including automatic scaling, persistent storage, scheduled jobs, and troubleshooting.
- Running GPU inference without managing servers
- Deploying a model as an automatically scaling API
- Processing large batches in parallel
Orchestra-Research/AI-Research-SKILLs☆ 13.8KUpdated Oct 11, 2026
Compress large language models to 4-bit weights to reduce GPU memory needs and accelerate text generation. Covers loading compressed models, converting your own models, choosing settings, and preparing memory-efficient fine-tuning with transformers and PEFT.
- Run language models with limited GPU memory
- Convert your own model to 4-bit weights
- Compare compression settings for quality and speed
Orchestra-Research/AI-Research-SKILLs☆ 13.8KUpdated Oct 11, 2026
Prepare large text collections for AI models with fast tokenizers, which split text into model inputs. Train custom vocabularies, trace tokens to original text positions, adjust input lengths, and integrate the results with transformers.
- Tokenizing large text collections
- Training a custom vocabulary
- Mapping extracted names or answers back to original text
Orchestra-Research/AI-Research-SKILLs☆ 13.8KUpdated Oct 11, 2026
Guides you through running large language models on CPUs, Apple Silicon, and AMD or Intel GPUs. Covers choosing GGUF model files, reducing memory through quantization, and starting an OpenAI-compatible chat server.
- Running a local LLM on an Apple Silicon Mac
- Trying LLM inference on a CPU-only machine
- Choosing a model format that fits available memory
Orchestra-Research/AI-Research-SKILLs☆ 13.8KUpdated Oct 11, 2026
Apply HQQ quantization, which stores language model weights using fewer bits without calibration examples. Covers precision settings, inference backends, saving compressed models, deployment with HuggingFace Transformers or vLLM, and further training with LoRA.
- Compressing a model without calibration data
- Comparing 4-bit and 2-bit quantization settings
- Running quantized models with HuggingFace Transformers or vLLM
Orchestra-Research/AI-Research-SKILLs☆ 13.8KUpdated Oct 11, 2026
Adapt existing PyTorch training scripts to run across multiple GPUs or machines with Accelerate. This skill covers device setup, distributed training configuration, and mixed precision, which uses lower-precision numbers to reduce memory use.
- Adapt a single-GPU training script for multiple GPUs
- Configure mixed precision to reduce training memory use
- Set up training with DeepSpeed or FSDP
Orchestra-Research/AI-Research-SKILLs☆ 13.8KUpdated Oct 11, 2026
Helps adapt machine learning training to multiple GPUs and machines with Ray Train. Covers resource allocation, recovery from saved training states, and Ray Tune searches that compare settings such as learning rate and batch size.
- Adapt existing PyTorch training to multiple GPUs
- Run HuggingFace training across multiple machines
- Compare learning rates and batch sizes with Ray Tune
Orchestra-Research/AI-Research-SKILLs☆ 13.8KUpdated Oct 11, 2026