Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
csv
Languages:
Vietnamese
Size:
10K - 100K
Tags:
sentiment
Update README.md
Browse files
README.md
CHANGED
@@ -33,6 +33,24 @@ The dataset is in CSV format, comprising the following columns:
|
|
33 |
- `Sentiment`: The sentiment label, categorized as positive, negative, or neutral.
|
34 |
|
35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
## Author
|
37 |
`
|
38 |
dataset{minhtoan/vietnamese-comment-sentiment,
|
|
|
33 |
- `Sentiment`: The sentiment label, categorized as positive, negative, or neutral.
|
34 |
|
35 |
|
36 |
+
## Usage
|
37 |
+
|
38 |
+
You can load and use the Vietnamese Comment Sentiment dataset from the Hugging Face Hub using the `datasets` library in Python. Here’s how you can do it:
|
39 |
+
|
40 |
+
```python
|
41 |
+
from datasets import load_dataset
|
42 |
+
|
43 |
+
# Load the dataset
|
44 |
+
dataset = load_dataset("minhtoan/vietnamese-comment-sentiment")
|
45 |
+
|
46 |
+
# Access the train split
|
47 |
+
train_data = dataset['train']
|
48 |
+
|
49 |
+
# Display a sample data point
|
50 |
+
print(train_data[0])
|
51 |
+
|
52 |
+
|
53 |
+
|
54 |
## Author
|
55 |
`
|
56 |
dataset{minhtoan/vietnamese-comment-sentiment,
|