-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add
model_kwargs
to ExtractiveReader to impact model loading (#…
…6257) * Add ability to pass model_kwargs to AutoModelForQuestionAnswering * Add testing for new model_kwargs * Add spacing * Add release notes * Update haystack/preview/components/readers/extractive.py Co-authored-by: Stefano Fiorucci <[email protected]> * Make changes suggested by Stefano --------- Co-authored-by: Stefano Fiorucci <[email protected]>
- Loading branch information
Showing
3 changed files
with
40 additions
and
4 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
5 changes: 5 additions & 0 deletions
5
releasenotes/notes/add-model-kwargs-extractive-reader-c0b65ab34572408f.yaml
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
enhancements: | ||
- | | ||
Add new variable model_kwargs to the ExtractiveReader so we can pass different loading options supported by | ||
HuggingFace. |
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