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

分類: PyTorch

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] 使用sampler處理imbalanced data

Posted on 10 1 月, 202110 1 月, 2021 by Philip

準備與資料 引入函式庫 import torch from torch.utils.data.sampler …

CategoriesPython, PyTorch
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