Python Status: Pending Migration

📖 Hugging Face Workflows¶

  • 🧠 What is Hugging Face?
    • 🤗 Overview of Ecosystem (Transformers, Datasets, Tokenizers, PEFT)
    • 🔍 Model Hub and Dataset Hub
    • ⚙️ Pipelines vs. Manual Control
  • ⚙️ Core Workflow with Transformers
    • 🧪 Load a Pretrained Model and Tokenizer
    • 💬 Use Pipelines for Quick Tasks
    • 📄 Custom Input Handling and Tokenization
    • 🔧 Config, Tokenizer, and Model Outputs
  • 🧰 Training and Fine-tuning with 🤗
    • 🧠 Using Trainer API (End-to-End)
    • 📦 Using Datasets Library
    • 🧮 Custom Training Loops (if needed)
    • 🧰 PEFT / LoRA Integration
  • 🔬 Evaluation and Inference
    • 🧪 Generate, Score, Classify
    • 📊 Evaluate with Accuracy, BLEU, ROUGE
    • 🧠 Save + Reload Model + Tokenizer
  • 🚀 Deployment Options
    • 🌐 Inference API
    • 🐳 Docker + REST API (via FastAPI)
    • 🧠 Accelerated Inference with ONNX or HF Optimum
  • 🛠️ Tips and Common Errors
    • ⚠️ Tokenizer Shape Issues
    • ⚙️ CUDA/Device Setup
    • 🔍 Debugging Model Outputs
  • 🧪 Mini Projects or Use Cases
    • 💬 Sentiment Classification
    • 🔍 Q&A or Search Reranking
    • 🧠 Text Summarization
  • 🔚 Closing Notes
    • 🧠 Summary and Key Commands
    • 💡 Next: GenAI Use Cases (08)
    • 🧰 Practice and Exploration Suggestions

🧠 What is Hugging Face?¶

🤗 Overview of Ecosystem (Transformers, Datasets, Tokenizers, PEFT)¶

🔍 Model Hub and Dataset Hub¶

⚙️ Pipelines vs. Manual Control¶

Back to the top


⚙️ Core Workflow with Transformers¶

🧪 Load a Pretrained Model and Tokenizer¶

💬 Use Pipelines for Quick Tasks¶

📄 Custom Input Handling and Tokenization¶

🔧 Config, Tokenizer, and Model Outputs¶

Back to the top


🧰 Training and Fine-tuning with 🤗¶

🧠 Using Trainer API (End-to-End)¶

📦 Using Datasets Library¶

🧮 Custom Training Loops (if needed)¶

🧰 PEFT / LoRA Integration¶

Back to the top


🔬 Evaluation and Inference¶

🧪 Generate, Score, Classify¶

📊 Evaluate with Accuracy, BLEU, ROUGE¶

🧠 Save + Reload Model + Tokenizer¶

Back to the top


🚀 Deployment Options¶

🌐 Inference API¶

🐳 Docker + REST API (via FastAPI)¶

🧠 Accelerated Inference with ONNX or HF Optimum¶

Back to the top


🛠️ Tips and Common Errors¶

⚠️ Tokenizer Shape Issues¶

⚙️ CUDA/Device Setup¶

🔍 Debugging Model Outputs¶

Back to the top


🧪 Mini Projects or Use Cases¶

💬 Sentiment Classification¶

🔍 Q&A or Search Reranking¶

🧠 Text Summarization¶

Back to the top


🔚 Closing Notes¶

🧠 Summary and Key Commands¶

💡 Next: GenAI Use Cases¶

🧰 Practice and Exploration Suggestions¶

Back to the top