Skip to content

2 more tokenization tests #2543

2 more tokenization tests

2 more tokenization tests #2543

Triggered via pull request March 7, 2025 10:25
Status Failure
Total duration 5m 20s
Artifacts

lint-test-build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors
lint-lib: discojs/src/processing/decode.ts#L13
Unsafe assignment of an `any` value
lint-lib: discojs/src/processing/decode.ts#L15
Unsafe argument of type `any` assigned to a parameter of type `number[] | Tensor`
lint-lib: discojs/src/processing/decode.ts#L15
Unsafe member access .input_ids on an `any` value
lint-lib: discojs/src/processing/tokenize.ts#L13
Unexpected any. Specify a different type
lint-lib: discojs/src/processing/tokenize.ts#L14
Unsafe assignment of an `any` value
lint-lib: discojs/src/processing/tokenize.ts#L14
Unexpected any. Specify a different type
lint-lib: discojs/src/processing/tokenize.ts#L15
Unsafe member access .input_ids on an `any` value
lint-lib: discojs/src/processing/tokenize.ts#L18
Unsafe argument of type `any` assigned to a parameter of type `ArrayLike<number> | Iterable<number> | undefined`
lint-lib: discojs/src/processing/tokenize.ts#L18
Unsafe member access .input_ids on an `any` value
lint-lib
Process completed with exit code 1.
test-lib
Process completed with exit code 1.