Skip to content

Duong's Blog

About technology stuff that piqued my interest

  • English
  • Vietnamese
  • About me

Author: duongnt.bk

  • Home
  • duongnt.bk

Dùng init_subclass để thay thế cho metaclass

February 17, 2022February 17, 2022 duongnt.bk1 Comment on Dùng init_subclass để thay thế cho metaclass

Metaclass là một tính năng thú vị của Python. Nhưng trong một số trường hợp, nó là phức tạp hơn mức cần thiết. Lúc đó, ta có thể sử dụng hàm `init_subclass`.

Python, Vietnamese init_subclass, metaclass, python

Use init_subclass to replace metaclasses

February 17, 2022February 17, 2022 duongnt.bkLeave a Comment on Use init_subclass to replace metaclasses

Metaclass is an interesting feature in Python. But in many situations, it is overkilled. From version 3.6, we can replace it with the `init_subclass` method.

English, Python init_subclass, metaclass, python

Restore Vietnamese diacritics with Transformer

January 29, 2022January 31, 2022 duongnt.bk1 Comment on Restore Vietnamese diacritics with Transformer

In this article, we try to restore Vietnamese diacritics using a Transformer model. You don’t need to understand Vietnamese to read this, I promise :).

C#, English, Python deep-learning, keras, nlp

Thêm dấu cho Tiếng Việt bằng Transformer

January 29, 2022February 3, 2022 duongnt.bk1 Comment on Thêm dấu cho Tiếng Việt bằng Transformer

Thêm dấu cho Tiếng Việt không dấu là một vấn đề thú vị. Hôm nay, chúng ta sẽ dùng Transformer và các kỹ thuật machine translation để giải quyết vấn đề này.

C#, Python, Vietnamese deep-learning, keras, nlp

Tạo adversarial example bằng Tensorflow

January 16, 2022January 24, 2022 duongnt.bk1 Comment on Tạo adversarial example bằng Tensorflow

Adversarial example là tên gọi các ví dụ được tạo ra để đánh lừa model deep learning. Ta sẽ dùng Tensorflow và FSGM để tạo ra một ví dụ như thế.

Python, Vietnamese adversarial-example, deep-learning, python, TensorFlow

Create adversarial example with Tensorflow

January 16, 2022February 2, 2022 duongnt.bkLeave a Comment on Create adversarial example with Tensorflow

An adversarial example is a data point specifically crafted to fool a deep learning model. Today, we will use Tensorflow and FSGM to create one such example.

English, Python adversarial-example, deep-learning, python, TensorFlow

Dùng fast feature extraction để tăng tốc độ train model

January 11, 2022January 17, 2022 duongnt.bk1 Comment on Dùng fast feature extraction để tăng tốc độ train model

Nếu không có GPU thì việc train model sẽ rất tốn thời gian. Lúc này, ta có thể dùng fast feature extraction để tăng tốc độ train.

Python, Vietnamese deep-learning, fast-feature-extraction, python

Utilize fast feature extraction to speed up model training

January 11, 2022February 2, 2022 duongnt.bk1 Comment on Utilize fast feature extraction to speed up model training

It’s very time-consuming to train a deep learning model without a GPU. In that case, we can use fast feature extraction to speed up the training process.

English, Python deep-learning, fast-feature-extraction, python

Tối ưu hóa hyperparameter với KerasTuner

January 7, 2022January 10, 2022 duongnt.bk1 Comment on Tối ưu hóa hyperparameter với KerasTuner

Tối ưu hóa các hyperparameter cho một model deep learning là quá trình phức tạp. Tuy nhiên ta có thể tự động hóa một phần quá trình này bằng KerasTuner.

Python, Vietnamese deep-learning, kerastuner, python

Auto hyperparameters tuning with KerasTuner

January 7, 2022February 2, 2022 duongnt.bk1 Comment on Auto hyperparameters tuning with KerasTuner

Tuning hyperparameters for a deep learning model can be tendious. Fortunately, we can automate part of the tuning process with KerasTuner.

English, Python deep-learning, kerastuner, python

Posts navigation

Older posts
Newer posts
Copyright © 2025 Duong's Blog All rights reserved. Theme: Flash by ThemeGrill. Powered by WordPress