extra credit Search 85,062 technologies ⌘K Download for Mac

Hugging Face

Category
AI and LLMs
Docs outline
14 sections

Official docs outline

huggingface.co
  1. Philosophy and core classes

    Configuration, model and preprocessor classes, Hub checkpoints, design principles of Transformers.

  2. Pipeline inference

    pipeline() for tasks, task identifiers, device and device_map, batching, large datasets, half precision.

  3. Models and configuration

    PreTrainedModel, from_pretrained/save_pretrained, AutoModel classes, configs, dtype and device_map loading.

  4. Tokenizers

    Tokenization, vocab, special tokens, padding and truncation, fast tokenizers, attention masks.

  5. Text generation

    generate(), decoding strategies (greedy, sampling, beam search), temperature, top-k/top-p, max_new_tokens, streaming.

  6. Chat templates

    apply_chat_template, roles, generation prompts, tool use formatting for chat models.

  7. KV cache

    Key-value caching during generation, cache types, memory and speed tradeoffs.

  8. Attention implementations

    SDPA, FlashAttention and attention backends, attn_implementation setting.

  9. Trainer

    Trainer and TrainingArguments, training loop, evaluation, callbacks, mixed precision, distributed training.

  10. Efficient training on GPU

    Batch size, gradient accumulation and checkpointing, mixed precision, memory optimization.

  11. PEFT and LoRA

    Parameter-efficient fine-tuning with adapters, LoRA, loading and merging adapters.

  12. Quantization

    bitsandbytes, GPTQ, AWQ quantization methods, loading low-bit models, memory reduction.

  13. Serving models

    transformers serve and OpenAI-compatible serving, inference deployment options.

  14. Sharing models on the Hub

    push_to_hub, model cards, repositories, versioning and uploading checkpoints.

Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.

All 39
↑↓ move ↵ open