-
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.
- Updated
README.md
to reflect changes in the Ruby code snippet.
- Added dependencies `serde` and `serde_json` to `Cargo.toml` in the `ext/candle` directory. - Modified `lib.rs` in the `ext/candle/src` directory to add new methods `new1`, `new2`, and `new3` to `RbModel`. - Updated `rb_model.rs` in the `ext/candle/src/model` directory to implement the new methods `new1`, `new2`, and `new3` in `RbModel`. - Added a new function `read_config` to read the config file in `rb_model.rs`. - Made changes to `build_model` method in `rb_model.rs` to load config from the config file path. - Added logging statements for debugging purposes in `rb_model.rs`. As a result, we can now load the Biobert embedding model and compute embeddings. There is an error loading the jina embedding model now that we will tackle next
- Loading branch information
Showing
4 changed files
with
48 additions
and
12 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
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