Answers.Body: <p>The pull request #1327 (<a href="https://github.com/facebookresearch/fastText/pull/1327" rel="nofollow noreferrer">https://github.com/facebookresearch/fastText/pull/1327</a>)</p>
  <p><strong>Allows for:</strong></p>
  <ol>
  <li>test after each epoch</li>
  <li>checkpointing</li>
  <li>training on large data which does not fit into memory (largest I tested was 1.6TB)</li>
  <li>finetuning already trained models</li>
  </ol>
  <p>The trained model is indistinguishable from a model that was created by an original tool and can be used for inference by the old code.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-03-22T18:43:45.320Z
Answers.LastActivityDate: 2023-03-22T18:43:45.320Z
Answers.UserDisplayName: Sergei Alonichau
Body: <p>I'm using FastText pre-trained-embedding for tackling a classification task, but I saw it supports also online training (incremental training) for adding domain-specific corpus.</p>
  
  <p>How does it work? </p>
  
  <p>As far as I know, starting from the "model.bin" file it retrains the model only on the new corpus updating the old word-vectors, is it right? </p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-06-25T13:01:14.617Z
Comments.Text: Are you referring to https://github.com/facebookresearch/fastText/pull/423 ? It seems the official FastText does not support incremental learning yet.
Comments.UserDisplayName: Borhan Kazimipour
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-06-25T20:05:06.863Z
Comments.Text: yeah exactly i saw that link. Probably i misunderstood. Anyway i opted for the pretrained one with Wikipedia corpus. Thanks for your answer, hoping and waiting for the official "incremental" features in Fast Textt as soon as possible :).
Comments.UserDisplayName: Alfonso
Tags: <classification><word-embedding><online-learning><incremental-learning>
Title: How does FastText support online learning?
UserDisplayName: Alfonso
ThreadText: # How does FastText support online learning?
  
  (Asked by: username_0 on 2019-06-25)
  
  I'm using FastText pre-trained-embedding for tackling a classification task, but I saw it supports also online training (incremental training) for adding domain-specific corpus.
  
  How does it work?
  
  As far as I know, starting from the "model.bin" file it retrains the model only on the new corpus updating the old word-vectors, is it right?
  
  **Tags:** classification, word-embedding, online-learning, incremental-learning
  > **Comments:**
  > **username_1**: Are you referring to https://github.com/facebookresearch/fastText/pull/423 ? It seems the official FastText does not support incremental learning yet.  
  > **username_0**: yeah exactly i saw that link. Probably i misunderstood. Anyway i opted for the pretrained one with Wikipedia corpus. Thanks for your answer, hoping and waiting for the official "incremental" features in Fast Textt as soon as possible :).  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2023-03-22. Score: 1
  
  The pull request #1327 (<https://github.com/facebookresearch/fastText/pull/1327>)
  
  **Allows for:**
  
  1. test after each epoch
  2. checkpointing
  3. training on large data which does not fit into memory (largest I tested was 1.6TB)
  4. finetuning already trained models
  
  The trained model is indistinguishable from a model that was created by an original tool and can be used for inference by the old code.
  
  
  ---
  
  