Datasets:
File size: 5,176 Bytes
7b9faf4 1adae70 7b9faf4 1adae70 7b9faf4 1adae70 7b9faf4 1adae70 7b9faf4 1adae70 7b9faf4 1adae70 7b9faf4 1adae70 7b9faf4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 | ---
license: cc-by-nc-4.0
language:
- vi
pretty_name: ViHoRec
size_categories:
- 10K<n<100K
task_categories:
- other
tags:
- recommendation
- recommender-systems
- hotel
- vietnamese
- cold-start
- tabular
- entity-resolution
- parquet
- csv
configs:
- config_name: interactions
default: true
data_files:
- split: train
path: data/interactions/train-*.parquet
- config_name: users
data_files:
- split: train
path: data/users/train-*.parquet
- config_name: hotels
data_files:
- split: train
path: data/hotels/train-*.parquet
- config_name: benchmark
data_files:
- split: train
path: data/benchmark/train-*.parquet
- split: test
path: data/benchmark/test-*.parquet
dataset_info:
- config_name: interactions
features:
- name: user_id
dtype: string
- name: hotel_id
dtype: string
- name: rating
dtype: float32
- name: date
dtype: string
- name: source
dtype: string
splits:
- name: train
num_examples: 18267
- config_name: users
features:
- name: user_id
dtype: string
- name: n_interactions
dtype: int64
splits:
- name: train
num_examples: 6832
- config_name: hotels
features:
- name: hotel_id
dtype: string
- name: name
dtype: string
- name: location
dtype: string
splits:
- name: train
num_examples: 560
- config_name: benchmark
features:
- name: userID
dtype: int64
- name: itemID
dtype: int64
- name: rating
dtype: float32
- name: timestamp
dtype: int64
splits:
- name: train
num_examples: 9787
- name: test
num_examples: 800
---
# ViHoRec — Vietnamese Hotel Recommendation Dataset
Paper: [arXiv:2607.12946](https://arxiv.org/abs/2607.12946) · [Hugging Face Papers](https://huggingface.co/papers/2607.12946)
A **quality-controlled, anonymised, benchmark-ready** Vietnamese hotel
recommendation dataset for recommender-systems research.
| Resource | Count |
|---|---|
| Interactions (cleaned) | 18,267 |
| Users | 6,832 |
| Hotels | 560 |
| Benchmark split | 800 users × 535 hotels (9,787 train / 800 test) |
Sources: Booking.com, Traveloka, Ivivu. License: **CC BY-NC 4.0** (data), MIT (code on GitHub).
## Dataset Viewer / subsets
The Hub Dataset Viewer is configured via the YAML `configs` block above.
Use the **Subset** dropdown:
| Subset | Splits | Rows | Description |
|---|---|---|---|
| `interactions` (default) | `train` | 18,267 | user–hotel ratings |
| `users` | `train` | 6,832 | user aggregates |
| `hotels` | `train` | 560 | hotel metadata |
| `benchmark` | `train` / `test` | 9,787 / 800 | public LOO split |
Data files live under `data/<config>/<split>-00000-of-00001.parquet` (plus CSV twins for convenience).
## Load with 🤗 Datasets
```python
from datasets import load_dataset
# default subset = interactions
ds = load_dataset("MinhDS/ViHoRec")
print(ds["train"][0])
interactions = load_dataset("MinhDS/ViHoRec", "interactions")
users = load_dataset("MinhDS/ViHoRec", "users")
hotels = load_dataset("MinhDS/ViHoRec", "hotels")
benchmark = load_dataset("MinhDS/ViHoRec", "benchmark") # train + test
# streaming (no full download)
stream = load_dataset("MinhDS/ViHoRec", "interactions", split="train", streaming=True)
for row in stream.take(3):
print(row)
```
Or with pandas / Polars:
```python
import pandas as pd
interactions = pd.read_parquet("hf://datasets/MinhDS/ViHoRec/data/interactions/train-00000-of-00001.parquet")
train = pd.read_parquet("hf://datasets/MinhDS/ViHoRec/data/benchmark/train-00000-of-00001.parquet")
test = pd.read_parquet("hf://datasets/MinhDS/ViHoRec/data/benchmark/test-00000-of-00001.parquet")
```
## Repository layout (Hub)
```
data/
├── interactions/train-00000-of-00001.{parquet,csv}
├── users/train-00000-of-00001.{parquet,csv}
├── hotels/train-00000-of-00001.{parquet,csv}
└── benchmark/
├── train-00000-of-00001.{parquet,csv}
└── test-00000-of-00001.{parquet,csv}
benchmark/ # reference artifacts (not in Viewer configs)
├── user_map.csv / item_map.csv
├── split_config.json
└── baseline_results*.csv
DATASHEET.md
LICENSE
README.md
```
## Key statistics
- Raw interactions: 18,274 (Booking 7,597 / Traveloka 6,273 / Ivivu 4,404)
- After cleaning: **18,267** interactions, **6,832** users, **560** hotels
- Entity matching merged 21 cross-site name variants; 78 hotels on ≥2 sites
- Benchmark split: 800 users × 535 items, 9,787 train / 800 test, 97.53% sparse
## Full pipeline & code
The reproducible construction scripts live on GitHub:
[MinhNguyenDS/ViHoRec](https://github.com/MinhNguyenDS/ViHoRec).
```bash
# rebuild Hub-ready parquet/csv layout from release/
python scripts/prepare_hf_hub.py
# then: huggingface-cli upload MinhDS/ViHoRec hf_hub/ . --repo-type dataset
```
## Citation
If you use ViHoRec, please cite [arXiv:2607.12946](https://arxiv.org/abs/2607.12946)
See `DATASHEET.md` for provenance, ethics, and known limitations.
|