8000 GitHub - hoadm-net/FT4VSA: This project aims to explore and evaluate various fine-tuning techniques for the task of Vietnamese sentiment analysis.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

This project aims to explore and evaluate various fine-tuning techniques for the task of Vietnamese sentiment analysis.

Notifications You must be signed in to change notification settings

hoadm-net/FT4VSA

Repository files navigation

Fine-tuning for Vietnamese Sentiment Analysis

1. Purpose

This project aims to explore and evaluate various fine-tuning techniques for the task of Vietnamese sentiment analysis.

2. Objectives

  • Gain a comprehensive understanding of fundamental fine-tuning techniques, including Full Model Fine-tuning and Parameter-Efficient Fine-Tuning (PEFT) methods such as Adapter, LoRA, and QLoRA.
  • Learn to utilize multiple GPUs for fine-tuning large-scale models (e.g., ViT5).
  • Achieve results suitable for submission to an international scientific conference.

3. Datasets

The following datasets are used in this project:

4. Large Language Models

The project utilizes the following Vietnamese pre-trained language models:

5. Fine-tuning Techniques

  1. Full Model Fine-tuning
  2. LoRA (Low-Rank Adaptation)
  3. QLoRA
  4. Adapter

6. Install dependencies

The following libraries need to be installed:

pip install pandas
pip install transformers datasets adapters peft bitsandbytes
pip install lightning torchmetrics
pip install underthesea
pip install gputil
pip install matplotlib seaborn

7. Experiment

All scripts include an argument parser, so you can run any Python script with the --help parameter to see usage instructions. See the example below.

python vsfc_full_fine_tune.py --help

About

This project aims to explore and evaluate various fine-tuning techniques for the task of Vietnamese sentiment analysis.

Topics

Resources

Stars

Watchers

Forks

0