Francisco Castillo commited on
Commit
a8b61e4
·
1 Parent(s): 2d9ef74

Update loading script

Browse files
ecommerce_reviews_language_drift.py CHANGED
@@ -40,7 +40,12 @@ _CITATION = ""
40
  # TODO: Add description of the dataset here
41
  # You can copy an official description
42
  _DESCRIPTION = """\
43
- This dataset was crafted to be used in our tutorial [Link to the tutorial when ready]. It consists on a large Movie Review Dataset mixed with some reviews from a Hotel Review Dataset. The training/validation set are purely obtained from the Movie Review Dataset while the production set is mixed. Some other features have been added (age, gender, context) as well as a made up timestamp prediction_ts of when the inference took place.
 
 
 
 
 
44
  """
45
 
46
  # TODO: Add a link to an official homepage for the dataset here
@@ -52,7 +57,7 @@ _LICENSE = ""
52
  # TODO: Add link to the official dataset URLs here
53
  # The HuggingFace Datasets library doesn't host the datasets but only points to the original files.
54
  # This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
55
- _URL = "https://huggingface.co/datasets/arize-ai/reviews_with_drift/resolve/main/"
56
  _URLS = {
57
  "training": _URL + "training.csv",
58
  "validation": _URL + "validation.csv",
 
40
  # TODO: Add description of the dataset here
41
  # You can copy an official description
42
  _DESCRIPTION = """\
43
+ This dataset was crafted to be used in our tutorial [Link to the tutorial when
44
+ ready]. It consists on product reviews from an e-commerce store. The reviews
45
+ are labeled on a scale from 1 to 5 (stars). The training & validation sets are
46
+ fully composed by reviews written in english. However, the production set has
47
+ some reviews written in spanish. At Arize, we work to surface this issue and
48
+ help you solve it.
49
  """
50
 
51
  # TODO: Add a link to an official homepage for the dataset here
 
57
  # TODO: Add link to the official dataset URLs here
58
  # The HuggingFace Datasets library doesn't host the datasets but only points to the original files.
59
  # This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
60
+ _URL = "https://huggingface.co/datasets/arize-ai/ecommerce_reviews_language_drift/resolve/main/"
61
  _URLS = {
62
  "training": _URL + "training.csv",
63
  "validation": _URL + "validation.csv",