Skip to content

The coding day 整天打扣

You have to believe in yourself. That's the secret of success.

  • React
  • NLP
  • Meme Maker
  • GitHub
  • About Me

分類: NLP

Fine-tuning GPT with Transformers and Pytorch

Posted on 3 2 月, 20213 2 月, 2021 by Philip

Import from transformers import AutoModelWithLMHead,Aut…

CategoriesNLP, PyTorch

[PyTorch] 使用 collate_fn 處理 Dataset 產生不定長度資料

Posted on 13 11 月, 202016 11 月, 2020 by Philip

pytorch Dataset進階用法,我們在使用這個class的時候會覆寫原本的__getitem__方法 …

CategoriesNLP, Python

以numpy示例如何計算Self-Attention

Posted on 5 8 月, 20205 8 月, 2020 by Philip

Attention 公式 公式中的(Q)uerys, (K)eys, (V)alues可以視為一種repres…

CategoriesNLP, Python

讀Paper – A Lite BERT for Self-supervised Learning of Language Representations

Posted on 5 12 月, 20195 12 月, 2019 by Philip

https://blog.thecodingday.com/wp-content/uploads/2019/1…

CategoriesNLP, Reading

BERT QA 機器人實戰 – 下篇

Posted on 2 12 月, 201918 4 月, 2020 by Philip
BERT QA 機器人實戰 – 下篇

上篇稍微帶一下原理,下篇開始帶code 這邊所有用到的程式碼都會放在我的GitHub https://gith…

CategoriesNLP, Python

BERT QA 機器人實戰 – 上篇

Posted on 19 11 月, 201911 2 月, 2020 by Philip
BERT QA 機器人實戰 – 上篇

雖然說是QA機器人,但其實就是用BERT做一個分類器而已 😆 使用環境與套件 Python 3.6PyTorc…

CategoriesNLP, Python
Philip's coding note
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok