Upload folder using huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-classification
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
size_categories:
|
| 8 |
+
- n<1K
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# BestRunClassifier Dataset
|
| 12 |
+
|
| 13 |
+
This dataset contains the training and validation splits from the best-performing hyperparameter run of our text classifier.
|
| 14 |
+
|
| 15 |
+
## Run Configuration
|
| 16 |
+
|
| 17 |
+
| Parameter | Value |
|
| 18 |
+
|---|---|
|
| 19 |
+
| Learning Rate | 0.0003 |
|
| 20 |
+
| Batch Size | 32 |
|
| 21 |
+
| Epochs | 20 |
|
| 22 |
+
| Dropout | 0.3 |
|
| 23 |
+
|
| 24 |
+
## Metrics
|
| 25 |
+
|
| 26 |
+
| Metric | Value |
|
| 27 |
+
|---|---|
|
| 28 |
+
| Train Loss | 0.195 |
|
| 29 |
+
| Val Loss | 0.342 |
|
| 30 |
+
| Train Accuracy | 0.941 |
|
| 31 |
+
| Val Accuracy | 0.872 |
|
| 32 |
+
| Train F1 | 0.938 |
|
| 33 |
+
| Val F1 | 0.847 |
|
| 34 |
+
|
| 35 |
+
## Dataset Structure
|
| 36 |
+
|
| 37 |
+
- `train.csv`: Training split with columns `text` and `label` (positive/negative/neutral).
|
| 38 |
+
- `val.csv`: Validation split with columns `text` and `label` (positive/negative/neutral).
|
| 39 |
+
- `metrics.json`: Full metrics and configuration for the best run.
|
| 40 |
+
|
| 41 |
+
## Usage
|
| 42 |
+
|
| 43 |
+
```python
|
| 44 |
+
from datasets import load_dataset
|
| 45 |
+
ds = load_dataset("username/BestRunClassifier-Data")
|
| 46 |
+
```
|
| 47 |
+
|
| 48 |
+
## License
|
| 49 |
+
|
| 50 |
+
This dataset is released under the MIT License.
|
metrics.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"run_id": "run_003",
|
| 3 |
+
"config": {
|
| 4 |
+
"learning_rate": 0.0003,
|
| 5 |
+
"batch_size": 32,
|
| 6 |
+
"epochs": 20,
|
| 7 |
+
"dropout": 0.3
|
| 8 |
+
},
|
| 9 |
+
"metrics": {
|
| 10 |
+
"train_loss": 0.195,
|
| 11 |
+
"val_loss": 0.342,
|
| 12 |
+
"train_accuracy": 0.941,
|
| 13 |
+
"val_accuracy": 0.872,
|
| 14 |
+
"train_f1": 0.938,
|
| 15 |
+
"val_f1": 0.847
|
| 16 |
+
}
|
| 17 |
+
}
|
train.csv
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
text,label
|
| 2 |
+
"Superb craftsmanship and design",positive
|
| 3 |
+
"Failed to meet advertised claims",negative
|
| 4 |
+
"Reasonable quality for budget option",neutral
|
| 5 |
+
"Best in class, truly exceptional",positive
|
| 6 |
+
"Arrived late and missing parts",negative
|
| 7 |
+
"Fair product with minor issues",neutral
|
| 8 |
+
"Top-notch, will definitely buy again",positive
|
| 9 |
+
"Horrible, returned immediately",negative
|
| 10 |
+
"Acceptable but room for improvement",neutral
|
val.csv
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
text,label
|
| 2 |
+
"Absolutely wonderful, five stars",positive
|
| 3 |
+
"Defective unit, requesting refund",negative
|
| 4 |
+
"Does what it says, no more no less",neutral
|