unduood/wangchanberta-absa-sports-facility
0
WangchanBERTa ABSA for Thai Sports/Fitness Reviews
Model Description
โมเดล Aspect-Based Sentiment Analysis (ABSA) สำหรับวิเคราะห์รีวิวธุรกิจสถานกีฬาภาษาไทย
Fine-tuned จาก WangchanBERTa
Aspects (8 categories)
Sentiments
none- ไม่ได้พูดถึงpositive- เชิงบวกneutral- เป็นกลางnegative- เชิงลบ
Usage
from huggingface_hub import snapshot_download
import torch
import json
# Download model
model_dir = snapshot_download(repo_id="unduood/wangchanberta-absa-sports-facility")
# Load and use (see inference notebook for full example)Model Architecture
WangchanBERTa (base)
↓
[CLS] token embedding (768)
↓
Shared Dense Layer (768 → 768)
↓
8 Aspect Classification Heads
↓
Each: 768 → 384 → 4 (sentiments)Training
- Base Model: airesearch/wangchanberta-base-att-spm-uncased
- Epochs: 5
- Batch Size: 16
- Learning Rate: 2e-05
- Max Length: 256 tokens
Files
pytorch_model.bin- Model weightsabsa_config.json- Model configurationtokenizer_config.json- Tokenizer configsentencepiece.bpe.model- SentencePiece modelmodeling_absa.py- Model class definition
Limitations
- ออกแบบมาสำหรับภาษาไทยเท่านั้น
- เหมาะสำหรับรีวิวธุรกิจสถานกีฬา
License
Apache 2.0
