fix import issue
This commit is contained in:
Родитель
7f0a2d5a79
Коммит
2748b98ce2
|
@ -65,7 +65,7 @@
|
|||
"import time\n",
|
||||
"\n",
|
||||
"from utils_nlp.dataset.cnndm import CNNDMSummarizationDatasetOrg\n",
|
||||
"from utils_nlp.models.abstractive_summarization_seq2seq import S2SAbsSumProcessor, S2SAbstractiveSummarizer\n",
|
||||
"from utils_nlp.models.transformers.abstractive_summarization_seq2seq import S2SAbsSumProcessor, S2SAbstractiveSummarizer\n",
|
||||
"from utils_nlp.eval import compute_rouge_python\n",
|
||||
"\n",
|
||||
"start_time = time.time()"
|
||||
|
|
|
@ -4,7 +4,7 @@ import jsonlines
|
|||
|
||||
import torch
|
||||
|
||||
from utils_nlp.models.abstractive_summarization_seq2seq import (
|
||||
from utils_nlp.models.transformers.abstractive_summarization_seq2seq import (
|
||||
S2SAbsSumProcessor,
|
||||
S2SAbstractiveSummarizer
|
||||
)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
import os
|
||||
import pytest
|
||||
|
||||
from utils_nlp.models.abstractive_summarization_seq2seq import (
|
||||
from utils_nlp.models.transformers.abstractive_summarization_seq2seq import (
|
||||
S2SAbsSumProcessor,
|
||||
S2SAbstractiveSummarizer,
|
||||
S2SConfig
|
||||
|
|
Загрузка…
Ссылка в новой задаче