Peng Liu·Dec 22, 2025<h1 class=”graf graf — h1">🍎 Fine-tuning LLMs on macOS (Apple Silicon Guide)</h1> <p class=”graf…# Run the setup script ./setup.sh </code></pre> <h3 class=”graf graf — h3">2. Configure for Mac (<code class=”markup — code markup —…
Peng Liu·Dec 21, 2025Fine-Tune an SLM or Prompt an LLM?A Deep Dive Into How Researchers Compared Two Paths for Workflow Generation
Peng Liu·Jul 24, 2025Key-Value (KV) Cache Size Calculations in Grouped Query Attention (GQA)To calculate the key-value (KV) cache size in grouped query attention (GQA), you need to know the sequence length, batch size, number of KV…
Peng Liu·Mar 9, 2025Fine-tuning ModernBERT for Text Classification with PyTorch LightningIn this blog, we’ll explore how to fine-tune ModernBERT for text classification tasks using PyTorch Lightning. We’ll cover the…
Peng Liu·Feb 27, 2025Build your own search engineer using ModernBERT and VoyogerSemantic search has become widely used in different machine learning applications. Unlike the boolean (key words search), semantic search…A response icon1A response icon1
Peng Liu·Feb 26, 2025Understanding ColBERT: What is New Comparing with Normal Semantic SearchIn the rapidly evolving landscape of information retrieval, ColBERT (Contextualized Late Interaction over BERT) has emerged as a compelling…
Peng Liu·Dec 22, 2024Set up and manage the python environment using pyenv and poetry1. Python Version Management:
InHackerAIbyPeng Liu·Nov 4, 2024Rethink Your RAG Solutions: A Data-Driven Approach to Unlocking LLM PotentialAll contents/views have been talked about in this article mainly come from the paper:
Peng Liu·May 23, 2024Train machine learning models with mislabeled data in the era of LLMsThe Challenge of Mislabeled Data is often existing in real-world applications. Well-labelled data not only can be used for training models…
Peng Liu·Apr 19, 2024How to communicate to your cloud run instance in GCP using Python (Deploy in Production/Locally)Deploy In Production: