Skip to content

October 2021

[Unity] Button Event: OnPointerDown() and OnPointerUp()

Last Updated on 2021-10-28 by Clay

The button component is built in the Unity UI layout, so we can simply to create the function to trigger the button event when user clicking. But if it is necessary to set the events of the button “pressed” and “released” separately, we can write a script to inherit the Button class, and override the OnPointerDown() event and OnPointerUp() event.

Read More »[Unity] Button Event: OnPointerDown() and OnPointerUp()

[PyTorch] How to Use HuggingFace Transformers Package (With BERT Example)

Last Updated on 2021-10-27 by Clay

At the end of 2018, the transformer model BERT occupied the rankings of major NLP competitions, and performed quite well. I have been interested in transform models such as BERT, so today I started to record how to use the transformers package developed by HuggingFace.

Read More »[PyTorch] How to Use HuggingFace Transformers Package (With BERT Example)
Exit mobile version