Spaces:
Build error
Build error
File size: 1,028 Bytes
cf3b21f 00e4b04 cf3b21f 00e4b04 cf3b21f e8de709 |
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 |
---
title: Yelp Reviews
emoji: ⭐
colorFrom: purple
colorTo: red
sdk: gradio
sdk_version: 3.0.26
app_file: app.py
pinned: false
---
This space demonstrates how synthetic data generation can be performed on natural language columns, as found in the Yelp reviews dataset.
| review id | stars | useful | funny | cool | text |
|:---:|:---:|:---:|:---:|:---:|:---:|
| 0 | 5 | 1 | 0 | 1 | Wow! Yummy, different, delicious...
The model is a fine-tuned version of [facebook/bart-base](https://huggingface.com/facebook/bart-base) on Yelp reviews with the following input-output pairs:
- **Input**: "Generate review: stars: 5, useful: 1, funny: 0, cool: 1"
- **Output**: "Wow! Yummy, different, delicious. Our favorite is the lamb curry and korma. With 10 different kinds of naan!!! Don't let the outside deter you (because we almost changed our minds)...go in and try something new! You'll be glad you did!"
## Resources
- The Yelp reviews dataset can be found in json format [here](https://www.yelp.com/dataset).
|