Skip to content

Commit

Permalink
fixes #506
Browse files Browse the repository at this point in the history
  • Loading branch information
amaiya committed Jul 22, 2023
1 parent 25f2e59 commit be77a44
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Most recent releases are shown at the top. Each release shows:
- **Fixed**: Bug fixes that don't change documented behaviour


## 0.37.5 (TBD)
## 0.37.5 (2023-07-22)

### new:
- N/A
Expand All @@ -17,6 +17,7 @@ Most recent releases are shown at the top. Each release shows:

### fixed:
- Removed pin on `scikit-learn`, as `eli5-tf` repo was updated to support `scikit-learn>=1.3` (#505)
- pin to `paper-qa==2.1.1` due to breaking changes (#506)


## 0.37.4 (2023-07-22)
Expand Down
1 change: 1 addition & 0 deletions ktrain/text/qa/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
from .extractive_qa import ExtractiveQABase, AnswerExtractor, SimpleQA
from .generative_qa import GenerativeQA
2 changes: 1 addition & 1 deletion ktrain/text/qa/generative_qa.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(self, llm=None):
"""
if not PAPERQA_INSTALLED:
raise Exception(
"GenerativeQA in ktrain requires the paper-qa package by Andrew White: pip install paper-qa"
"GenerativeQA in ktrain requires the paper-qa package by Andrew White: pip install paper-qa==2.1.1"
)
self.docs = Docs(llm)
if is_notebook():
Expand Down

0 comments on commit be77a44

Please sign in to comment.