forked from CornellNLP/ConvoKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Scipy version update (CornellNLP#257)
- Loading branch information
1 parent
64f40a5
commit a114b28
Showing
16 changed files
with
91 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,31 @@ | ||
from .model import * | ||
from .util import * | ||
from .coordination import * | ||
from .politenessStrategies import * | ||
from .transformer import * | ||
from .convokitPipeline import * | ||
from .hyperconvo import * | ||
from .speakerConvoDiversity import * | ||
from .text_processing import * | ||
from .phrasing_motifs import * | ||
from .prompt_types import * | ||
from .classifier import * | ||
from .ranker import * | ||
from .forecaster import * | ||
from .fighting_words import * | ||
from .paired_prediction import * | ||
from .bag_of_words import * | ||
from .expected_context_framework import * | ||
from .surprise import * | ||
from .convokitConfig import * | ||
import warnings | ||
|
||
try: | ||
from .model import * | ||
from .util import * | ||
from .coordination import * | ||
from .politenessStrategies import * | ||
from .transformer import * | ||
from .convokitPipeline import * | ||
from .hyperconvo import * | ||
from .speakerConvoDiversity import * | ||
from .text_processing import * | ||
from .phrasing_motifs import * | ||
from .prompt_types import * | ||
from .classifier import * | ||
from .ranker import * | ||
from .forecaster import * | ||
from .fighting_words import * | ||
from .paired_prediction import * | ||
from .bag_of_words import * | ||
from .expected_context_framework import * | ||
from .surprise import * | ||
from .convokitConfig import * | ||
except Exception as e: | ||
print(f"An error occurred: {e}") | ||
warnings.warn( | ||
"If you are using ConvoKit with Google Colab, incorrect versions of some packages (ex. scipy) may be imported while runtime start. To fix the issue, restart the session and run all codes again. Thank you!" | ||
) | ||
|
||
|
||
# __path__ = __import__('pkgutil').extend_path(__path__, __name__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
12 changes: 6 additions & 6 deletions
12
examples/conversations-gone-awry/Conversations_Gone_Awry_Prediction.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
examples/politeness-strategies/Politeness_Strategies_in_MT-mediated_Communication.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters