Aluode/PerceptionLabPortable
0
1# Copyright 2020 The HuggingFace Team. All rights reserved.2#3# Licensed under the Apache License, Version 2.0 (the "License");4# you may not use this file except in compliance with the License.5# You may obtain a copy of the License at6#7# http://www.apache.org/licenses/LICENSE-2.08#9# Unless required by applicable law or agreed to in writing, software10# distributed under the License is distributed on an "AS IS" BASIS,11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.12# See the License for the specific language governing permissions and13# limitations under the License.14 15from .data_collator import (16 DataCollatorForLanguageModeling,17 DataCollatorForMultipleChoice,18 DataCollatorForPermutationLanguageModeling,19 DataCollatorForSeq2Seq,20 DataCollatorForSOP,21 DataCollatorForTokenClassification,22 DataCollatorForWholeWordMask,23 DataCollatorWithFlattening,24 DataCollatorWithPadding,25 DefaultDataCollator,26 default_data_collator,27)28from .metrics import glue_compute_metrics, xnli_compute_metrics29from .processors import (30 DataProcessor,31 InputExample,32 InputFeatures,33 SingleSentenceClassificationProcessor,34 SquadExample,35 SquadFeatures,36 SquadV1Processor,37 SquadV2Processor,38 glue_convert_examples_to_features,39 glue_output_modes,40 glue_processors,41 glue_tasks_num_labels,42 squad_convert_examples_to_features,43 xnli_output_modes,44 xnli_processors,45 xnli_tasks_num_labels,46)47 