$ ls ./blog | sort -r

Blog & Technical Articles

September 7, 2025
AI/ML · EN

Inverted HyDE: Solving Real-World Dense Retrieval Challenges

An innovative approach to dense retrieval that addresses practical limitations of HyDE by flipping the script - generating hypothetical queries offline instead of hypothetical documents in real-time.

7 min read →
August 31, 2025
PYTHON · EN

Stop Using requirements.txt

The requirements.txt is a legacy dependency management tool that is no longer fit for modern Python projects. We need a better dependency management tool.

12 min read →
November 23, 2024
AI/ML · EN

Fine-tuning Flux.1-dev LoRA on yourself

This blog serves as my personal guide to fine-tuning Flux.1-dev LoRA to generate high-quality, lifelike images of myself, all without the hassle of taking photos.

11 min read →
October 10, 2024
PYTHON · EN

Free Threaded Mode in Python3.13 (GIL disabled)

Python 3.13 just release recently, with an amazing new feature called 'Free threaded mode'. This is a great improvement for the performance of your code when you are using threads.

4 min read →
October 8, 2024
TUTORIAL · EN

Open-source AI code assistant Setup Guide

Setup your local AI Code Assistant with just a few steps to replace Github Copilot - Help you save money and better data privacy.

4 min read →
July 18, 2024
AI/ML · EN

RAG In Production - Best Practices Notes

Retrieval-Augmented Generation (RAG) method are transforming the landscape of natural language processing by combining the strengths of retrieval-based and generative models (LLMs). When deployed in production, RAG systems can provide more accurate and contextually relevant responses. This guide outlines best practices for implementing RAG models in a production environment, ensuring robustness, scalability, and efficiency.

10 min read →
April 1, 2024
AI/ML · EN

Beam search algorithm

Beam search là một thuật toán tìm kiếm heuristic được sử dụng trong nhiều bài toán như dịch máy, nhận dạng giọng nói, tóm tắt văn bản,… Đó là các bài toán NLP có đầu ra liên quan đến việc tạo một chuỗi các từ. Trong bài viết này, Behitek sẽ cùng bạn đi tìm hiểu về thuật toán beam search, các ưu điểm của nó và đi vào thực hành sử dụng beam search trong bài toán khôi phục dấu thanh cho tiếng Việt không dấu.

13 min read →
March 9, 2024
PYTHON · VI

Python Decorator

Python Decorator là một công cụ mạnh mẽ giúp chúng ta mở rộng chức năng của một hàm mà không cần thay đổi nội dung bên trong hàm đó.

11 min read →
December 11, 2022
AI/ML · EN

Fine-tuning BERT for the Sentence Pair Classification Task

This tutorial will teach you how to fine-tune BERT for the Sentence Pair Classification task. In this task, each dataset sample contains two sentences and the appropriate target variable (label).

8 min read →
November 19, 2022
TUTORIAL · EN

Capture HTTP request with Selenium like DevTools

This tutorial will show you how to use Selenium Wire to capture HTTP requests like the Chrome DevTools (Networks).

3 min read →
Need AI consulting or engineering services from Behitek?