https://github.com/ht0710/vietnamese-sentiment-analysis
https://github.com/ht0710/vietnamese-sentiment-analysis
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ht0710/vietnamese-sentiment-analysis
- Owner: HT0710
- Created: 2023-05-12T07:22:36.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-22T16:28:47.000Z (almost 2 years ago)
- Last Synced: 2025-01-14T01:48:12.459Z (6 months ago)
- Language: Python
- Size: 221 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sentiment-Analysis
## Main folders
- `datasets`: contains data
- `lightning_log`: contains logs during training
- `lightning_modules`: contains important modules
- `models`: contains models used for training## Main filess
- `dataset_generator.py`: Used to generate dataset from raw data
- `requirements.txt`: Python packages needed for the project. Install:
```bash
pip install -r requirements.txt
```
- `config.yaml`: Configuration for training and testing process
> **Adjust the config** before training or testing- `main.py`: Used for training
```bash
python train.py --epoch 10 --learning_rate 0.001 --batch 128
```
- `test.py`: Used for testing
```bash
python test.py
# or
python test.py --prompt "tuyệt vời"
```