tag:github.com,2008:https://github.com/EricFillion/happy-transformer/releasesRelease notes from happy-transformer2023-08-07T02:59:15Ztag:github.com,2008:Repository/213250662/3.0.02023-08-07T03:02:27ZVersion 3.0.0<p><strong>New Features:</strong></p>
<ul>
<li>Deepspeed is now supported for fine-tuning.</li>
<li>Apple's MPS backend is now automatically used for both training and fine-tuning if detected.</li>
<li>Evaluating data is now used during fine-tuning to track the fine-tuning progress.</li>
<li>WandB can now be used to log the results from fine-tuning.</li>
<li>CSV files are supported for training/evaluating text generation and word prediction models. This makes it easy to isolate cases.</li>
<li>Push models to Hugging Face's Hub with one command.</li>
<li>Enable saving models periodically during training.</li>
</ul>
<p><strong>Breaking changes:</strong></p>
<ul>
<li>Preprocesses data is now saved in the Hugging Face's Dataset format rather than in JSON format.</li>
<li>Dictionary argument inputs for training and evaluating are no longer supported</li>
<li>Removed adam_beta1, adam_beta2, adam_epsilon and max_grad_norm learning parameters.</li>
<li>Replaced save_preprocessed_data, save_preprocessed_data_path with a single parameter called save_path. Likewise for load_preprocessed_data and load_preprocessed_data_path being replaced by load_path.</li>
<li>Removed support for dictionary settings for the args parameter for training and evaluating.</li>
<li>Removed the preprocessing_processes parameter for training and evaluating.</li>
</ul>EricFilliontag:github.com,2008:Repository/213250662/2.4.12022-02-06T06:58:53ZUpdated Save Strategy <p>Contains fix from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1125110675" data-permission-text="Title is private" data-url="https://github.com/EricFillion/happy-transformer/issues/280" data-hovercard-type="pull_request" data-hovercard-url="/EricFillion/happy-transformer/pull/280/hovercard" href="https://github.com/EricFillion/happy-transformer/pull/280">#280</a> to ensure that models are not saved during training.</p>EricFilliontag:github.com,2008:Repository/213250662/2.4.02021-11-19T05:50:39ZHalf Precession Training and Encoding Format <ul>
<li>You can now use the set the training parameter called "fp16" to enable half precession training. This has the potential to decrease training time and memory consumption. <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="980559693" data-permission-text="Title is private" data-url="https://github.com/EricFillion/happy-transformer/issues/257" data-hovercard-type="issue" data-hovercard-url="/EricFillion/happy-transformer/issues/257/hovercard" href="https://github.com/EricFillion/happy-transformer/issues/257">#257</a></li>
<li>Set the encoding format to utf-8 for HappyTextClassification and HappyQuestionAnswering. <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1032114986" data-permission-text="Title is private" data-url="https://github.com/EricFillion/happy-transformer/issues/265" data-hovercard-type="pull_request" data-hovercard-url="/EricFillion/happy-transformer/pull/265/hovercard" href="https://github.com/EricFillion/happy-transformer/pull/265">#265</a></li>
</ul>EricFilliontag:github.com,2008:Repository/213250662/2.3.32021-10-30T18:17:51ZFixed use_auth_token not being passed to the HappyTransformer class<ol>
<li>Contains fix from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1040069495" data-permission-text="Title is private" data-url="https://github.com/EricFillion/happy-transformer/issues/268" data-hovercard-type="pull_request" data-hovercard-url="/EricFillion/happy-transformer/pull/268/hovercard" href="https://github.com/EricFillion/happy-transformer/pull/268">#268</a></li>
<li>Added text-to-text articles to docs to provide additional examples.</li>
</ol>EricFilliontag:github.com,2008:Repository/213250662/2.3.22021-10-29T23:03:06ZAdded Support For Private Models <p>Allows users to use their authentication token to access their private models from Hugging Face's Model Hub.</p>
<p>See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1039340747" data-permission-text="Title is private" data-url="https://github.com/EricFillion/happy-transformer/issues/266" data-hovercard-type="pull_request" data-hovercard-url="/EricFillion/happy-transformer/pull/266/hovercard" href="https://github.com/EricFillion/happy-transformer/pull/266">#266</a></p>EricFilliontag:github.com,2008:Repository/213250662/2.3.12021-09-11T16:05:23ZAdded Support to Prevent Bad Words/Phrases<p>See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="982675041" data-permission-text="Title is private" data-url="https://github.com/EricFillion/happy-transformer/issues/258" data-hovercard-type="pull_request" data-hovercard-url="/EricFillion/happy-transformer/pull/258/hovercard" href="https://github.com/EricFillion/happy-transformer/pull/258">#258</a> and <a href="https://happytransformer.com/text-generation/settings/" rel="nofollow">https://happytransformer.com/text-generation/settings/</a></p>EricFilliontag:github.com,2008:Repository/213250662/2.3.02021-08-15T03:29:44Z2.3.0: Text-to-Text Fine-Tuning <p>You can now fine-tune text-to-text models like T5! Common applications of text-to-text finetuning include translation, summarization and grammar correction. You can find examples of these three applications under the example's folder <a href="https://github.com/EricFillion/happy-transformer/tree/master/examples/text-to-text">here</a>. You can also view the new documentation on the <a href="https://happytransformer.com/text-to-text/finetuning/" rel="nofollow">website</a>.</p>EricFilliontag:github.com,2008:Repository/213250662/2.2.52021-07-21T17:01:24Z2.2.5: Increase tqdm version <p>See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="949920246" data-permission-text="Title is private" data-url="https://github.com/EricFillion/happy-transformer/issues/243" data-hovercard-type="pull_request" data-hovercard-url="/EricFillion/happy-transformer/pull/243/hovercard" href="https://github.com/EricFillion/happy-transformer/pull/243">#243</a></p>EricFilliontag:github.com,2008:Repository/213250662/2.2.42021-06-17T19:37:05ZText-to-text!<ul>
<li>Added text-to-text functionality</li>
<li>Fixed a bug regarding using word prediction with ALBERT. Sometimes the model would predict a blank string which would cause an exception during post-processing. Also added the preventative code to RoBERTa's post-processing method.</li>
</ul>
<p><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="924265532" data-permission-text="Title is private" data-url="https://github.com/EricFillion/happy-transformer/issues/236" data-hovercard-type="pull_request" data-hovercard-url="/EricFillion/happy-transformer/pull/236/hovercard" href="https://github.com/EricFillion/happy-transformer/pull/236">#236</a></p>EricFilliontag:github.com,2008:Repository/213250662/2.2.32021-06-12T22:20:51ZAdded Top-p To Text Generation Settings<p>Merge pull request <a class="issue-link js-issue-link" href="https://github.com/EricFillion/happy-transformer/pull/235">#235</a> from EricFillion/ef/fix-gen-setting-table</p>
<p>Fixed Text Generation Setting Table</p>EricFillion