-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [Bert] Upgrade to Burn 0.13.0 * Convert Tensor::arrange arguments to i64 values * Use Param::from_tensor in the loaders * Use a consistent import style everywhere
- Loading branch information
Showing
6 changed files
with
31 additions
and
93 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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
authors = ["Aasheesh Singh [email protected]"] | ||
license = "MIT OR Apache-2.0" | ||
name = "bert-burn" | ||
version="0.1.0" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[features] | ||
|
@@ -19,14 +19,14 @@ safetensors = ["candle-core/default"] | |
|
||
[dependencies] | ||
# Burn | ||
burn = {version = "0.12.1", default-features = false} | ||
candle-core = { version = "0.3.2", optional = true} | ||
burn = { version = "0.13", default-features = false } | ||
candle-core = { version = "0.3.2", optional = true } | ||
# Tokenizer | ||
tokenizers = { version = "0.15.0", default-features = false, features = [ | ||
"onig", | ||
"http", | ||
] } | ||
burn-import = "0.12.1" | ||
burn-import = "0.13" | ||
derive-new = "0.6.0" | ||
hf-hub = { version = "0.3.2", features = ["tokio"] } | ||
|
||
|
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