Skip to main content

Posts

Showing posts with the label AI Using OCI

How to Fine-Tune a Pretrained Hugging Face Model on a Custom Dataset — OCI Data Science

Fine-tuning a pre-trained Hugging Face model means taking a language model that already understands grammar and meaning from millions of documents, and teaching it one narrow new skill — like telling whether two sentences mean the same thing — using a small, purpose-built dataset instead of starting from zero. 🧠 This matters because almost no enterprise team can afford to pretrain a language model from scratch — that costs millions of dollars and weeks of GPU cluster time. What every real team actually does is reuse a pretrained model and fine-tune it cheaply. Get the fine-tuning, evaluation, packaging, and deployment steps wrong, and you end up with a model that looks fine in a notebook but returns garbage — or an inference endpoint that silently fails — the moment real traffic hits it in production. ⚙️ 📑 In This Post Sample Dataset: The Sentence Pairs You'll Train On Beginner Walkthrough: OCI Console Setup, Step by Step What Semantic Similarity ...

Enterprise Teams Run MCP Servers on Docker and OCI

You've got an MCP server running on a VM behind a reverse proxy — but nobody's actually plugged a client into it yet, and every time you ship a code change you're SSH-ing in and manually restarting a process. This post closes both gaps: first wiring a real MCP client to your deployed endpoint, then repackaging the server itself as a Docker image so "deploy" means docker run instead of a hand-built systemd unit you have to remember how to edit. 🔌 Why this matters: a systemd service tied to one VM's Node or Python install is a snowflake — the moment you need a second environment (staging), a rollback, or a teammate who runs a different OS, "it worked on the VM" becomes its own support ticket. Containerizing the server means the exact same image that passed your local test is the one running in OCI Container Instances or on an OKE cluster, with the runtime, dependencies, and startup command baked in once. Every major MCP-adopting platform — Docke...