Update CMB.py
Browse files13 unmodified lines1415161718192012 unmodified lines333435363738391 unmodified line4142434445464715 unmodified lines63646566676869103 unmodified lines17317417517617717817913 unmodified lines# limitations under the License.# Lint as: python3"""The General Language Understanding Evaluation (GLUE) benchmark."""import csvimport os12 unmodified lines_CMB_DESCRIPTION = """\coming soon~"""1 unmodified lineclass CMBConfig(datasets.BuilderConfig):"""BuilderConfig for GLUE."""def __init__(self,15 unmodified linesclass CMB(datasets.GeneratorBasedBuilder):"""The General Language Understanding Evaluation (GLUE) benchmark."""BUILDER_CONFIGS = [CMBConfig(103 unmodified linesdatasets.SplitGenerator(name=datasets.Split.TEST,gen_kwargs={"data_file": os.path.join(main_data_dir, 'CMB-test-qa.json'),"split": "test",},)13 unmodified lines1415161718192012 unmodified lines333435363738391 unmodified line4142434445464715 unmodified lines63646566676869103 unmodified lines17317417517617717817913 unmodified lines# limitations under the License.# Lint as: python3"""The Chinese Medical Benchmark (CMB)"""import csvimport os12 unmodified lines_CMB_DESCRIPTION = """\Chinese Medical Benchmark"""1 unmodified lineclass CMBConfig(datasets.BuilderConfig):"""BuilderConfig for CMB"""def __init__(self,15 unmodified linesclass CMB(datasets.GeneratorBasedBuilder):"""The Chinese Medical Benchmark (CMB)"""BUILDER_CONFIGS = [CMBConfig(103 unmodified linesdatasets.SplitGenerator(name=datasets.Split.TEST,gen_kwargs={"data_file": os.path.join(main_data_dir, 'CMB-Clin-qa.json'),"split": "test",},)
CMB.py+5-5