<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Sft on Blog</title>
    <link>https://dudeperf3ct.github.io/tags/sft/</link>
    <description>Recent content in Sft on Blog</description>
    <generator>Hugo</generator>
    <language>en</language>
    <copyright>dudeperf3ct</copyright>
    <atom:link href="https://dudeperf3ct.github.io/tags/sft/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Post training - Supervised Finetuning</title>
      <link>https://dudeperf3ct.github.io/projects/post_training_llm_sft/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://dudeperf3ct.github.io/projects/post_training_llm_sft/</guid>
      <description>&lt;p&gt;In previous posts, I explored how to pretrain a language model. The setup for pretraining used Llama 3.2 1B base model trained on &lt;a href=&#34;https://huggingface.co/datasets/tokyotech-llm/swallow-code-v2&#34;&gt;&lt;code&gt;tokyotech-llm/swallow-code-v2&lt;/code&gt;&lt;/a&gt; dataset for Fill-in-Middle (FIM) task.&lt;/p&gt;
&lt;p&gt;The mistake here was using narrow code-only corpus as pretraining dataset. A more practical pipeline would be to begin with a broadly pretrained base model, optionally continue pretraining it on high-quality code, and then apply SFT using verified prompt–response demonstrations. Pretraining task are used to learn language representation across various tasks.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
