Spaces:
Runtime error
Runtime error
Update CEFR_evaluator/level_model.py
Browse files
CEFR_evaluator/level_model.py
CHANGED
|
@@ -2,8 +2,8 @@ import torch, random, itertools, tqdm
|
|
| 2 |
import numpy as np
|
| 3 |
from torch import nn
|
| 4 |
from torch.utils.data import DataLoader
|
| 5 |
-
from util import mean_pooling, read_corpus, CEFRDataset, convert_numeral_to_six_levels
|
| 6 |
-
from model_base import LevelEstimaterBase
|
| 7 |
|
| 8 |
|
| 9 |
class LevelEstimaterClassification(LevelEstimaterBase):
|
|
|
|
| 2 |
import numpy as np
|
| 3 |
from torch import nn
|
| 4 |
from torch.utils.data import DataLoader
|
| 5 |
+
from .util import mean_pooling, read_corpus, CEFRDataset, convert_numeral_to_six_levels
|
| 6 |
+
from .model_base import LevelEstimaterBase
|
| 7 |
|
| 8 |
|
| 9 |
class LevelEstimaterClassification(LevelEstimaterBase):
|