@qvac/sdk 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -98,11 +98,13 @@ export function completion(params) {
98
98
  const streamResponse = completionStreamResponseSchema.parse(response);
99
99
  if (!streamResponse.done) {
100
100
  const token = streamResponse.token;
101
- textBuffer += token;
102
- tokenQueue.push(token);
103
- if (tokenResolve) {
104
- tokenResolve();
105
- tokenResolve = null;
101
+ if (token) {
102
+ textBuffer += token;
103
+ tokenQueue.push(token);
104
+ if (tokenResolve) {
105
+ tokenResolve();
106
+ tokenResolve = null;
107
+ }
106
108
  }
107
109
  if (streamResponse.toolCallEvent) {
108
110
  toolEventQueue.push(streamResponse.toolCallEvent);
@@ -6,6 +6,7 @@ import { type TranscribeClientParams } from "../../schemas/index";
6
6
  * @param params - The arguments for the transcription
7
7
  * @param params.modelId - The identifier of the transcription model to use
8
8
  * @param params.audioChunk - Audio input as either a file path (string) or audio buffer
9
+ * @param params.prompt - Optional initial prompt to guide the transcription
9
10
  * @yields {string} Text chunks as they are transcribed
10
11
  * @throws {Error} When transcription fails with an error message
11
12
  */
@@ -17,6 +18,7 @@ export declare function transcribeStream(params: TranscribeClientParams): AsyncG
17
18
  * @param params - The arguments for the transcription
18
19
  * @param params.modelId - The identifier of the transcription model to use
19
20
  * @param params.audioChunk - Audio input as either a file path (string) or audio buffer
21
+ * @param params.prompt - Optional initial prompt to guide the transcription
20
22
  * @returns {Promise<string>} The complete transcribed text
21
23
  * @throws {Error} When transcription fails (propagated from transcribeStream)
22
24
  */
@@ -7,6 +7,7 @@ import { stream } from "../rpc/rpc-client.js";
7
7
  * @param params - The arguments for the transcription
8
8
  * @param params.modelId - The identifier of the transcription model to use
9
9
  * @param params.audioChunk - Audio input as either a file path (string) or audio buffer
10
+ * @param params.prompt - Optional initial prompt to guide the transcription
10
11
  * @yields {string} Text chunks as they are transcribed
11
12
  * @throws {Error} When transcription fails with an error message
12
13
  */
@@ -17,6 +18,7 @@ export async function* transcribeStream(params) {
17
18
  audioChunk: typeof params.audioChunk === "string"
18
19
  ? { type: "filePath", value: params.audioChunk }
19
20
  : { type: "base64", value: params.audioChunk.toString("base64") },
21
+ ...(params.prompt && { prompt: params.prompt }),
20
22
  };
21
23
  for await (const response of stream(request)) {
22
24
  if (response.type === "transcribeStream") {
@@ -40,6 +42,7 @@ export async function* transcribeStream(params) {
40
42
  * @param params - The arguments for the transcription
41
43
  * @param params.modelId - The identifier of the transcription model to use
42
44
  * @param params.audioChunk - Audio input as either a file path (string) or audio buffer
45
+ * @param params.prompt - Optional initial prompt to guide the transcription
43
46
  * @returns {Promise<string>} The complete transcribed text
44
47
  * @throws {Error} When transcription fails (propagated from transcribeStream)
45
48
  */
@@ -18,8 +18,39 @@ try {
18
18
  mode: "caption",
19
19
  output_format: "plaintext",
20
20
  min_seconds: 2,
21
- max_seconds: 6,
22
21
  audio_format: "f32le",
22
+ // Sampling strategy
23
+ strategy: "greedy",
24
+ n_threads: 4,
25
+ // Transcription options
26
+ language: "en",
27
+ translate: false,
28
+ no_timestamps: false,
29
+ single_segment: false,
30
+ print_timestamps: true,
31
+ token_timestamps: true,
32
+ // Quality settings
33
+ temperature: 0.0,
34
+ suppress_blank: true,
35
+ suppress_nst: true,
36
+ // Advanced tuning
37
+ entropy_thold: 2.4,
38
+ logprob_thold: -1.0,
39
+ // VAD configuration
40
+ vad_params: {
41
+ threshold: 0.35,
42
+ min_speech_duration_ms: 200,
43
+ min_silence_duration_ms: 150,
44
+ max_speech_duration_s: 30.0,
45
+ speech_pad_ms: 600,
46
+ samples_overlap: 0.3,
47
+ },
48
+ // Context parameters for GPU
49
+ contextParams: {
50
+ use_gpu: true,
51
+ flash_attn: true,
52
+ gpu_device: 0,
53
+ },
23
54
  },
24
55
  onProgress: (progress) => {
25
56
  console.log(progress);
@@ -1,4 +1,4 @@
1
- import { loadModel, downloadAsset, unloadModel, transcribe, transcribeStream, WHISPER_TINY, VAD_SILERO_5_1_2, } from "@qvac/sdk";
1
+ import { loadModel, unloadModel, transcribe, transcribeStream, WHISPER_TINY, VAD_SILERO_5_1_2, } from "@qvac/sdk";
2
2
  import { spawn, spawnSync } from "child_process";
3
3
  import * as readline from "readline";
4
4
  import { platform } from "os";
@@ -266,18 +266,22 @@ async function main() {
266
266
  console.log(" - FFmpeg installed");
267
267
  // Check FFmpeg availability
268
268
  checkFFmpegAvailable();
269
- // Download VAD model (asset download only - doesn't load into memory)
270
- console.log("\n📥 Ensuring VAD model is available...");
271
- await downloadAsset({ assetSrc: VAD_SILERO_5_1_2 });
272
269
  // Load the Whisper model with VAD
273
- console.log("\n📥 Loading Whisper model...");
270
+ console.log("\n📥 Loading Whisper model with VAD...");
274
271
  modelId = await loadModel({
275
272
  modelSrc: WHISPER_TINY,
276
273
  modelType: "whisper",
274
+ vadModelSrc: VAD_SILERO_5_1_2,
277
275
  modelConfig: {
278
276
  mode: "caption",
279
277
  update_frequency: "on_end",
280
278
  audio_format: "f32le",
279
+ vad_params: {
280
+ threshold: 0.6,
281
+ min_speech_duration_ms: 250,
282
+ min_silence_duration_ms: 2000,
283
+ max_speech_duration_s: 30.0,
284
+ },
281
285
  },
282
286
  onProgress: (progress) => {
283
287
  console.log(progress);
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=whispercpp-prompt.d.ts.map
@@ -0,0 +1,71 @@
1
+ import { loadModel, unloadModel, transcribe, WHISPER_TINY, VAD_SILERO_5_1_2, } from "@qvac/sdk";
2
+ try {
3
+ console.log("🎤 Starting Whisper transcription with prompt example...");
4
+ // Load the Whisper model with VAD
5
+ console.log("📥 Loading Whisper model...");
6
+ const modelId = await loadModel({
7
+ modelSrc: WHISPER_TINY,
8
+ modelType: "whisper",
9
+ vadModelSrc: VAD_SILERO_5_1_2,
10
+ modelConfig: {
11
+ mode: "caption",
12
+ output_format: "plaintext",
13
+ min_seconds: 2,
14
+ audio_format: "f32le",
15
+ // Sampling strategy
16
+ strategy: "greedy",
17
+ n_threads: 4,
18
+ // Transcription options
19
+ language: "en",
20
+ translate: false,
21
+ no_timestamps: false,
22
+ single_segment: false,
23
+ print_timestamps: true,
24
+ token_timestamps: true,
25
+ // Quality settings
26
+ temperature: 0.0,
27
+ suppress_blank: true,
28
+ suppress_nst: true,
29
+ // Advanced tuning
30
+ entropy_thold: 2.4,
31
+ logprob_thold: -1.0,
32
+ // VAD configuration
33
+ vad_params: {
34
+ threshold: 0.35,
35
+ min_speech_duration_ms: 200,
36
+ min_silence_duration_ms: 150,
37
+ max_speech_duration_s: 30.0,
38
+ speech_pad_ms: 600,
39
+ samples_overlap: 0.3,
40
+ },
41
+ // Context parameters for GPU
42
+ contextParams: {
43
+ use_gpu: true,
44
+ flash_attn: true,
45
+ gpu_device: 0,
46
+ },
47
+ },
48
+ onProgress: (progress) => {
49
+ console.log(progress);
50
+ },
51
+ });
52
+ console.log(`✅ Whisper model loaded with ID: ${modelId}`);
53
+ // Perform transcription
54
+ console.log("🎧 Transcribing audio...");
55
+ const text = await transcribe({
56
+ modelId,
57
+ audioChunk: "examples/audio/sample-16khz.wav",
58
+ prompt: "This is a test recording with clear speech and proper punctuation.",
59
+ });
60
+ console.log("📝 Transcription result:");
61
+ console.log(text);
62
+ // Unload the model when done
63
+ console.log("🧹 Unloading Whisper model...");
64
+ await unloadModel({ modelId });
65
+ console.log("✅ Whisper model unloaded successfully");
66
+ process.exit(0);
67
+ }
68
+ catch (error) {
69
+ console.error("❌ Error:", error);
70
+ process.exit(1);
71
+ }
@@ -293,6 +293,62 @@ export declare const models: readonly [{
293
293
  readonly addon: "nmt";
294
294
  readonly expectedSize: 339071793;
295
295
  readonly sha256Checksum: "238044a3ed67f45b82c053a9c5131e1eed51c8aec112d19c42f7ae5948eefd11";
296
+ }, {
297
+ readonly hyperdriveKey: "55fe6cf0f6f57e4e5b7ca2b1c544e95f91eb8429d7f056c455e9a8c2677a08fb";
298
+ readonly hyperbeeKey: "translation:marian:opus-ggml:::q0f16:1.0.0:de-fr";
299
+ readonly modelId: "ggml-opus-de-fr.bin";
300
+ readonly addon: "nmt";
301
+ readonly expectedSize: 281161541;
302
+ readonly sha256Checksum: "97a69f74ceb39bfb7ebf8d3dc535a0ff5d0ad7e38f9d168003e999cf74b23b60";
303
+ }, {
304
+ readonly hyperdriveKey: "5b9b65bd8735f91d45103c0b44530823274534230623957db5839c748ba30bf0";
305
+ readonly hyperbeeKey: "translation:marian:opus-ggml:::q0f16:1.0.0:en-fr";
306
+ readonly modelId: "ggml-opus-en-fr.bin";
307
+ readonly addon: "nmt";
308
+ readonly expectedSize: 275965366;
309
+ readonly sha256Checksum: "c0dd1e59316736d3b6358dc343de42d19e39c62f5c23b5fb3983779a39f600d9";
310
+ }, {
311
+ readonly hyperdriveKey: "098cc786de52e61b8b543f0e0c2e16e054ff19b9f9aef41ec931191c939f8e12";
312
+ readonly hyperbeeKey: "translation:marian:opus-ggml:::q0f16:1.0.0:en-pt";
313
+ readonly modelId: "ggml-opus-mt-en-roa-f16.bin";
314
+ readonly addon: "nmt";
315
+ readonly expectedSize: 267197483;
316
+ readonly sha256Checksum: "d1012b5c5864e132a848623535298a1cf87bee44463e4b9c0be25b7812a5e55a";
317
+ }, {
318
+ readonly hyperdriveKey: "2313996f5c2a6265c202c90d07fcbd7f324d166428109abdb16ca11f66305510";
319
+ readonly hyperbeeKey: "translation:marian:opus-ggml:::q0f16:1.0.0:es-fr";
320
+ readonly modelId: "ggml-opus-es-fr.bin";
321
+ readonly addon: "nmt";
322
+ readonly expectedSize: 323544966;
323
+ readonly sha256Checksum: "92d82a864fed409b48940ea3ae8d451bce25d6424f58aca7b54a0383fb59e821";
324
+ }, {
325
+ readonly hyperdriveKey: "14dbccb2c678d45dbd3bd3d0676be9d869b2b6f2ac3fca870f0dcd5a75a0d0d0";
326
+ readonly hyperbeeKey: "translation:marian:opus-ggml:::q0f16:1.0.0:fr-de";
327
+ readonly modelId: "ggml-opus-fr-de.bin";
328
+ readonly addon: "nmt";
329
+ readonly expectedSize: 281161541;
330
+ readonly sha256Checksum: "22cdf37bf886ec9160bdbb18d5d850f8e63ecf0261ef205f8c23e7fe1e8aadfe";
331
+ }, {
332
+ readonly hyperdriveKey: "bd1fe00d165a2da2bfb5ea67485602ede700986e40ddd7698b7c37412af01065";
333
+ readonly hyperbeeKey: "translation:marian:opus-ggml:::q0f16:1.0.0:fr-en";
334
+ readonly modelId: "ggml-opus-fr-en.bin";
335
+ readonly addon: "nmt";
336
+ readonly expectedSize: 275965354;
337
+ readonly sha256Checksum: "b8074032d99d8c3ba392f75032c1eef6a556af68026b545007fda9eb655ef3ec";
338
+ }, {
339
+ readonly hyperdriveKey: "710aeacb0e1a0c938478b1e065b06c58be210a8ddb0bc25edb98a809997d2d14";
340
+ readonly hyperbeeKey: "translation:marian:opus-ggml:::q0f16:1.0.0:fr-es";
341
+ readonly modelId: "ggml-opus-fr-es.bin";
342
+ readonly addon: "nmt";
343
+ readonly expectedSize: 323544966;
344
+ readonly sha256Checksum: "6496c0c3500c8fd6cf91b714f6f1ce17fcba4f2852a6815fb7ce626cf5726cd5";
345
+ }, {
346
+ readonly hyperdriveKey: "821af2699a40bbec2f2fce6276f59c714285f13780cacae3f023cb44c6c6cad1";
347
+ readonly hyperbeeKey: "translation:marian:opus-ggml:::q0f16:1.0.0:pt-en";
348
+ readonly modelId: "ggml-opus-mt-roa-en-f16.bin";
349
+ readonly addon: "nmt";
350
+ readonly expectedSize: 292900034;
351
+ readonly sha256Checksum: "f5e4e921132df9be5a55c097aa3ba9047e2188bad98304b11d3fea19b5dd7b14";
296
352
  }, {
297
353
  readonly hyperdriveKey: "f60e55fb7859536ea4e2361c5168ce175cb34b251e0ae00b7c8f68ecc0571d0c";
298
354
  readonly hyperbeeKey: "translation:marian:opus-ggml:::q0f32:1.0.0:de-en";
@@ -307,6 +363,13 @@ export declare const models: readonly [{
307
363
  readonly addon: "nmt";
308
364
  readonly expectedSize: 558029726;
309
365
  readonly sha256Checksum: "f7676dbfa4aa852e134bd475cc1279940403a5a5900f29d5148500c92fd27ba4";
366
+ }, {
367
+ readonly hyperdriveKey: "390d1b4164b46d332a82220d83867e1aa19058fb0ccff6d841de792066f992e5";
368
+ readonly hyperbeeKey: "translation:marian:opus-ggml:::q0f32:1.0.0:de-fr";
369
+ readonly modelId: "ggml-opus-de-fr.bin";
370
+ readonly addon: "nmt";
371
+ readonly expectedSize: 557103941;
372
+ readonly sha256Checksum: "8b89ebd06a4c879d0a39967b539912de9cc08ef0214a5bf863642a6dca744f70";
310
373
  }, {
311
374
  readonly hyperdriveKey: "0d534e862018e00a472ba80b5a0a931e5cccc0637578bbe36ce97682fe6a5412";
312
375
  readonly hyperbeeKey: "translation:marian:opus-ggml:::q0f32:1.0.0:de-it";
@@ -329,12 +392,26 @@ export declare const models: readonly [{
329
392
  readonly expectedSize: 580779709;
330
393
  readonly sha256Checksum: "b09947d26e44362ce4b3f2839fe5cef385ac693cf8c2ae9b2924f34798c2e7d1";
331
394
  }, {
332
- readonly hyperdriveKey: "ac16424b000d6bde2ab717b0aea96b7ec5ae0abd5117ee768cc436d02bb7f298";
395
+ readonly hyperdriveKey: "2957a3e18426d09335d0068efac0726f9945fe72ebbf4161dbc65111c85f6631";
396
+ readonly hyperbeeKey: "translation:marian:opus-ggml:::q0f32:1.0.0:en-fr";
397
+ readonly modelId: "ggml-opus-en-fr.bin";
398
+ readonly addon: "nmt";
399
+ readonly expectedSize: 546872758;
400
+ readonly sha256Checksum: "17d7f98fdeab5e56dd381735eb93d12174531043a5394419af481eb48247214f";
401
+ }, {
402
+ readonly hyperdriveKey: "757b78203ce9c821bededdac0046f21c7484d2b73b15e04b162302866710d5f1";
333
403
  readonly hyperbeeKey: "translation:marian:opus-ggml:::q0f32:1.0.0:en-it";
334
- readonly modelId: "ggml-opus-en-it.bin";
404
+ readonly modelId: "model.bin";
405
+ readonly addon: "nmt";
406
+ readonly expectedSize: 673543993;
407
+ readonly sha256Checksum: "169d2f4ec0acb9536e5f4faeab041a5ae16d4221f3bcbc7b0b311791a4d4b658";
408
+ }, {
409
+ readonly hyperdriveKey: "9eb7a478a6e14aef61f618e531061900a2d9a2d55e693dc464560db92861cba4";
410
+ readonly hyperbeeKey: "translation:marian:opus-ggml:::q0f32:1.0.0:en-pt";
411
+ readonly modelId: "ggml-opus-en-pt.bin";
335
412
  readonly addon: "nmt";
336
- readonly expectedSize: 671446753;
337
- readonly sha256Checksum: "8b97327ad0c6e73635b21a314428c900434bae2467ee58be7ff24f4af7632368";
413
+ readonly expectedSize: 1381112644;
414
+ readonly sha256Checksum: "f03550375663c4592ebff25dc5446d7576270b5caec583fc3bc60de98d9e1bb0";
338
415
  }, {
339
416
  readonly hyperdriveKey: "b1029d997c3dc4df757fa7093780e26742297ec093e0fa0c951d49d06f7b7037";
340
417
  readonly hyperbeeKey: "translation:marian:opus-ggml:::q0f32:1.0.0:es-de";
@@ -349,6 +426,13 @@ export declare const models: readonly [{
349
426
  readonly addon: "nmt";
350
427
  readonly expectedSize: 580779709;
351
428
  readonly sha256Checksum: "5e0f93bae07363ee5aa8beda757fb67895999b2c53d2eb8a2d4036d6898db759";
429
+ }, {
430
+ readonly hyperdriveKey: "f43966d16f04b108641de97050563515f699c7426c6aa08f54ee28cbea07a1dd";
431
+ readonly hyperbeeKey: "translation:marian:opus-ggml:::q0f32:1.0.0:es-fr";
432
+ readonly modelId: "ggml-opus-es-fr.bin";
433
+ readonly addon: "nmt";
434
+ readonly expectedSize: 641478534;
435
+ readonly sha256Checksum: "dbe0e44e4f8476f617fbc9a6114f24de29180e1735039cc2672705e8f461d42f";
352
436
  }, {
353
437
  readonly hyperdriveKey: "d41c61697c19a2b771439101569935129eb39c324e259a6865f825242e60c212";
354
438
  readonly hyperbeeKey: "translation:marian:opus-ggml:::q0f32:1.0.0:es-it";
@@ -356,6 +440,27 @@ export declare const models: readonly [{
356
440
  readonly addon: "nmt";
357
441
  readonly expectedSize: 544020447;
358
442
  readonly sha256Checksum: "6ceb808e4799454c6192c5c399cf849fcbef74916d35d9f09484b290518beb15";
443
+ }, {
444
+ readonly hyperdriveKey: "d4defd18e51d55eb20957169b2fdfef18627ce01e06d56d40735c429c980a149";
445
+ readonly hyperbeeKey: "translation:marian:opus-ggml:::q0f32:1.0.0:fr-de";
446
+ readonly modelId: "ggml-opus-fr-de.bin";
447
+ readonly addon: "nmt";
448
+ readonly expectedSize: 557103941;
449
+ readonly sha256Checksum: "68279709f256d7634073126c5832e49b11fdb3803e644f2ce4609fef335f226a";
450
+ }, {
451
+ readonly hyperdriveKey: "c1226000901bf7e25507b414ffb60e0c8f5cf198de115559dc6bd68826033f20";
452
+ readonly hyperbeeKey: "translation:marian:opus-ggml:::q0f32:1.0.0:fr-en";
453
+ readonly modelId: "ggml-opus-fr-en.bin";
454
+ readonly addon: "nmt";
455
+ readonly expectedSize: 546872758;
456
+ readonly sha256Checksum: "6f91d4af1bf6a1d9ff1f172204e28ec331379b1f2b960726329705aab4ea370e";
457
+ }, {
458
+ readonly hyperdriveKey: "6ecc35234eafa3578323591a0872d812479b3937c1a10e303475c9d4614f4ac0";
459
+ readonly hyperbeeKey: "translation:marian:opus-ggml:::q0f32:1.0.0:fr-es";
460
+ readonly modelId: "ggml-opus-fr-es.bin";
461
+ readonly addon: "nmt";
462
+ readonly expectedSize: 641478534;
463
+ readonly sha256Checksum: "bd5f5707f7cf60eac82b5dec89b70d9b4892837c7cbbf7e8c4b697670a1751b7";
359
464
  }, {
360
465
  readonly hyperdriveKey: "6827f57d0aab9dd0194d06bc94cf12ccafe2a5d4d18e72b4bbaa2c3eb30aeea7";
361
466
  readonly hyperbeeKey: "translation:marian:opus-ggml:::q0f32:1.0.0:it-de";
@@ -377,6 +482,55 @@ export declare const models: readonly [{
377
482
  readonly addon: "nmt";
378
483
  readonly expectedSize: 544020447;
379
484
  readonly sha256Checksum: "5c6e39598b123d5867feb7458c8ea809529af43018c082c2eb8fb6e4c8bf80e7";
485
+ }, {
486
+ readonly hyperdriveKey: "3782fc852215514aee043e095c041933bf915f618057035a467f461d844476d3";
487
+ readonly hyperbeeKey: "translation:marian:opus-ggml:::q4_0:1.0.0:de-fr";
488
+ readonly modelId: "ggml-opus-de-fr.bin";
489
+ readonly addon: "nmt";
490
+ readonly expectedSize: 82827941;
491
+ readonly sha256Checksum: "fb8a01de8a0815853f57ff7ff122f7406d7d7634c5875882a2080d6c1bc0d8a7";
492
+ }, {
493
+ readonly hyperdriveKey: "9cf4a27c1ba14f73d1287dc161b7fd9594253b8e8758bddc961984c1e93d6f5e";
494
+ readonly hyperbeeKey: "translation:marian:opus-ggml:::q4_0:1.0.0:en-fr";
495
+ readonly modelId: "ggml-opus-en-fr.bin";
496
+ readonly addon: "nmt";
497
+ readonly expectedSize: 81250678;
498
+ readonly sha256Checksum: "d02990f1a9308105dc1303ae0d7d83c8297bf902df959c478e0d21c90d008589";
499
+ }, {
500
+ readonly hyperdriveKey: "a58825b2dcde4c4701889c20050e025df4d69f1161c9d2d2e6106712d70b2ace";
501
+ readonly hyperbeeKey: "translation:marian:opus-ggml:::q4_0:1.0.0:en-pt";
502
+ readonly modelId: "ggml-opus-en-pt.bin";
503
+ readonly addon: "nmt";
504
+ readonly expectedSize: 197125444;
505
+ readonly sha256Checksum: "90f32b905c2aa7134c137bd0c9a4ff953b3e6d4c97d45720f49c7c07c60875d4";
506
+ }, {
507
+ readonly hyperdriveKey: "446daa51a5f037795fce6b0f9b245f53f3f5e601d4dd942b707073bed3586ac4";
508
+ readonly hyperbeeKey: "translation:marian:opus-ggml:::q4_0:1.0.0:es-fr";
509
+ readonly modelId: "ggml-opus-es-fr.bin";
510
+ readonly addon: "nmt";
511
+ readonly expectedSize: 95030214;
512
+ readonly sha256Checksum: "471d47e937f8cdb4460e4aecc6348af964ca26b1015dcd8b9467e3762a68f56b";
513
+ }, {
514
+ readonly hyperdriveKey: "a85185a5747e16cff9db0b2c8ab92b63fbe3c4abc5201c6afa4fd426fabd1cb5";
515
+ readonly hyperbeeKey: "translation:marian:opus-ggml:::q4_0:1.0.0:fr-de";
516
+ readonly modelId: "ggml-opus-fr-de.bin";
517
+ readonly addon: "nmt";
518
+ readonly expectedSize: 82827941;
519
+ readonly sha256Checksum: "5a90b47684a43147107724f700c74cf4d367b35969dd445a34f758e31601e7aa";
520
+ }, {
521
+ readonly hyperdriveKey: "688b8d7e82d33c8dd18e156282a1b11e97247d04327e0f7549694f4433861262";
522
+ readonly hyperbeeKey: "translation:marian:opus-ggml:::q4_0:1.0.0:fr-en";
523
+ readonly modelId: "ggml-opus-fr-en.bin";
524
+ readonly addon: "nmt";
525
+ readonly expectedSize: 81250678;
526
+ readonly sha256Checksum: "362daefe06cc36dab7169233cd2dce940e7b656f1da8637c9bc4ba6a405b077b";
527
+ }, {
528
+ readonly hyperdriveKey: "07c3d283e1d22b7a44cb16ed3c733d958885502e293ca75a0b4d87d1aecfc653";
529
+ readonly hyperbeeKey: "translation:marian:opus-ggml:::q4_0:1.0.0:fr-es";
530
+ readonly modelId: "ggml-opus-fr-es.bin";
531
+ readonly addon: "nmt";
532
+ readonly expectedSize: 95030214;
533
+ readonly sha256Checksum: "e7e721929e5ae75d2ee7bc26a7c25e5d5b32d478d78d0b92154644677f34594d";
380
534
  }, {
381
535
  readonly hyperdriveKey: "65f1ae4ae53764d7f9ae2d1581819b4b3dd6011d30079f4445c5db74c40dd533";
382
536
  readonly hyperbeeKey: "translation:marian:opus:::q0f16:1.0.0:en-ru";
@@ -580,18 +734,40 @@ export declare const MARIAN_HI_HI_INDIC_320M_Q0F16: "pear://1bb2ad463127325ca8da
580
734
  export declare const MARIAN_HI_HI_INDIC_320M_Q4_0: "pear://6cba73db82148a228bfdc586e2e565db6e6beb476575de3602d927ecb08b1a70/ggml-indictrans2-indic-indic-dist-320M-q4_0.bin";
581
735
  export declare const MARIAN_OPUS_EN_IT: "pear://528eb43b34c57b0fb7116e532cd596a9661b001870bdabf696243e8d079a74ca/model.bin";
582
736
  export declare const MARIAN_OPUS_IT_EN: "pear://99d4da8b636cfaa237eae32137ec4b57fa6c4cca7c91576f4ed874032c82b487/model.bin";
737
+ export declare const MARIAN_OPUS_DE_FR_Q0F16: "pear://55fe6cf0f6f57e4e5b7ca2b1c544e95f91eb8429d7f056c455e9a8c2677a08fb/ggml-opus-de-fr.bin";
738
+ export declare const MARIAN_OPUS_EN_FR_Q0F16: "pear://5b9b65bd8735f91d45103c0b44530823274534230623957db5839c748ba30bf0/ggml-opus-en-fr.bin";
739
+ export declare const MARIAN_OPUS_EN_PT_Q0F16: "pear://098cc786de52e61b8b543f0e0c2e16e054ff19b9f9aef41ec931191c939f8e12/ggml-opus-mt-en-roa-f16.bin";
740
+ export declare const MARIAN_OPUS_ES_FR_Q0F16: "pear://2313996f5c2a6265c202c90d07fcbd7f324d166428109abdb16ca11f66305510/ggml-opus-es-fr.bin";
741
+ export declare const MARIAN_OPUS_FR_DE_Q0F16: "pear://14dbccb2c678d45dbd3bd3d0676be9d869b2b6f2ac3fca870f0dcd5a75a0d0d0/ggml-opus-fr-de.bin";
742
+ export declare const MARIAN_OPUS_FR_EN_Q0F16: "pear://bd1fe00d165a2da2bfb5ea67485602ede700986e40ddd7698b7c37412af01065/ggml-opus-fr-en.bin";
743
+ export declare const MARIAN_OPUS_FR_ES_Q0F16: "pear://710aeacb0e1a0c938478b1e065b06c58be210a8ddb0bc25edb98a809997d2d14/ggml-opus-fr-es.bin";
744
+ export declare const MARIAN_OPUS_PT_EN_Q0F16: "pear://821af2699a40bbec2f2fce6276f59c714285f13780cacae3f023cb44c6c6cad1/ggml-opus-mt-roa-en-f16.bin";
583
745
  export declare const MARIAN_OPUS_DE_EN_Q0F32: "pear://f60e55fb7859536ea4e2361c5168ce175cb34b251e0ae00b7c8f68ecc0571d0c/model.bin";
584
746
  export declare const MARIAN_OPUS_DE_ES_Q0F32: "pear://cd8e6a6b0c306c2594fb2ec80d27d40a749dc9cf49102f0aa9b4f2496568ac53/model.bin";
747
+ export declare const MARIAN_OPUS_DE_FR_Q0F32: "pear://390d1b4164b46d332a82220d83867e1aa19058fb0ccff6d841de792066f992e5/ggml-opus-de-fr.bin";
585
748
  export declare const MARIAN_OPUS_DE_IT_Q0F32: "pear://0d534e862018e00a472ba80b5a0a931e5cccc0637578bbe36ce97682fe6a5412/model.bin";
586
749
  export declare const MARIAN_OPUS_EN_DE_Q0F32: "pear://7f23b4736a1428b60ae665f558ef48d6c70dc2642a4901d3336e02438ea5e752/model.bin";
587
750
  export declare const MARIAN_OPUS_EN_ES_Q0F32: "pear://53760abc441457efbb27047798683723962c9cdb825d645649d50351be326f55/model.bin";
588
- export declare const MARIAN_OPUS_EN_IT_Q0F32: "pear://ac16424b000d6bde2ab717b0aea96b7ec5ae0abd5117ee768cc436d02bb7f298/ggml-opus-en-it.bin";
751
+ export declare const MARIAN_OPUS_EN_FR_Q0F32: "pear://2957a3e18426d09335d0068efac0726f9945fe72ebbf4161dbc65111c85f6631/ggml-opus-en-fr.bin";
752
+ export declare const MARIAN_OPUS_EN_IT_Q0F32: "pear://757b78203ce9c821bededdac0046f21c7484d2b73b15e04b162302866710d5f1/model.bin";
753
+ export declare const MARIAN_OPUS_EN_PT_Q0F32: "pear://9eb7a478a6e14aef61f618e531061900a2d9a2d55e693dc464560db92861cba4/ggml-opus-en-pt.bin";
589
754
  export declare const MARIAN_OPUS_ES_DE_Q0F32: "pear://b1029d997c3dc4df757fa7093780e26742297ec093e0fa0c951d49d06f7b7037/model.bin";
590
755
  export declare const MARIAN_OPUS_ES_EN_Q0F32: "pear://73fb3a48ecf2f113710765ba28dd5d5723622f43955d88acbe7f0ec7c7b4d5e2/model.bin";
756
+ export declare const MARIAN_OPUS_ES_FR_Q0F32: "pear://f43966d16f04b108641de97050563515f699c7426c6aa08f54ee28cbea07a1dd/ggml-opus-es-fr.bin";
591
757
  export declare const MARIAN_OPUS_ES_IT_Q0F32: "pear://d41c61697c19a2b771439101569935129eb39c324e259a6865f825242e60c212/model.bin";
758
+ export declare const MARIAN_OPUS_FR_DE_Q0F32: "pear://d4defd18e51d55eb20957169b2fdfef18627ce01e06d56d40735c429c980a149/ggml-opus-fr-de.bin";
759
+ export declare const MARIAN_OPUS_FR_EN_Q0F32: "pear://c1226000901bf7e25507b414ffb60e0c8f5cf198de115559dc6bd68826033f20/ggml-opus-fr-en.bin";
760
+ export declare const MARIAN_OPUS_FR_ES_Q0F32: "pear://6ecc35234eafa3578323591a0872d812479b3937c1a10e303475c9d4614f4ac0/ggml-opus-fr-es.bin";
592
761
  export declare const MARIAN_OPUS_IT_DE_Q0F32: "pear://6827f57d0aab9dd0194d06bc94cf12ccafe2a5d4d18e72b4bbaa2c3eb30aeea7/model.bin";
593
762
  export declare const MARIAN_OPUS_IT_EN_Q0F32: "pear://ee90217a3b0039b48865ec23af102e8a8afafb964ebb45f56f1bed63ac4a0633/model.bin";
594
763
  export declare const MARIAN_OPUS_IT_ES_Q0F32: "pear://d6c7482d24e0e24af399151e22f233e86ca3ced411d5fb892772567b4f625ff5/model.bin";
764
+ export declare const MARIAN_OPUS_DE_FR_Q4_0: "pear://3782fc852215514aee043e095c041933bf915f618057035a467f461d844476d3/ggml-opus-de-fr.bin";
765
+ export declare const MARIAN_OPUS_EN_FR_Q4_0: "pear://9cf4a27c1ba14f73d1287dc161b7fd9594253b8e8758bddc961984c1e93d6f5e/ggml-opus-en-fr.bin";
766
+ export declare const MARIAN_OPUS_EN_PT_Q4_0: "pear://a58825b2dcde4c4701889c20050e025df4d69f1161c9d2d2e6106712d70b2ace/ggml-opus-en-pt.bin";
767
+ export declare const MARIAN_OPUS_ES_FR_Q4_0: "pear://446daa51a5f037795fce6b0f9b245f53f3f5e601d4dd942b707073bed3586ac4/ggml-opus-es-fr.bin";
768
+ export declare const MARIAN_OPUS_FR_DE_Q4_0: "pear://a85185a5747e16cff9db0b2c8ab92b63fbe3c4abc5201c6afa4fd426fabd1cb5/ggml-opus-fr-de.bin";
769
+ export declare const MARIAN_OPUS_FR_EN_Q4_0: "pear://688b8d7e82d33c8dd18e156282a1b11e97247d04327e0f7549694f4433861262/ggml-opus-fr-en.bin";
770
+ export declare const MARIAN_OPUS_FR_ES_Q4_0: "pear://07c3d283e1d22b7a44cb16ed3c733d958885502e293ca75a0b4d87d1aecfc653/ggml-opus-fr-es.bin";
595
771
  export declare const MARIAN_OPUS_EN_RU_Q0F16: "pear://65f1ae4ae53764d7f9ae2d1581819b4b3dd6011d30079f4445c5db74c40dd533/ggml-opus-en-ru.bin";
596
772
  export declare const MARIAN_OPUS_RU_EN_Q0F16: "pear://e42148ee7181f908ac2e6ba979d02de96faf330e4f7bad3bf766415657931d48/ggml-opus-ru-en.bin";
597
773
  export declare const MARIAN_OPUS_EN_RU_Q0F32: "pear://c009326acc2c3eeb5d557489370cf7b6de07d35335cb47e9a3e90909f9ac6c44/ggml-opus-en-ru.bin";