Skip to content

Commit ae75ed5

Browse files
committed
update: test
1 parent 9479cfa commit ae75ed5

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
source: backends/candle/tests/test_modernbert.rs
3+
expression: predictions_single
4+
---
5+
- - 2.2585099

backends/candle/tests/test_modernbert.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -148,13 +148,7 @@ fn test_modernbert_classification() -> Result<()> {
148148

149149
let input_single = batch(
150150
vec![tokenizer
151-
.encode(
152-
(
153-
"PrimeTime is a timing signoff tool",
154-
"PrimeTime can perform most accurate timing analysis",
155-
),
156-
true,
157-
)
151+
.encode(("What is Deep Learning?", "Deep Learning is not..."), true)
158152
.unwrap()],
159153
[0].to_vec(),
160154
vec![],

0 commit comments

Comments
 (0)