File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ Or you can even run it straight in the browser: [talk.wasm](examples/talk.wasm)
61
61
- Various other examples are available in the [ examples] ( examples ) folder
62
62
63
63
The tensor operators are optimized heavily for Apple silicon CPUs. Depending on the computation size, Arm Neon SIMD
64
- instrisics or CBLAS Accelerate framework routines are used. The latter are especially effective for bigger sizes since
64
+ intrinsics or CBLAS Accelerate framework routines are used. The latter are especially effective for bigger sizes since
65
65
the Accelerate framework utilizes the special-purpose AMX coprocessor available in modern Apple products.
66
66
67
67
## Quick start
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ static void byteswap_tensor(ggml_tensor * tensor) {
82
82
} while (0 )
83
83
#define BYTESWAP_TENSOR (t ) \
84
84
do { \
85
- byteswap_tensor (tensor ); \
85
+ byteswap_tensor (t ); \
86
86
} while (0 )
87
87
#else
88
88
#define BYTESWAP_VALUE (d ) do {} while (0 )
@@ -589,7 +589,7 @@ struct whisper_model {
589
589
struct whisper_sequence {
590
590
std::vector<whisper_token_data> tokens;
591
591
592
- // the accumulated transcription in the current interation (used to truncate the tokens array)
592
+ // the accumulated transcription in the current iteration (used to truncate the tokens array)
593
593
int result_len;
594
594
595
595
double sum_logprobs_all; // the sum of the log probabilities of the tokens
Original file line number Diff line number Diff line change @@ -346,7 +346,7 @@ extern "C" {
346
346
void * user_data );
347
347
348
348
// Parameters for the whisper_full() function
349
- // If you chnage the order or add new parameters, make sure to update the default values in whisper.cpp:
349
+ // If you change the order or add new parameters, make sure to update the default values in whisper.cpp:
350
350
// whisper_full_default_params()
351
351
struct whisper_full_params {
352
352
enum whisper_sampling_strategy strategy ;
You can’t perform that action at this time.
0 commit comments