Spaces:
Sleeping
Sleeping
|
Download README.md from Khoa/generic-sentiment: direct link, hf CLI and curl.
- Browser
- Download file 1.37 kB
-
https://huggingface.co/spaces/Khoa/generic-sentiment/resolve/main/README.md
- Command line
-
hf download hf://spaces/Khoa/generic-sentiment/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Khoa/generic-sentiment/resolve/main/README.md
1.37 kB
A newer version of the Gradio SDK is available: 6.32.0
metadata
title: Vietnamese Sentiment Analyzer
emoji: 💬
colorFrom: blue
colorTo: indigo
sdk: gradio
sdk_version: 5.49.1
app_file: app.py
pinned: false
Vietnamese Sentiment Analyzer
Upload an Excel file, run Vietnamese sentiment classification, and download the
resulting Excel file with a Sentiment column.
Required columns
TitleContentDescriptionType
For Type ending in Comment, the app classifies Content.
For Type ending in Topic, it combines Content, Title, and Description.
Deploy on Hugging Face Spaces
- Create a new Space at https://huggingface.co/new-space
- Select Gradio as the SDK.
- Upload
app.py,requirements.txt, andREADME.mdfrom this project. - Wait for the Space to build and the model to download.
- Open the Space, upload an
.xlsxfile, click Chạy sentiment, then download the output.
The default model is 5CD-AI/Vietnamese-Sentiment-visobert. You can change the model
ID in the interface or set SENTIMENT_MODEL_PATH in Space variables.
Notes
- CPU Spaces can be slow for large files. GPU hardware is optional and may incur cost.
SENTIMENT_FP16=1enables half precision only when CUDA is available..xlsxis recommended..xlsinput may require the optionalxlrdpackage depending on the file format; if needed, addxlrdtorequirements.txt.