Datasets:

Languages:
English
Multilinguality:
monolingual
Size Categories:
1M<n<10M
Language Creators:
crowdsourced
Annotations Creators:
crowdsourced
Source Datasets:
original
ArXiv:
License:
CyranoB commited on
Commit
35c8020
1 Parent(s): db89af3

Fixed script

Browse files
Files changed (1) hide show
  1. polarity.py +5 -5
polarity.py CHANGED
@@ -41,15 +41,15 @@ _HOMEPAGE = "https://registry.opendata.aws/"
41
  _LICENSE = "Apache License 2.0"
42
 
43
  _URLs = {
44
- "polarity": "https://drive.google.com/u/0/uc?id=1BZVmoU5AmGEcykurPzwUSmE49j4WEWhB&export=download",
45
  }
46
 
47
 
48
  class PolarityConfig(datasets.BuilderConfig):
49
- """BuilderConfig for AmazonPolarity."""
50
 
51
  def __init__(self, **kwargs):
52
- """BuilderConfig for AmazonPolarity.
53
 
54
  Args:
55
  **kwargs: keyword arguments forwarded to super.
@@ -57,14 +57,14 @@ class PolarityConfig(datasets.BuilderConfig):
57
  super(PolarityConfig, self).__init__(**kwargs)
58
 
59
 
60
- class AmazonPolarity(datasets.GeneratorBasedBuilder):
61
  """Amazon Polarity Classification Dataset."""
62
 
63
  VERSION = datasets.Version("3.0.0")
64
 
65
  BUILDER_CONFIGS = [
66
  PolarityConfig(
67
- name="polarity", version=VERSION, description="Amazon Polarity Classification Dataset."
68
  ),
69
  ]
70
 
 
41
  _LICENSE = "Apache License 2.0"
42
 
43
  _URLs = {
44
+ "CyranoB--polarity": "https://drive.google.com/u/0/uc?id=1BZVmoU5AmGEcykurPzwUSmE49j4WEWhB&export=download",
45
  }
46
 
47
 
48
  class PolarityConfig(datasets.BuilderConfig):
49
+ """BuilderConfig for CyranoBPolarity."""
50
 
51
  def __init__(self, **kwargs):
52
+ """BuilderConfig for CyranoBPolarity.
53
 
54
  Args:
55
  **kwargs: keyword arguments forwarded to super.
 
57
  super(PolarityConfig, self).__init__(**kwargs)
58
 
59
 
60
+ class CyranoBPolarity(datasets.GeneratorBasedBuilder):
61
  """Amazon Polarity Classification Dataset."""
62
 
63
  VERSION = datasets.Version("3.0.0")
64
 
65
  BUILDER_CONFIGS = [
66
  PolarityConfig(
67
+ name="CyranoB--polarity", version=VERSION, description="Amazon Polarity Classification Dataset."
68
  ),
69
  ]
70