arxyzan commited on
Commit
c705152
1 Parent(s): 53d25e8

Rename lscp-500k.py to lscp-pos-500k.py

Browse files
Files changed (1) hide show
  1. lscp-500k.py → lscp-pos-500k.py +10 -10
lscp-500k.py → lscp-pos-500k.py RENAMED
@@ -1,5 +1,5 @@
1
  """
2
- A randomly sampled 500K portion of the original LSCP dataset (Enhanced Large Scale Colloquial Persian Language Understanding) provided by Hezar AI.
3
  """
4
 
5
  import os
@@ -41,12 +41,12 @@ annotated with parsing tree, part-of-speech tags, sentiment polarity and transla
41
  """
42
 
43
  _DOWNLOAD_URLS = {
44
- "train": "https://huggingface.co/datasets/hezarai/lscp-500k/resolve/main/lscp-500k_train.csv",
45
- "test": "https://huggingface.co/datasets/hezarai/lscp-500k/resolve/main/lscp-500k_test.csv",
46
  }
47
 
48
 
49
- class LSCP500KConfig(datasets.BuilderConfig):
50
  """BuilderConfig for LSCP-500K"""
51
 
52
  def __init__(self, **kwargs):
@@ -54,17 +54,17 @@ class LSCP500KConfig(datasets.BuilderConfig):
54
  Args:
55
  **kwargs: keyword arguments forwarded to super.
56
  """
57
- super(LSCP500KConfig, self).__init__(**kwargs)
58
 
59
 
60
- class LSCP500K(datasets.GeneratorBasedBuilder):
61
  """LSCP500K dataset."""
62
 
63
  BUILDER_CONFIGS = [
64
- LSCP500KConfig(
65
- name="lscp-500k",
66
  version=datasets.Version("1.0.0"),
67
- description="LSCP500K dataset",
68
  ),
69
  ]
70
 
@@ -106,7 +106,7 @@ class LSCP500K(datasets.GeneratorBasedBuilder):
106
  }
107
  ),
108
  supervised_keys=None,
109
- homepage="https://huggingface.co/datasets/hezarai/lscp-500k",
110
  citation=_CITATION,
111
  )
112
 
 
1
  """
2
+ A randomly sampled 500K portion of the original LSCP dataset (Enhanced Large Scale Colloquial Persian Language Understanding) for part-of-speech tagging provided by Hezar AI.
3
  """
4
 
5
  import os
 
41
  """
42
 
43
  _DOWNLOAD_URLS = {
44
+ "train": "https://huggingface.co/datasets/hezarai/lscp-pos-500k/resolve/main/lscp-pos-500k_train.csv",
45
+ "test": "https://huggingface.co/datasets/hezarai/lscp-pos-500k/resolve/main/lscp-pos-500k_test.csv",
46
  }
47
 
48
 
49
+ class LSCPPOS500KConfig(datasets.BuilderConfig):
50
  """BuilderConfig for LSCP-500K"""
51
 
52
  def __init__(self, **kwargs):
 
54
  Args:
55
  **kwargs: keyword arguments forwarded to super.
56
  """
57
+ super(LSCPPOS500KConfig, self).__init__(**kwargs)
58
 
59
 
60
+ class LSCPPOS500K(datasets.GeneratorBasedBuilder):
61
  """LSCP500K dataset."""
62
 
63
  BUILDER_CONFIGS = [
64
+ LSCPPOS500KConfig(
65
+ name="lscp-pos-500k",
66
  version=datasets.Version("1.0.0"),
67
+ description="A randomly sampled 500K portion of the original LSCP dataset (Enhanced Large Scale Colloquial Persian Language Understanding) for part-of-speech tagging provided by Hezar AI.",
68
  ),
69
  ]
70
 
 
106
  }
107
  ),
108
  supervised_keys=None,
109
+ homepage="https://huggingface.co/datasets/hezarai/lscp-pos-500k",
110
  citation=_CITATION,
111
  )
112