eduagarcia commited on
Commit
2f633e1
·
1 Parent(s): d3c3722
Files changed (1) hide show
  1. generic_conll.py +1 -16
generic_conll.py CHANGED
@@ -1,20 +1,5 @@
1
  # coding=utf-8
2
- # Copyright 2020 HuggingFace Datasets Authors.
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
-
16
  # Lint as: python3
17
- """Introduction to the CoNLL-2003 Shared Task: Language-Independent Named Entity Recognition"""
18
 
19
  import os
20
 
@@ -57,7 +42,7 @@ class Conll(datasets.GeneratorBasedBuilder):
57
  )
58
 
59
  def _split_generators(self, dl_manager):
60
- """Returns SplitGenerators.""".
61
  if not self.config.data_files:
62
  raise ValueError(f"At least one data file must be specified, but got data_files={self.config.data_files}")
63
  data_files = dl_manager.download_and_extract(self.config.data_files)
 
1
  # coding=utf-8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  # Lint as: python3
 
3
 
4
  import os
5
 
 
42
  )
43
 
44
  def _split_generators(self, dl_manager):
45
+ """Returns SplitGenerators."""
46
  if not self.config.data_files:
47
  raise ValueError(f"At least one data file must be specified, but got data_files={self.config.data_files}")
48
  data_files = dl_manager.download_and_extract(self.config.data_files)