mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
Relative imports
This commit is contained in:
parent
f09e5ecef0
commit
0b82e3d0d9
@ -14,7 +14,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from glue import (ColaProcessor,
|
||||
from .glue import (ColaProcessor,
|
||||
MnliProcessor,
|
||||
MnliMismatchedProcessor,
|
||||
MrpcProcessor,
|
||||
@ -27,7 +27,7 @@ from glue import (ColaProcessor,
|
||||
convert_examples_to_glue_features,
|
||||
)
|
||||
|
||||
from utils import DataProcessor, simple_accuracy, acc_and_f1, pearson_and_spearman, compute_metrics
|
||||
from .utils import DataProcessor, simple_accuracy, acc_and_f1, pearson_and_spearman, compute_metrics
|
||||
|
||||
processors = {
|
||||
"cola": ColaProcessor,
|
||||
|
@ -15,7 +15,7 @@
|
||||
# limitations under the License.
|
||||
""" GLUE processors and helpers """
|
||||
|
||||
from utils import DataProcessor
|
||||
from .utils import DataProcessor
|
||||
import logging
|
||||
import os
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user