Series

29 articles

Part 4: Stock Prediction on Colab -- Trial and Error with Three Models Series
AILLMFine-tuningStock PredictionGoogle ColabLoRAMachine LearningPython

Part 4: Stock Prediction on Colab -- Trial and Error with Three Models

Fine-tuning ELYZA 8B and LLM-jp 7.2B for stock price prediction on Google Colab, the accuracy challenges encountered, and why I ultimately pivoted to the OpenAI API.

Read more →
Part 6: Training Data Design -- How I Integrated Five Types of Data Series
AILLMFine-tuningStock PredictionMachine LearningPythonOpenAI

Part 6: Training Data Design -- How I Integrated Five Types of Data

A detailed look at how I designed training data for stock price prediction, integrating company information, news, stock prices, financials, and macroeconomic indicators into a structured JSON format for LLM fine-tuning.

Read more →
Part 7: Choosing a Translation LLM -- From DeepSeek to ChatGPT Series
AILLMNLPTranslationPHPOpenAI

Part 7: Choosing a Translation LLM -- From DeepSeek to ChatGPT

How choosing DeepSeek as a translation provider based on cost alone led to Chinese text leakage, latency issues, and data exposure -- and why I unified everything under ChatGPT.

Read more →
Part 5: OpenAI API Fine-Tuning -- The Final Solution That Took Just 8 Minutes Series
AILLMOpenAIFine-tuningStock PredictionPythonPHP

Part 5: OpenAI API Fine-Tuning -- The Final Solution That Took Just 8 Minutes

How pivoting to OpenAI API fine-tuning on gpt-4o-mini achieved stable JSON output and sufficient accuracy in just 8 minutes, after months of struggle with open-source models.

Read more →
Part 8: MySQL to Firestore Migration and Production -- The Road from RDB to NoSQL Series
FirestoreMySQLNext.jsPythonPHPAIStock Prediction

Part 8: MySQL to Firestore Migration and Production -- The Road from RDB to NoSQL

The challenges of migrating from MySQL to Firestore for a production web service, including index design, upsert strategies, document ID design, and cost optimization for the Senrigan stock prediction platform.

Read more →
Part 4 (Appendix). Build Your Own Real-Time Translator - TTS via Bluetooth Series
AITTSBluetoothReal-TimeiOS

Part 4 (Appendix). Build Your Own Real-Time Translator - TTS via Bluetooth

Implementation notes on adding text-to-speech to the translation pipeline: Web Speech API code, mobile browser workarounds, Bluetooth audio routing, and the browser limitations that led toward a native app.

Read more →
Part 3. Build Your Own Real-Time Translator - Ollama, LM Studio, and Home GPU Series
AILLMEdge AIOpen Source

Part 3. Build Your Own Real-Time Translator - Ollama, LM Studio, and Home GPU

Local LLM inference on RTX 3060: Ollama setup and VRAM crash, LM Studio 0.4.0 headless CLI, lock mechanisms for parallel requests, mobile LLM feasibility research, and a guide for adapting to any language pair.

Read more →
Part 2. Build Your Own Real-Time Translator - LLM Streaming for 500ms Series
AILLMStreamingSystem Design

Part 2. Build Your Own Real-Time Translator - LLM Streaming for 500ms

The core implementation: dual prompts for speed vs quality, streaming JSON extraction, debounce logic, and progressive frontend display — with full code.

Read more →
Part 1. Build Your Own Real-Time Translator - Intent-First, Breaking the Silence Series
AITranslationLLMReal-Time

Part 1. Build Your Own Real-Time Translator - Intent-First, Breaking the Silence

Why existing voice translators break conversation flow, and how to set up the foundation for a real-time translator with Deepgram, FastAPI, and WebSocket.

Read more →