Skip to content

August 2022

LeetCode Note Directory

Last Updated on 2023-12-18 by Clay

Writing At The Beginning

What is LeetCode?

LeetCode is a website that collects many kinds of programming questions. Although there are various questions, they are generally oriented to “Whiteboard Interview“; In other words, many programmers who repeatedly solve the questions on LeetCode.

Read More »LeetCode Note Directory

[Solved] HuggingFace Transformers Model Return “‘ValueError: too many values to unpack (expected 2)’, upon training a Bert binary classification model”

Last Updated on 2022-08-18 by Clay

In the current deep learning framework, whether using Tensorflow, PyTorch or others… the input and output of the model, the flow of data, we need to pay great attention to the shape of data. Because if you are not careful, the model will return an error message.

Read More »[Solved] HuggingFace Transformers Model Return “‘ValueError: too many values to unpack (expected 2)’, upon training a Bert binary classification model”