@reverbia/sdk 1.0.0-next.20251204090034 → 1.0.0-next.20251205130522

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.
@@ -2605,7 +2605,7 @@ var require_cmp = __commonJS({
2605
2605
  var require_comparator = __commonJS({
2606
2606
  "node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/comparator.js"(exports, module) {
2607
2607
  "use strict";
2608
- var ANY = Symbol("SemVer ANY");
2608
+ var ANY = /* @__PURE__ */ Symbol("SemVer ANY");
2609
2609
  var Comparator = class _Comparator {
2610
2610
  static get ANY() {
2611
2611
  return ANY;
@@ -8069,7 +8069,7 @@ var require_lib = __commonJS({
8069
8069
  }
8070
8070
  });
8071
8071
 
8072
- // node_modules/.pnpm/@huggingface+transformers@3.8.0/node_modules/@huggingface/transformers/dist/transformers.node.mjs
8072
+ // node_modules/.pnpm/@huggingface+transformers@3.8.1/node_modules/@huggingface/transformers/dist/transformers.node.mjs
8073
8073
  import * as __WEBPACK_EXTERNAL_MODULE_node_fs_75ed2103__ from "fs";
8074
8074
  import * as __WEBPACK_EXTERNAL_MODULE_node_path_02319fef__ from "path";
8075
8075
  import * as __WEBPACK_EXTERNAL_MODULE_node_url_da953c0c__ from "url";
@@ -9164,7 +9164,7 @@ var InferenceSession = class _InferenceSession {
9164
9164
  // node_modules/.pnpm/onnxruntime-common@1.21.0/node_modules/onnxruntime-common/dist/esm/inference-session.js
9165
9165
  var InferenceSession2 = InferenceSession;
9166
9166
 
9167
- // node_modules/.pnpm/@huggingface+transformers@3.8.0/node_modules/@huggingface/transformers/dist/transformers.node.mjs
9167
+ // node_modules/.pnpm/@huggingface+transformers@3.8.1/node_modules/@huggingface/transformers/dist/transformers.node.mjs
9168
9168
  var __WEBPACK_EXTERNAL_MODULE_onnxruntime_node_6a60201e__ = __toESM(require_dist(), 1);
9169
9169
  var __WEBPACK_EXTERNAL_MODULE_sharp__ = __toESM(require_lib(), 1);
9170
9170
  var __webpack_modules__ = {
@@ -9342,6 +9342,9 @@ var __webpack_modules__ = {
9342
9342
  function isInteger(char) {
9343
9343
  return /[0-9]/.test(char);
9344
9344
  }
9345
+ function isWhitespace(char) {
9346
+ return /\s/.test(char);
9347
+ }
9345
9348
  var ORDERED_MAPPING_TABLE = [
9346
9349
  // Control sequences
9347
9350
  ["{%", TOKEN_TYPES.OpenStatement],
@@ -9406,7 +9409,7 @@ var __webpack_modules__ = {
9406
9409
  if (options.trim_blocks) {
9407
9410
  template = template.replace(/([#%-]})\n/g, "$1");
9408
9411
  }
9409
- return template.replace(/-%}\s*/g, "%}").replace(/\s*{%-/g, "{%").replace(/-}}\s*/g, "}}").replace(/\s*{{-/g, "{{").replace(/-#}\s*/g, "#}").replace(/\s*{#-/g, "{#").replace(/{%\s*(end)?generation\s*%}/gs, "");
9412
+ return template.replace(/{%\s*(end)?generation\s*%}/gs, "");
9410
9413
  }
9411
9414
  function tokenize(source, options = {}) {
9412
9415
  const tokens = [];
@@ -9434,6 +9437,20 @@ var __webpack_modules__ = {
9434
9437
  }
9435
9438
  return str;
9436
9439
  };
9440
+ const stripTrailingWhitespace = () => {
9441
+ const lastToken = tokens.at(-1);
9442
+ if (lastToken && lastToken.type === TOKEN_TYPES.Text) {
9443
+ lastToken.value = lastToken.value.trimEnd();
9444
+ if (lastToken.value === "") {
9445
+ tokens.pop();
9446
+ }
9447
+ }
9448
+ };
9449
+ const skipLeadingWhitespace = () => {
9450
+ while (cursorPosition < src.length && isWhitespace(src[cursorPosition])) {
9451
+ ++cursorPosition;
9452
+ }
9453
+ };
9437
9454
  main:
9438
9455
  while (cursorPosition < src.length) {
9439
9456
  const lastTokenType = tokens.at(-1)?.type;
@@ -9450,6 +9467,10 @@ var __webpack_modules__ = {
9450
9467
  }
9451
9468
  if (src[cursorPosition] === "{" && src[cursorPosition + 1] === "#") {
9452
9469
  cursorPosition += 2;
9470
+ const stripBefore = src[cursorPosition] === "-";
9471
+ if (stripBefore) {
9472
+ ++cursorPosition;
9473
+ }
9453
9474
  let comment = "";
9454
9475
  while (src[cursorPosition] !== "#" || src[cursorPosition + 1] !== "}") {
9455
9476
  if (cursorPosition + 2 >= src.length) {
@@ -9457,11 +9478,46 @@ var __webpack_modules__ = {
9457
9478
  }
9458
9479
  comment += src[cursorPosition++];
9459
9480
  }
9481
+ const stripAfter = comment.endsWith("-");
9482
+ if (stripAfter) {
9483
+ comment = comment.slice(0, -1);
9484
+ }
9485
+ if (stripBefore) {
9486
+ stripTrailingWhitespace();
9487
+ }
9460
9488
  tokens.push(new Token(comment, TOKEN_TYPES.Comment));
9461
9489
  cursorPosition += 2;
9490
+ if (stripAfter) {
9491
+ skipLeadingWhitespace();
9492
+ }
9493
+ continue;
9494
+ }
9495
+ if (src.slice(cursorPosition, cursorPosition + 3) === "{%-") {
9496
+ stripTrailingWhitespace();
9497
+ tokens.push(new Token("{%", TOKEN_TYPES.OpenStatement));
9498
+ cursorPosition += 3;
9499
+ continue;
9500
+ }
9501
+ if (src.slice(cursorPosition, cursorPosition + 3) === "{{-") {
9502
+ stripTrailingWhitespace();
9503
+ tokens.push(new Token("{{", TOKEN_TYPES.OpenExpression));
9504
+ curlyBracketDepth = 0;
9505
+ cursorPosition += 3;
9506
+ continue;
9507
+ }
9508
+ consumeWhile(isWhitespace);
9509
+ if (src.slice(cursorPosition, cursorPosition + 3) === "-%}") {
9510
+ tokens.push(new Token("%}", TOKEN_TYPES.CloseStatement));
9511
+ cursorPosition += 3;
9512
+ skipLeadingWhitespace();
9513
+ continue;
9514
+ }
9515
+ if (src.slice(cursorPosition, cursorPosition + 3) === "-}}") {
9516
+ tokens.push(new Token("}}", TOKEN_TYPES.CloseExpression));
9517
+ cursorPosition += 3;
9518
+ skipLeadingWhitespace();
9462
9519
  continue;
9463
9520
  }
9464
- consumeWhile((char2) => /\s/.test(char2));
9465
9521
  const char = src[cursorPosition];
9466
9522
  if (char === "-" || char === "+") {
9467
9523
  const lastTokenType2 = tokens.at(-1)?.type;
@@ -10543,6 +10599,40 @@ var __webpack_modules__ = {
10543
10599
  __publicField(this, "type", "BooleanValue");
10544
10600
  }
10545
10601
  };
10602
+ function toJSON(input, indent, depth, convertUndefinedToNull = true) {
10603
+ const currentDepth = depth ?? 0;
10604
+ switch (input.type) {
10605
+ case "NullValue":
10606
+ return "null";
10607
+ case "UndefinedValue":
10608
+ return convertUndefinedToNull ? "null" : "undefined";
10609
+ case "IntegerValue":
10610
+ case "FloatValue":
10611
+ case "StringValue":
10612
+ case "BooleanValue":
10613
+ return JSON.stringify(input.value);
10614
+ case "ArrayValue":
10615
+ case "ObjectValue": {
10616
+ const indentValue = indent ? " ".repeat(indent) : "";
10617
+ const basePadding = "\n" + indentValue.repeat(currentDepth);
10618
+ const childrenPadding = basePadding + indentValue;
10619
+ if (input.type === "ArrayValue") {
10620
+ const core = input.value.map(
10621
+ (x) => toJSON(x, indent, currentDepth + 1, convertUndefinedToNull)
10622
+ );
10623
+ return indent ? `[${childrenPadding}${core.join(`,${childrenPadding}`)}${basePadding}]` : `[${core.join(", ")}]`;
10624
+ } else {
10625
+ const core = Array.from(input.value.entries()).map(([key, value]) => {
10626
+ const v = `"${key}": ${toJSON(value, indent, currentDepth + 1, convertUndefinedToNull)}`;
10627
+ return indent ? `${childrenPadding}${v}` : v;
10628
+ });
10629
+ return indent ? `{${core.join(",")}${basePadding}}` : `{${core.join(", ")}}`;
10630
+ }
10631
+ }
10632
+ default:
10633
+ throw new Error(`Cannot convert to JSON: ${input.type}`);
10634
+ }
10635
+ }
10546
10636
  var ObjectValue = class extends RuntimeValue {
10547
10637
  constructor() {
10548
10638
  super(...arguments);
@@ -10559,7 +10649,43 @@ var __webpack_modules__ = {
10559
10649
  ],
10560
10650
  ["items", new FunctionValue(() => this.items())],
10561
10651
  ["keys", new FunctionValue(() => this.keys())],
10562
- ["values", new FunctionValue(() => this.values())]
10652
+ ["values", new FunctionValue(() => this.values())],
10653
+ [
10654
+ "dictsort",
10655
+ new FunctionValue((args) => {
10656
+ let kwargs = /* @__PURE__ */ new Map();
10657
+ const positionalArgs = args.filter((arg) => {
10658
+ if (arg instanceof KeywordArgumentsValue) {
10659
+ kwargs = arg.value;
10660
+ return false;
10661
+ }
10662
+ return true;
10663
+ });
10664
+ const caseSensitive = positionalArgs.at(0) ?? kwargs.get("case_sensitive") ?? new BooleanValue(false);
10665
+ if (!(caseSensitive instanceof BooleanValue)) {
10666
+ throw new Error("case_sensitive must be a boolean");
10667
+ }
10668
+ const by = positionalArgs.at(1) ?? kwargs.get("by") ?? new StringValue("key");
10669
+ if (!(by instanceof StringValue)) {
10670
+ throw new Error("by must be a string");
10671
+ }
10672
+ if (!["key", "value"].includes(by.value)) {
10673
+ throw new Error("by must be either 'key' or 'value'");
10674
+ }
10675
+ const reverse = positionalArgs.at(2) ?? kwargs.get("reverse") ?? new BooleanValue(false);
10676
+ if (!(reverse instanceof BooleanValue)) {
10677
+ throw new Error("reverse must be a boolean");
10678
+ }
10679
+ const items = Array.from(this.value.entries()).map(([key, value]) => new ArrayValue([new StringValue(key), value])).sort((a, b) => {
10680
+ const index = by.value === "key" ? 0 : 1;
10681
+ const aVal = a.value[index];
10682
+ const bVal = b.value[index];
10683
+ const result = compareRuntimeValues(aVal, bVal, caseSensitive.value);
10684
+ return reverse.value ? -result : result;
10685
+ });
10686
+ return new ArrayValue(items);
10687
+ })
10688
+ ]
10563
10689
  ]));
10564
10690
  }
10565
10691
  /**
@@ -10584,6 +10710,9 @@ var __webpack_modules__ = {
10584
10710
  values() {
10585
10711
  return new ArrayValue(Array.from(this.value.values()));
10586
10712
  }
10713
+ toString() {
10714
+ return toJSON(this, null, 0, false);
10715
+ }
10587
10716
  };
10588
10717
  var KeywordArgumentsValue = class extends ObjectValue {
10589
10718
  constructor() {
@@ -10608,6 +10737,9 @@ var __webpack_modules__ = {
10608
10737
  __bool__() {
10609
10738
  return new BooleanValue(this.value.length > 0);
10610
10739
  }
10740
+ toString() {
10741
+ return toJSON(this, null, 0, false);
10742
+ }
10611
10743
  };
10612
10744
  var TupleValue = class extends ArrayValue {
10613
10745
  constructor() {
@@ -10767,6 +10899,67 @@ var __webpack_modules__ = {
10767
10899
  env3.set("False", false);
10768
10900
  env3.set("None", null);
10769
10901
  }
10902
+ function getAttributeValue(item, attributePath) {
10903
+ const parts = attributePath.split(".");
10904
+ let value = item;
10905
+ for (const part of parts) {
10906
+ if (value instanceof ObjectValue) {
10907
+ value = value.value.get(part) ?? new UndefinedValue();
10908
+ } else if (value instanceof ArrayValue) {
10909
+ const index = parseInt(part, 10);
10910
+ if (!isNaN(index) && index >= 0 && index < value.value.length) {
10911
+ value = value.value[index];
10912
+ } else {
10913
+ return new UndefinedValue();
10914
+ }
10915
+ } else {
10916
+ return new UndefinedValue();
10917
+ }
10918
+ }
10919
+ return value;
10920
+ }
10921
+ function compareRuntimeValues(a, b, caseSensitive = false) {
10922
+ if (a instanceof NullValue && b instanceof NullValue) {
10923
+ return 0;
10924
+ }
10925
+ if (a instanceof NullValue || b instanceof NullValue) {
10926
+ throw new Error(`Cannot compare ${a.type} with ${b.type}`);
10927
+ }
10928
+ if (a instanceof UndefinedValue && b instanceof UndefinedValue) {
10929
+ return 0;
10930
+ }
10931
+ if (a instanceof UndefinedValue || b instanceof UndefinedValue) {
10932
+ throw new Error(`Cannot compare ${a.type} with ${b.type}`);
10933
+ }
10934
+ const isNumericLike = (v) => v instanceof IntegerValue || v instanceof FloatValue || v instanceof BooleanValue;
10935
+ const getNumericValue = (v) => {
10936
+ if (v instanceof BooleanValue) {
10937
+ return v.value ? 1 : 0;
10938
+ }
10939
+ return v.value;
10940
+ };
10941
+ if (isNumericLike(a) && isNumericLike(b)) {
10942
+ const aNum = getNumericValue(a);
10943
+ const bNum = getNumericValue(b);
10944
+ return aNum < bNum ? -1 : aNum > bNum ? 1 : 0;
10945
+ }
10946
+ if (a.type !== b.type) {
10947
+ throw new Error(`Cannot compare different types: ${a.type} and ${b.type}`);
10948
+ }
10949
+ switch (a.type) {
10950
+ case "StringValue": {
10951
+ let aStr = a.value;
10952
+ let bStr = b.value;
10953
+ if (!caseSensitive) {
10954
+ aStr = aStr.toLowerCase();
10955
+ bStr = bStr.toLowerCase();
10956
+ }
10957
+ return aStr < bStr ? -1 : aStr > bStr ? 1 : 0;
10958
+ }
10959
+ default:
10960
+ throw new Error(`Cannot compare type: ${a.type}`);
10961
+ }
10962
+ }
10770
10963
  var Interpreter = class {
10771
10964
  constructor(env3) {
10772
10965
  __publicField(this, "global");
@@ -10911,28 +11104,14 @@ var __webpack_modules__ = {
10911
11104
  case "length":
10912
11105
  return new IntegerValue(operand.value.length);
10913
11106
  case "reverse":
10914
- return new ArrayValue(operand.value.reverse());
10915
- case "sort":
10916
- return new ArrayValue(
10917
- operand.value.sort((a, b) => {
10918
- if (a.type !== b.type) {
10919
- throw new Error(`Cannot compare different types: ${a.type} and ${b.type}`);
10920
- }
10921
- switch (a.type) {
10922
- case "IntegerValue":
10923
- case "FloatValue":
10924
- return a.value - b.value;
10925
- case "StringValue":
10926
- return a.value.localeCompare(b.value);
10927
- default:
10928
- throw new Error(`Cannot compare type: ${a.type}`);
10929
- }
10930
- })
10931
- );
11107
+ return new ArrayValue(operand.value.slice().reverse());
11108
+ case "sort": {
11109
+ return new ArrayValue(operand.value.slice().sort((a, b) => compareRuntimeValues(a, b, false)));
11110
+ }
10932
11111
  case "join":
10933
11112
  return new StringValue(operand.value.map((x) => x.value).join(""));
10934
11113
  case "string":
10935
- return new StringValue(toJSON(operand));
11114
+ return new StringValue(toJSON(operand, null, 0, false));
10936
11115
  case "unique": {
10937
11116
  const seen = /* @__PURE__ */ new Set();
10938
11117
  const output = [];
@@ -11011,8 +11190,16 @@ var __webpack_modules__ = {
11011
11190
  );
11012
11191
  case "length":
11013
11192
  return new IntegerValue(operand.value.size);
11014
- default:
11193
+ default: {
11194
+ const builtin = operand.builtins.get(filter.value);
11195
+ if (builtin) {
11196
+ if (builtin instanceof FunctionValue) {
11197
+ return builtin.value([], environment);
11198
+ }
11199
+ return builtin;
11200
+ }
11015
11201
  throw new Error(`Unknown ObjectValue filter: ${filter.value}`);
11202
+ }
11016
11203
  }
11017
11204
  } else if (operand instanceof BooleanValue) {
11018
11205
  switch (filter.value) {
@@ -11084,6 +11271,36 @@ var __webpack_modules__ = {
11084
11271
  }
11085
11272
  if (operand instanceof ArrayValue) {
11086
11273
  switch (filterName) {
11274
+ case "sort": {
11275
+ const [args, kwargs] = this.evaluateArguments(filter.args, environment);
11276
+ const reverse = args.at(0) ?? kwargs.get("reverse") ?? new BooleanValue(false);
11277
+ if (!(reverse instanceof BooleanValue)) {
11278
+ throw new Error("reverse must be a boolean");
11279
+ }
11280
+ const caseSensitive = args.at(1) ?? kwargs.get("case_sensitive") ?? new BooleanValue(false);
11281
+ if (!(caseSensitive instanceof BooleanValue)) {
11282
+ throw new Error("case_sensitive must be a boolean");
11283
+ }
11284
+ const attribute = args.at(2) ?? kwargs.get("attribute") ?? new NullValue();
11285
+ if (!(attribute instanceof StringValue || attribute instanceof IntegerValue || attribute instanceof NullValue)) {
11286
+ throw new Error("attribute must be a string, integer, or null");
11287
+ }
11288
+ const getSortValue = (item) => {
11289
+ if (attribute instanceof NullValue) {
11290
+ return item;
11291
+ }
11292
+ const attrPath = attribute instanceof IntegerValue ? String(attribute.value) : attribute.value;
11293
+ return getAttributeValue(item, attrPath);
11294
+ };
11295
+ return new ArrayValue(
11296
+ operand.value.slice().sort((a, b) => {
11297
+ const aVal = getSortValue(a);
11298
+ const bVal = getSortValue(b);
11299
+ const result = compareRuntimeValues(aVal, bVal, caseSensitive.value);
11300
+ return reverse.value ? -result : result;
11301
+ })
11302
+ );
11303
+ }
11087
11304
  case "selectattr":
11088
11305
  case "rejectattr": {
11089
11306
  const select = filterName === "selectattr";
@@ -11123,7 +11340,8 @@ var __webpack_modules__ = {
11123
11340
  if (!(item instanceof ObjectValue)) {
11124
11341
  throw new Error("items in map must be an object");
11125
11342
  }
11126
- return item.value.get(attr.value) ?? defaultValue ?? new UndefinedValue();
11343
+ const value = getAttributeValue(item, attr.value);
11344
+ return value instanceof UndefinedValue ? defaultValue ?? new UndefinedValue() : value;
11127
11345
  });
11128
11346
  return new ArrayValue(mapped);
11129
11347
  } else {
@@ -11159,6 +11377,16 @@ var __webpack_modules__ = {
11159
11377
  }
11160
11378
  }
11161
11379
  throw new Error(`Unknown StringValue filter: ${filterName}`);
11380
+ } else if (operand instanceof ObjectValue) {
11381
+ const builtin = operand.builtins.get(filterName);
11382
+ if (builtin && builtin instanceof FunctionValue) {
11383
+ const [args, kwargs] = this.evaluateArguments(filter.args, environment);
11384
+ if (kwargs.size > 0) {
11385
+ args.push(new KeywordArgumentsValue(kwargs));
11386
+ }
11387
+ return builtin.value(args, environment);
11388
+ }
11389
+ throw new Error(`Unknown ObjectValue filter: ${filterName}`);
11162
11390
  } else {
11163
11391
  throw new Error(`Cannot apply filter "${filterName}" to type: ${operand.type}`);
11164
11392
  }
@@ -11588,37 +11816,6 @@ var __webpack_modules__ = {
11588
11816
  throw new Error(`Cannot convert to runtime value: ${input}`);
11589
11817
  }
11590
11818
  }
11591
- function toJSON(input, indent, depth) {
11592
- const currentDepth = depth ?? 0;
11593
- switch (input.type) {
11594
- case "NullValue":
11595
- case "UndefinedValue":
11596
- return "null";
11597
- case "IntegerValue":
11598
- case "FloatValue":
11599
- case "StringValue":
11600
- case "BooleanValue":
11601
- return JSON.stringify(input.value);
11602
- case "ArrayValue":
11603
- case "ObjectValue": {
11604
- const indentValue = indent ? " ".repeat(indent) : "";
11605
- const basePadding = "\n" + indentValue.repeat(currentDepth);
11606
- const childrenPadding = basePadding + indentValue;
11607
- if (input.type === "ArrayValue") {
11608
- const core = input.value.map((x) => toJSON(x, indent, currentDepth + 1));
11609
- return indent ? `[${childrenPadding}${core.join(`,${childrenPadding}`)}${basePadding}]` : `[${core.join(", ")}]`;
11610
- } else {
11611
- const core = Array.from(input.value.entries()).map(([key, value]) => {
11612
- const v = `"${key}": ${toJSON(value, indent, currentDepth + 1)}`;
11613
- return indent ? `${childrenPadding}${v}` : v;
11614
- });
11615
- return indent ? `{${core.join(",")}${basePadding}}` : `{${core.join(", ")}}`;
11616
- }
11617
- }
11618
- default:
11619
- throw new Error(`Cannot convert to JSON: ${input.type}`);
11620
- }
11621
- }
11622
11819
  var NEWLINE = "\n";
11623
11820
  var OPEN_STATEMENT = "{%- ";
11624
11821
  var CLOSE_STATEMENT = " -%}";
@@ -11966,7 +12163,7 @@ var __webpack_modules__ = {
11966
12163
  const supportedDevices = [];
11967
12164
  let defaultDevices;
11968
12165
  let ONNX;
11969
- const ORT_SYMBOL = Symbol.for("onnxruntime");
12166
+ const ORT_SYMBOL = /* @__PURE__ */ Symbol.for("onnxruntime");
11970
12167
  if (ORT_SYMBOL in globalThis) {
11971
12168
  ONNX = globalThis[ORT_SYMBOL];
11972
12169
  } else if (_env_js__WEBPACK_IMPORTED_MODULE_0__.apis.IS_NODE_ENV) {
@@ -13057,6 +13254,7 @@ var __webpack_modules__ = {
13057
13254
  case "voxtral":
13058
13255
  case "smolvlm":
13059
13256
  case "gemma3n":
13257
+ case "mistral3":
13060
13258
  init_normalized_config = getNormalizedConfig(config.text_config);
13061
13259
  break;
13062
13260
  case "moondream1":
@@ -13122,6 +13320,8 @@ var __webpack_modules__ = {
13122
13320
  case "glm":
13123
13321
  case "helium":
13124
13322
  case "ernie4_5":
13323
+ case "ministral":
13324
+ case "ministral3":
13125
13325
  mapping["num_heads"] = "num_key_value_heads";
13126
13326
  mapping["num_layers"] = "num_hidden_layers";
13127
13327
  mapping["dim_kv"] = "head_dim";
@@ -13398,7 +13598,7 @@ var __webpack_modules__ = {
13398
13598
  /*! node:url */
13399
13599
  "node:url"
13400
13600
  );
13401
- const VERSION = "3.8.0";
13601
+ const VERSION = "3.8.1";
13402
13602
  const IS_BROWSER_ENV = typeof window !== "undefined" && typeof window.document !== "undefined";
13403
13603
  const IS_WEBWORKER_ENV = typeof self !== "undefined" && ["DedicatedWorkerGlobalScope", "ServiceWorkerGlobalScope", "SharedWorkerGlobalScope"].includes(self.constructor?.name);
13404
13604
  const IS_WEB_CACHE_AVAILABLE = typeof self !== "undefined" && "caches" in self;
@@ -15915,19 +16115,19 @@ var __webpack_modules__ = {
15915
16115
  ElectraPreTrainedModel
15916
16116
  ),
15917
16117
  /* harmony export */
15918
- Ernie4_5_ForCausalLM: () => (
16118
+ Ernie4_5ForCausalLM: () => (
15919
16119
  /* binding */
15920
- Ernie4_5_ForCausalLM
16120
+ Ernie4_5ForCausalLM
15921
16121
  ),
15922
16122
  /* harmony export */
15923
- Ernie4_5_Model: () => (
16123
+ Ernie4_5Model: () => (
15924
16124
  /* binding */
15925
- Ernie4_5_Model
16125
+ Ernie4_5Model
15926
16126
  ),
15927
16127
  /* harmony export */
15928
- Ernie4_5_PretrainedModel: () => (
16128
+ Ernie4_5PreTrainedModel: () => (
15929
16129
  /* binding */
15930
- Ernie4_5_PretrainedModel
16130
+ Ernie4_5PreTrainedModel
15931
16131
  ),
15932
16132
  /* harmony export */
15933
16133
  EsmForMaskedLM: () => (
@@ -16600,6 +16800,41 @@ var __webpack_modules__ = {
16600
16800
  MimiPreTrainedModel
16601
16801
  ),
16602
16802
  /* harmony export */
16803
+ Ministral3ForCausalLM: () => (
16804
+ /* binding */
16805
+ Ministral3ForCausalLM
16806
+ ),
16807
+ /* harmony export */
16808
+ Ministral3Model: () => (
16809
+ /* binding */
16810
+ Ministral3Model
16811
+ ),
16812
+ /* harmony export */
16813
+ Ministral3PreTrainedModel: () => (
16814
+ /* binding */
16815
+ Ministral3PreTrainedModel
16816
+ ),
16817
+ /* harmony export */
16818
+ MinistralForCausalLM: () => (
16819
+ /* binding */
16820
+ MinistralForCausalLM
16821
+ ),
16822
+ /* harmony export */
16823
+ MinistralModel: () => (
16824
+ /* binding */
16825
+ MinistralModel
16826
+ ),
16827
+ /* harmony export */
16828
+ MinistralPreTrainedModel: () => (
16829
+ /* binding */
16830
+ MinistralPreTrainedModel
16831
+ ),
16832
+ /* harmony export */
16833
+ Mistral3ForConditionalGeneration: () => (
16834
+ /* binding */
16835
+ Mistral3ForConditionalGeneration
16836
+ ),
16837
+ /* harmony export */
16603
16838
  MistralForCausalLM: () => (
16604
16839
  /* binding */
16605
16840
  MistralForCausalLM
@@ -20688,6 +20923,8 @@ var __webpack_modules__ = {
20688
20923
  });
20689
20924
  }
20690
20925
  }
20926
+ class Mistral3ForConditionalGeneration extends LlavaQwen2ForCausalLM {
20927
+ }
20691
20928
  class Gemma3nPreTrainedModel extends PreTrainedModel {
20692
20929
  constructor() {
20693
20930
  super(...arguments);
@@ -22401,11 +22638,23 @@ var __webpack_modules__ = {
22401
22638
  }
22402
22639
  class MistralForCausalLM extends MistralPreTrainedModel {
22403
22640
  }
22404
- class Ernie4_5_PretrainedModel extends PreTrainedModel {
22641
+ class MinistralPreTrainedModel extends PreTrainedModel {
22642
+ }
22643
+ class MinistralModel extends MinistralPreTrainedModel {
22405
22644
  }
22406
- class Ernie4_5_Model extends Ernie4_5_PretrainedModel {
22645
+ class MinistralForCausalLM extends MinistralPreTrainedModel {
22407
22646
  }
22408
- class Ernie4_5_ForCausalLM extends Ernie4_5_PretrainedModel {
22647
+ class Ministral3PreTrainedModel extends PreTrainedModel {
22648
+ }
22649
+ class Ministral3Model extends Ministral3PreTrainedModel {
22650
+ }
22651
+ class Ministral3ForCausalLM extends Ministral3PreTrainedModel {
22652
+ }
22653
+ class Ernie4_5PreTrainedModel extends PreTrainedModel {
22654
+ }
22655
+ class Ernie4_5Model extends Ernie4_5PreTrainedModel {
22656
+ }
22657
+ class Ernie4_5ForCausalLM extends Ernie4_5PreTrainedModel {
22409
22658
  }
22410
22659
  class Starcoder2PreTrainedModel extends PreTrainedModel {
22411
22660
  }
@@ -23136,7 +23385,9 @@ var __webpack_modules__ = {
23136
23385
  ["mpt", ["MptModel", MptModel]],
23137
23386
  ["opt", ["OPTModel", OPTModel]],
23138
23387
  ["mistral", ["MistralModel", MistralModel]],
23139
- ["ernie4_5", ["Ernie4_5_Model", Ernie4_5_Model]],
23388
+ ["ministral", ["MinistralModel", MinistralModel]],
23389
+ ["ministral3", ["Ministral3Model", Ministral3Model]],
23390
+ ["ernie4_5", ["Ernie4_5Model", Ernie4_5Model]],
23140
23391
  ["starcoder2", ["Starcoder2Model", Starcoder2Model]],
23141
23392
  ["falcon", ["FalconModel", FalconModel]],
23142
23393
  ["stablelm", ["StableLmModel", StableLmModel]],
@@ -23243,7 +23494,9 @@ var __webpack_modules__ = {
23243
23494
  ["opt", ["OPTForCausalLM", OPTForCausalLM]],
23244
23495
  ["mbart", ["MBartForCausalLM", MBartForCausalLM]],
23245
23496
  ["mistral", ["MistralForCausalLM", MistralForCausalLM]],
23246
- ["ernie4_5", ["Ernie4_5_ForCausalLM", Ernie4_5_ForCausalLM]],
23497
+ ["ministral", ["MinistralForCausalLM", MinistralForCausalLM]],
23498
+ ["ministral3", ["Ministral3ForCausalLM", Ministral3ForCausalLM]],
23499
+ ["ernie4_5", ["Ernie4_5ForCausalLM", Ernie4_5ForCausalLM]],
23247
23500
  ["starcoder2", ["Starcoder2ForCausalLM", Starcoder2ForCausalLM]],
23248
23501
  ["falcon", ["FalconForCausalLM", FalconForCausalLM]],
23249
23502
  ["trocr", ["TrOCRForCausalLM", TrOCRForCausalLM]],
@@ -23308,7 +23561,8 @@ var __webpack_modules__ = {
23308
23561
  ["smolvlm", ["SmolVLMForConditionalGeneration", SmolVLMForConditionalGeneration]],
23309
23562
  ["paligemma", ["PaliGemmaForConditionalGeneration", PaliGemmaForConditionalGeneration]],
23310
23563
  ["llava_qwen2", ["LlavaQwen2ForCausalLM", LlavaQwen2ForCausalLM]],
23311
- ["gemma3n", ["Gemma3nForConditionalGeneration", Gemma3nForConditionalGeneration]]
23564
+ ["gemma3n", ["Gemma3nForConditionalGeneration", Gemma3nForConditionalGeneration]],
23565
+ ["mistral3", ["Mistral3ForConditionalGeneration", Mistral3ForConditionalGeneration]]
23312
23566
  ]);
23313
23567
  const MODEL_FOR_AUDIO_TEXT_TO_TEXT_MAPPING_NAMES = /* @__PURE__ */ new Map([
23314
23568
  ["ultravox", ["UltravoxModel", UltravoxModel]],
@@ -25889,59 +26143,64 @@ ${fake_token_around_image}${global_img_token}` + image_token.repeat(image_seq_le
25889
26143
  _phi3_v_image_processing_phi3_v_js__WEBPACK_IMPORTED_MODULE_27__.Phi3VImageProcessor
25890
26144
  ),
25891
26145
  /* harmony export */
26146
+ PixtralImageProcessor: () => (
26147
+ /* reexport safe */
26148
+ _pixtral_image_processing_pixtral_js__WEBPACK_IMPORTED_MODULE_28__.PixtralImageProcessor
26149
+ ),
26150
+ /* harmony export */
25892
26151
  PvtImageProcessor: () => (
25893
26152
  /* reexport safe */
25894
- _pvt_image_processing_pvt_js__WEBPACK_IMPORTED_MODULE_28__.PvtImageProcessor
26153
+ _pvt_image_processing_pvt_js__WEBPACK_IMPORTED_MODULE_29__.PvtImageProcessor
25895
26154
  ),
25896
26155
  /* harmony export */
25897
26156
  Qwen2VLImageProcessor: () => (
25898
26157
  /* reexport safe */
25899
- _qwen2_vl_image_processing_qwen2_vl_js__WEBPACK_IMPORTED_MODULE_29__.Qwen2VLImageProcessor
26158
+ _qwen2_vl_image_processing_qwen2_vl_js__WEBPACK_IMPORTED_MODULE_30__.Qwen2VLImageProcessor
25900
26159
  ),
25901
26160
  /* harmony export */
25902
26161
  RTDetrImageProcessor: () => (
25903
26162
  /* reexport safe */
25904
- _rt_detr_image_processing_rt_detr_js__WEBPACK_IMPORTED_MODULE_30__.RTDetrImageProcessor
26163
+ _rt_detr_image_processing_rt_detr_js__WEBPACK_IMPORTED_MODULE_31__.RTDetrImageProcessor
25905
26164
  ),
25906
26165
  /* harmony export */
25907
26166
  Sam2ImageProcessor: () => (
25908
26167
  /* reexport safe */
25909
- _sam2_image_processing_sam2_js__WEBPACK_IMPORTED_MODULE_32__.Sam2ImageProcessor
26168
+ _sam2_image_processing_sam2_js__WEBPACK_IMPORTED_MODULE_33__.Sam2ImageProcessor
25910
26169
  ),
25911
26170
  /* harmony export */
25912
26171
  Sam3ImageProcessor: () => (
25913
26172
  /* reexport safe */
25914
- _sam3_image_processing_sam3_js__WEBPACK_IMPORTED_MODULE_33__.Sam3ImageProcessor
26173
+ _sam3_image_processing_sam3_js__WEBPACK_IMPORTED_MODULE_34__.Sam3ImageProcessor
25915
26174
  ),
25916
26175
  /* harmony export */
25917
26176
  SamImageProcessor: () => (
25918
26177
  /* reexport safe */
25919
- _sam_image_processing_sam_js__WEBPACK_IMPORTED_MODULE_31__.SamImageProcessor
26178
+ _sam_image_processing_sam_js__WEBPACK_IMPORTED_MODULE_32__.SamImageProcessor
25920
26179
  ),
25921
26180
  /* harmony export */
25922
26181
  SegformerFeatureExtractor: () => (
25923
26182
  /* reexport safe */
25924
- _segformer_image_processing_segformer_js__WEBPACK_IMPORTED_MODULE_34__.SegformerFeatureExtractor
26183
+ _segformer_image_processing_segformer_js__WEBPACK_IMPORTED_MODULE_35__.SegformerFeatureExtractor
25925
26184
  ),
25926
26185
  /* harmony export */
25927
26186
  SegformerImageProcessor: () => (
25928
26187
  /* reexport safe */
25929
- _segformer_image_processing_segformer_js__WEBPACK_IMPORTED_MODULE_34__.SegformerImageProcessor
26188
+ _segformer_image_processing_segformer_js__WEBPACK_IMPORTED_MODULE_35__.SegformerImageProcessor
25930
26189
  ),
25931
26190
  /* harmony export */
25932
26191
  SiglipImageProcessor: () => (
25933
26192
  /* reexport safe */
25934
- _siglip_image_processing_siglip_js__WEBPACK_IMPORTED_MODULE_35__.SiglipImageProcessor
26193
+ _siglip_image_processing_siglip_js__WEBPACK_IMPORTED_MODULE_36__.SiglipImageProcessor
25935
26194
  ),
25936
26195
  /* harmony export */
25937
26196
  SmolVLMImageProcessor: () => (
25938
26197
  /* reexport safe */
25939
- _smolvlm_image_processing_smolvlm_js__WEBPACK_IMPORTED_MODULE_36__.SmolVLMImageProcessor
26198
+ _smolvlm_image_processing_smolvlm_js__WEBPACK_IMPORTED_MODULE_37__.SmolVLMImageProcessor
25940
26199
  ),
25941
26200
  /* harmony export */
25942
26201
  Swin2SRImageProcessor: () => (
25943
26202
  /* reexport safe */
25944
- _swin2sr_image_processing_swin2sr_js__WEBPACK_IMPORTED_MODULE_37__.Swin2SRImageProcessor
26203
+ _swin2sr_image_processing_swin2sr_js__WEBPACK_IMPORTED_MODULE_38__.Swin2SRImageProcessor
25945
26204
  ),
25946
26205
  /* harmony export */
25947
26206
  VLMImageProcessor: () => (
@@ -25951,32 +26210,32 @@ ${fake_token_around_image}${global_img_token}` + image_token.repeat(image_seq_le
25951
26210
  /* harmony export */
25952
26211
  ViTFeatureExtractor: () => (
25953
26212
  /* reexport safe */
25954
- _vit_image_processing_vit_js__WEBPACK_IMPORTED_MODULE_38__.ViTFeatureExtractor
26213
+ _vit_image_processing_vit_js__WEBPACK_IMPORTED_MODULE_39__.ViTFeatureExtractor
25955
26214
  ),
25956
26215
  /* harmony export */
25957
26216
  ViTImageProcessor: () => (
25958
26217
  /* reexport safe */
25959
- _vit_image_processing_vit_js__WEBPACK_IMPORTED_MODULE_38__.ViTImageProcessor
26218
+ _vit_image_processing_vit_js__WEBPACK_IMPORTED_MODULE_39__.ViTImageProcessor
25960
26219
  ),
25961
26220
  /* harmony export */
25962
26221
  VitMatteImageProcessor: () => (
25963
26222
  /* reexport safe */
25964
- _vitmatte_image_processing_vitmatte_js__WEBPACK_IMPORTED_MODULE_39__.VitMatteImageProcessor
26223
+ _vitmatte_image_processing_vitmatte_js__WEBPACK_IMPORTED_MODULE_40__.VitMatteImageProcessor
25965
26224
  ),
25966
26225
  /* harmony export */
25967
26226
  VitPoseImageProcessor: () => (
25968
26227
  /* reexport safe */
25969
- _vitpose_image_processing_vitpose_js__WEBPACK_IMPORTED_MODULE_40__.VitPoseImageProcessor
26228
+ _vitpose_image_processing_vitpose_js__WEBPACK_IMPORTED_MODULE_41__.VitPoseImageProcessor
25970
26229
  ),
25971
26230
  /* harmony export */
25972
26231
  YolosFeatureExtractor: () => (
25973
26232
  /* reexport safe */
25974
- _yolos_image_processing_yolos_js__WEBPACK_IMPORTED_MODULE_41__.YolosFeatureExtractor
26233
+ _yolos_image_processing_yolos_js__WEBPACK_IMPORTED_MODULE_42__.YolosFeatureExtractor
25975
26234
  ),
25976
26235
  /* harmony export */
25977
26236
  YolosImageProcessor: () => (
25978
26237
  /* reexport safe */
25979
- _yolos_image_processing_yolos_js__WEBPACK_IMPORTED_MODULE_41__.YolosImageProcessor
26238
+ _yolos_image_processing_yolos_js__WEBPACK_IMPORTED_MODULE_42__.YolosImageProcessor
25980
26239
  )
25981
26240
  /* harmony export */
25982
26241
  });
@@ -26092,59 +26351,63 @@ ${fake_token_around_image}${global_img_token}` + image_token.repeat(image_seq_le
26092
26351
  /*! ./phi3_v/image_processing_phi3_v.js */
26093
26352
  "./src/models/phi3_v/image_processing_phi3_v.js"
26094
26353
  );
26095
- var _pvt_image_processing_pvt_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__2(
26354
+ var _pixtral_image_processing_pixtral_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__2(
26355
+ /*! ./pixtral/image_processing_pixtral.js */
26356
+ "./src/models/pixtral/image_processing_pixtral.js"
26357
+ );
26358
+ var _pvt_image_processing_pvt_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__2(
26096
26359
  /*! ./pvt/image_processing_pvt.js */
26097
26360
  "./src/models/pvt/image_processing_pvt.js"
26098
26361
  );
26099
- var _qwen2_vl_image_processing_qwen2_vl_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__2(
26362
+ var _qwen2_vl_image_processing_qwen2_vl_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__2(
26100
26363
  /*! ./qwen2_vl/image_processing_qwen2_vl.js */
26101
26364
  "./src/models/qwen2_vl/image_processing_qwen2_vl.js"
26102
26365
  );
26103
- var _rt_detr_image_processing_rt_detr_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__2(
26366
+ var _rt_detr_image_processing_rt_detr_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__2(
26104
26367
  /*! ./rt_detr/image_processing_rt_detr.js */
26105
26368
  "./src/models/rt_detr/image_processing_rt_detr.js"
26106
26369
  );
26107
- var _sam_image_processing_sam_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__2(
26370
+ var _sam_image_processing_sam_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__2(
26108
26371
  /*! ./sam/image_processing_sam.js */
26109
26372
  "./src/models/sam/image_processing_sam.js"
26110
26373
  );
26111
- var _sam2_image_processing_sam2_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__2(
26374
+ var _sam2_image_processing_sam2_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__2(
26112
26375
  /*! ./sam2/image_processing_sam2.js */
26113
26376
  "./src/models/sam2/image_processing_sam2.js"
26114
26377
  );
26115
- var _sam3_image_processing_sam3_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__2(
26378
+ var _sam3_image_processing_sam3_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__2(
26116
26379
  /*! ./sam3/image_processing_sam3.js */
26117
26380
  "./src/models/sam3/image_processing_sam3.js"
26118
26381
  );
26119
- var _segformer_image_processing_segformer_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__2(
26382
+ var _segformer_image_processing_segformer_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__2(
26120
26383
  /*! ./segformer/image_processing_segformer.js */
26121
26384
  "./src/models/segformer/image_processing_segformer.js"
26122
26385
  );
26123
- var _siglip_image_processing_siglip_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__2(
26386
+ var _siglip_image_processing_siglip_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__2(
26124
26387
  /*! ./siglip/image_processing_siglip.js */
26125
26388
  "./src/models/siglip/image_processing_siglip.js"
26126
26389
  );
26127
- var _smolvlm_image_processing_smolvlm_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__2(
26390
+ var _smolvlm_image_processing_smolvlm_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__2(
26128
26391
  /*! ./smolvlm/image_processing_smolvlm.js */
26129
26392
  "./src/models/smolvlm/image_processing_smolvlm.js"
26130
26393
  );
26131
- var _swin2sr_image_processing_swin2sr_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__2(
26394
+ var _swin2sr_image_processing_swin2sr_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__2(
26132
26395
  /*! ./swin2sr/image_processing_swin2sr.js */
26133
26396
  "./src/models/swin2sr/image_processing_swin2sr.js"
26134
26397
  );
26135
- var _vit_image_processing_vit_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__2(
26398
+ var _vit_image_processing_vit_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__2(
26136
26399
  /*! ./vit/image_processing_vit.js */
26137
26400
  "./src/models/vit/image_processing_vit.js"
26138
26401
  );
26139
- var _vitmatte_image_processing_vitmatte_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__2(
26402
+ var _vitmatte_image_processing_vitmatte_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__2(
26140
26403
  /*! ./vitmatte/image_processing_vitmatte.js */
26141
26404
  "./src/models/vitmatte/image_processing_vitmatte.js"
26142
26405
  );
26143
- var _vitpose_image_processing_vitpose_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__2(
26406
+ var _vitpose_image_processing_vitpose_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__2(
26144
26407
  /*! ./vitpose/image_processing_vitpose.js */
26145
26408
  "./src/models/vitpose/image_processing_vitpose.js"
26146
26409
  );
26147
- var _yolos_image_processing_yolos_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__2(
26410
+ var _yolos_image_processing_yolos_js__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__2(
26148
26411
  /*! ./yolos/image_processing_yolos.js */
26149
26412
  "./src/models/yolos/image_processing_yolos.js"
26150
26413
  );
@@ -27546,6 +27809,118 @@ ${fake_token_around_image}${global_img_token}` + image_token.repeat(image_seq_le
27546
27809
  })
27547
27810
  ),
27548
27811
  /***/
27812
+ "./src/models/pixtral/image_processing_pixtral.js": (
27813
+ /*!********************************************************!*\
27814
+ !*** ./src/models/pixtral/image_processing_pixtral.js ***!
27815
+ \********************************************************/
27816
+ /***/
27817
+ ((__unused_webpack___webpack_module__, __webpack_exports__2, __webpack_require__2) => {
27818
+ __webpack_require__2.r(__webpack_exports__2);
27819
+ __webpack_require__2.d(__webpack_exports__2, {
27820
+ /* harmony export */
27821
+ PixtralImageProcessor: () => (
27822
+ /* binding */
27823
+ PixtralImageProcessor
27824
+ )
27825
+ /* harmony export */
27826
+ });
27827
+ var _base_image_processors_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__2(
27828
+ /*! ../../base/image_processors_utils.js */
27829
+ "./src/base/image_processors_utils.js"
27830
+ );
27831
+ class PixtralImageProcessor extends _base_image_processors_utils_js__WEBPACK_IMPORTED_MODULE_0__.ImageProcessor {
27832
+ /** @type {ImageProcessor['get_resize_output_image_size']} */
27833
+ get_resize_output_image_size(image, size) {
27834
+ const { longest_edge } = size;
27835
+ if (longest_edge === void 0) {
27836
+ throw new Error("size must contain 'longest_edge'");
27837
+ }
27838
+ const [srcWidth, srcHeight] = image.size;
27839
+ const ratio = Math.max(srcWidth, srcHeight) / longest_edge;
27840
+ let newWidth = srcWidth;
27841
+ let newHeight = srcHeight;
27842
+ if (ratio > 1) {
27843
+ newWidth = Math.floor(srcWidth / ratio);
27844
+ newHeight = Math.floor(srcHeight / ratio);
27845
+ }
27846
+ const { patch_size, spatial_merge_size } = this.config;
27847
+ if (!spatial_merge_size) {
27848
+ throw new Error("config must contain 'spatial_merge_size'");
27849
+ }
27850
+ const real_patch_size = patch_size * spatial_merge_size;
27851
+ const num_width_tokens = Math.floor((newWidth - 1) / real_patch_size) + 1;
27852
+ const num_height_tokens = Math.floor((newHeight - 1) / real_patch_size) + 1;
27853
+ return [num_width_tokens * real_patch_size, num_height_tokens * real_patch_size];
27854
+ }
27855
+ }
27856
+ })
27857
+ ),
27858
+ /***/
27859
+ "./src/models/pixtral/processing_pixtral.js": (
27860
+ /*!**************************************************!*\
27861
+ !*** ./src/models/pixtral/processing_pixtral.js ***!
27862
+ \**************************************************/
27863
+ /***/
27864
+ ((__unused_webpack___webpack_module__, __webpack_exports__2, __webpack_require__2) => {
27865
+ __webpack_require__2.r(__webpack_exports__2);
27866
+ __webpack_require__2.d(__webpack_exports__2, {
27867
+ /* harmony export */
27868
+ PixtralProcessor: () => (
27869
+ /* binding */
27870
+ PixtralProcessor
27871
+ )
27872
+ /* harmony export */
27873
+ });
27874
+ var _base_processing_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__2(
27875
+ /*! ../../base/processing_utils.js */
27876
+ "./src/base/processing_utils.js"
27877
+ );
27878
+ var _auto_image_processing_auto_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__2(
27879
+ /*! ../auto/image_processing_auto.js */
27880
+ "./src/models/auto/image_processing_auto.js"
27881
+ );
27882
+ var _tokenizers_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__2(
27883
+ /*! ../../tokenizers.js */
27884
+ "./src/tokenizers.js"
27885
+ );
27886
+ class PixtralProcessor extends _base_processing_utils_js__WEBPACK_IMPORTED_MODULE_0__.Processor {
27887
+ /**
27888
+ * @typedef {import('../../utils/image.js').RawImage} RawImage
27889
+ */
27890
+ // `images` is required, `text` is optional
27891
+ async _call(images, text = null, kwargs = {}) {
27892
+ const image_inputs = await this.image_processor(images, kwargs);
27893
+ if (text) {
27894
+ const [height, width] = image_inputs.pixel_values.dims.slice(-2);
27895
+ const { image_token, image_break_token, image_end_token, patch_size, spatial_merge_size } = this.config;
27896
+ const real_patch_size = patch_size * spatial_merge_size;
27897
+ const num_height_tokens = Math.floor(height / real_patch_size);
27898
+ const num_width_tokens = Math.floor(width / real_patch_size);
27899
+ text = structuredClone(text);
27900
+ if (!Array.isArray(text)) {
27901
+ text = [text];
27902
+ }
27903
+ for (let i = 0; i < text.length; ++i) {
27904
+ const width_tokens = image_token.repeat(num_width_tokens);
27905
+ const row = width_tokens + image_break_token;
27906
+ const finalRow = width_tokens + image_end_token;
27907
+ const full = row.repeat(num_height_tokens - 1) + finalRow;
27908
+ text[i] = text[i].replace(image_token, full);
27909
+ }
27910
+ }
27911
+ const text_inputs = text ? this.tokenizer(text, kwargs) : {};
27912
+ return {
27913
+ ...image_inputs,
27914
+ ...text_inputs
27915
+ };
27916
+ }
27917
+ }
27918
+ __publicField(PixtralProcessor, "tokenizer_class", _tokenizers_js__WEBPACK_IMPORTED_MODULE_2__.AutoTokenizer);
27919
+ __publicField(PixtralProcessor, "image_processor_class", _auto_image_processing_auto_js__WEBPACK_IMPORTED_MODULE_1__.AutoImageProcessor);
27920
+ __publicField(PixtralProcessor, "uses_processor_config", true);
27921
+ })
27922
+ ),
27923
+ /***/
27549
27924
  "./src/models/processors.js": (
27550
27925
  /*!**********************************!*\
27551
27926
  !*** ./src/models/processors.js ***!
@@ -27602,52 +27977,57 @@ ${fake_token_around_image}${global_img_token}` + image_token.repeat(image_seq_le
27602
27977
  /* harmony export */
27603
27978
  PaliGemmaProcessor: () => (
27604
27979
  /* reexport safe */
27605
- _paligemma_processing_paligemma_js__WEBPACK_IMPORTED_MODULE_11__.PaliGemmaProcessor
27980
+ _paligemma_processing_paligemma_js__WEBPACK_IMPORTED_MODULE_10__.PaliGemmaProcessor
27606
27981
  ),
27607
27982
  /* harmony export */
27608
27983
  Phi3VProcessor: () => (
27609
27984
  /* reexport safe */
27610
- _phi3_v_processing_phi3_v_js__WEBPACK_IMPORTED_MODULE_10__.Phi3VProcessor
27985
+ _phi3_v_processing_phi3_v_js__WEBPACK_IMPORTED_MODULE_11__.Phi3VProcessor
27986
+ ),
27987
+ /* harmony export */
27988
+ PixtralProcessor: () => (
27989
+ /* reexport safe */
27990
+ _pixtral_processing_pixtral_js__WEBPACK_IMPORTED_MODULE_12__.PixtralProcessor
27611
27991
  ),
27612
27992
  /* harmony export */
27613
27993
  PyAnnoteProcessor: () => (
27614
27994
  /* reexport safe */
27615
- _pyannote_processing_pyannote_js__WEBPACK_IMPORTED_MODULE_12__.PyAnnoteProcessor
27995
+ _pyannote_processing_pyannote_js__WEBPACK_IMPORTED_MODULE_13__.PyAnnoteProcessor
27616
27996
  ),
27617
27997
  /* harmony export */
27618
27998
  Qwen2VLProcessor: () => (
27619
27999
  /* reexport safe */
27620
- _qwen2_vl_processing_qwen2_vl_js__WEBPACK_IMPORTED_MODULE_13__.Qwen2VLProcessor
28000
+ _qwen2_vl_processing_qwen2_vl_js__WEBPACK_IMPORTED_MODULE_14__.Qwen2VLProcessor
27621
28001
  ),
27622
28002
  /* harmony export */
27623
28003
  Sam2Processor: () => (
27624
28004
  /* reexport safe */
27625
- _sam2_processing_sam2_js__WEBPACK_IMPORTED_MODULE_15__.Sam2Processor
28005
+ _sam2_processing_sam2_js__WEBPACK_IMPORTED_MODULE_16__.Sam2Processor
27626
28006
  ),
27627
28007
  /* harmony export */
27628
28008
  Sam2VideoProcessor: () => (
27629
28009
  /* reexport safe */
27630
- _sam2_processing_sam2_js__WEBPACK_IMPORTED_MODULE_15__.Sam2VideoProcessor
28010
+ _sam2_processing_sam2_js__WEBPACK_IMPORTED_MODULE_16__.Sam2VideoProcessor
27631
28011
  ),
27632
28012
  /* harmony export */
27633
28013
  SamProcessor: () => (
27634
28014
  /* reexport safe */
27635
- _sam_processing_sam_js__WEBPACK_IMPORTED_MODULE_14__.SamProcessor
28015
+ _sam_processing_sam_js__WEBPACK_IMPORTED_MODULE_15__.SamProcessor
27636
28016
  ),
27637
28017
  /* harmony export */
27638
28018
  SmolVLMProcessor: () => (
27639
28019
  /* reexport safe */
27640
- _smolvlm_processing_smolvlm_js__WEBPACK_IMPORTED_MODULE_16__.SmolVLMProcessor
28020
+ _smolvlm_processing_smolvlm_js__WEBPACK_IMPORTED_MODULE_17__.SmolVLMProcessor
27641
28021
  ),
27642
28022
  /* harmony export */
27643
28023
  SpeechT5Processor: () => (
27644
28024
  /* reexport safe */
27645
- _speecht5_processing_speecht5_js__WEBPACK_IMPORTED_MODULE_17__.SpeechT5Processor
28025
+ _speecht5_processing_speecht5_js__WEBPACK_IMPORTED_MODULE_18__.SpeechT5Processor
27646
28026
  ),
27647
28027
  /* harmony export */
27648
28028
  UltravoxProcessor: () => (
27649
28029
  /* reexport safe */
27650
- _ultravox_processing_ultravox_js__WEBPACK_IMPORTED_MODULE_18__.UltravoxProcessor
28030
+ _ultravox_processing_ultravox_js__WEBPACK_IMPORTED_MODULE_19__.UltravoxProcessor
27651
28031
  ),
27652
28032
  /* harmony export */
27653
28033
  VLChatProcessor: () => (
@@ -27657,22 +28037,22 @@ ${fake_token_around_image}${global_img_token}` + image_token.repeat(image_seq_le
27657
28037
  /* harmony export */
27658
28038
  VoxtralProcessor: () => (
27659
28039
  /* reexport safe */
27660
- _voxtral_processing_voxtral_js__WEBPACK_IMPORTED_MODULE_19__.VoxtralProcessor
28040
+ _voxtral_processing_voxtral_js__WEBPACK_IMPORTED_MODULE_20__.VoxtralProcessor
27661
28041
  ),
27662
28042
  /* harmony export */
27663
28043
  Wav2Vec2Processor: () => (
27664
28044
  /* reexport safe */
27665
- _wav2vec2_processing_wav2vec2_js__WEBPACK_IMPORTED_MODULE_20__.Wav2Vec2Processor
28045
+ _wav2vec2_processing_wav2vec2_js__WEBPACK_IMPORTED_MODULE_21__.Wav2Vec2Processor
27666
28046
  ),
27667
28047
  /* harmony export */
27668
28048
  Wav2Vec2ProcessorWithLM: () => (
27669
28049
  /* reexport safe */
27670
- _wav2vec2_with_lm_processing_wav2vec2_with_lm_js__WEBPACK_IMPORTED_MODULE_21__.Wav2Vec2ProcessorWithLM
28050
+ _wav2vec2_with_lm_processing_wav2vec2_with_lm_js__WEBPACK_IMPORTED_MODULE_22__.Wav2Vec2ProcessorWithLM
27671
28051
  ),
27672
28052
  /* harmony export */
27673
28053
  WhisperProcessor: () => (
27674
28054
  /* reexport safe */
27675
- _whisper_processing_whisper_js__WEBPACK_IMPORTED_MODULE_22__.WhisperProcessor
28055
+ _whisper_processing_whisper_js__WEBPACK_IMPORTED_MODULE_23__.WhisperProcessor
27676
28056
  )
27677
28057
  /* harmony export */
27678
28058
  });
@@ -27716,55 +28096,59 @@ ${fake_token_around_image}${global_img_token}` + image_token.repeat(image_seq_le
27716
28096
  /*! ./owlvit/processing_owlvit.js */
27717
28097
  "./src/models/owlvit/processing_owlvit.js"
27718
28098
  );
27719
- var _phi3_v_processing_phi3_v_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__2(
28099
+ var _paligemma_processing_paligemma_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__2(
28100
+ /*! ./paligemma/processing_paligemma.js */
28101
+ "./src/models/paligemma/processing_paligemma.js"
28102
+ );
28103
+ var _phi3_v_processing_phi3_v_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__2(
27720
28104
  /*! ./phi3_v/processing_phi3_v.js */
27721
28105
  "./src/models/phi3_v/processing_phi3_v.js"
27722
28106
  );
27723
- var _paligemma_processing_paligemma_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__2(
27724
- /*! ./paligemma/processing_paligemma.js */
27725
- "./src/models/paligemma/processing_paligemma.js"
28107
+ var _pixtral_processing_pixtral_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__2(
28108
+ /*! ./pixtral/processing_pixtral.js */
28109
+ "./src/models/pixtral/processing_pixtral.js"
27726
28110
  );
27727
- var _pyannote_processing_pyannote_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__2(
28111
+ var _pyannote_processing_pyannote_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__2(
27728
28112
  /*! ./pyannote/processing_pyannote.js */
27729
28113
  "./src/models/pyannote/processing_pyannote.js"
27730
28114
  );
27731
- var _qwen2_vl_processing_qwen2_vl_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__2(
28115
+ var _qwen2_vl_processing_qwen2_vl_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__2(
27732
28116
  /*! ./qwen2_vl/processing_qwen2_vl.js */
27733
28117
  "./src/models/qwen2_vl/processing_qwen2_vl.js"
27734
28118
  );
27735
- var _sam_processing_sam_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__2(
28119
+ var _sam_processing_sam_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__2(
27736
28120
  /*! ./sam/processing_sam.js */
27737
28121
  "./src/models/sam/processing_sam.js"
27738
28122
  );
27739
- var _sam2_processing_sam2_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__2(
28123
+ var _sam2_processing_sam2_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__2(
27740
28124
  /*! ./sam2/processing_sam2.js */
27741
28125
  "./src/models/sam2/processing_sam2.js"
27742
28126
  );
27743
- var _smolvlm_processing_smolvlm_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__2(
28127
+ var _smolvlm_processing_smolvlm_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__2(
27744
28128
  /*! ./smolvlm/processing_smolvlm.js */
27745
28129
  "./src/models/smolvlm/processing_smolvlm.js"
27746
28130
  );
27747
- var _speecht5_processing_speecht5_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__2(
28131
+ var _speecht5_processing_speecht5_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__2(
27748
28132
  /*! ./speecht5/processing_speecht5.js */
27749
28133
  "./src/models/speecht5/processing_speecht5.js"
27750
28134
  );
27751
- var _ultravox_processing_ultravox_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__2(
28135
+ var _ultravox_processing_ultravox_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__2(
27752
28136
  /*! ./ultravox/processing_ultravox.js */
27753
28137
  "./src/models/ultravox/processing_ultravox.js"
27754
28138
  );
27755
- var _voxtral_processing_voxtral_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__2(
28139
+ var _voxtral_processing_voxtral_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__2(
27756
28140
  /*! ./voxtral/processing_voxtral.js */
27757
28141
  "./src/models/voxtral/processing_voxtral.js"
27758
28142
  );
27759
- var _wav2vec2_processing_wav2vec2_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__2(
28143
+ var _wav2vec2_processing_wav2vec2_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__2(
27760
28144
  /*! ./wav2vec2/processing_wav2vec2.js */
27761
28145
  "./src/models/wav2vec2/processing_wav2vec2.js"
27762
28146
  );
27763
- var _wav2vec2_with_lm_processing_wav2vec2_with_lm_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__2(
28147
+ var _wav2vec2_with_lm_processing_wav2vec2_with_lm_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__2(
27764
28148
  /*! ./wav2vec2_with_lm/processing_wav2vec2_with_lm.js */
27765
28149
  "./src/models/wav2vec2_with_lm/processing_wav2vec2_with_lm.js"
27766
28150
  );
27767
- var _whisper_processing_whisper_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__2(
28151
+ var _whisper_processing_whisper_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__2(
27768
28152
  /*! ./whisper/processing_whisper.js */
27769
28153
  "./src/models/whisper/processing_whisper.js"
27770
28154
  );
@@ -32131,11 +32515,6 @@ ${fake_token_around_image}${global_img_token}` + image_token.repeat(image_seq_le
32131
32515
  ElectraTokenizer
32132
32516
  ),
32133
32517
  /* harmony export */
32134
- Ernie4_5_Tokenizer: () => (
32135
- /* binding */
32136
- Ernie4_5_Tokenizer
32137
- ),
32138
- /* harmony export */
32139
32518
  EsmTokenizer: () => (
32140
32519
  /* binding */
32141
32520
  EsmTokenizer
@@ -35425,8 +35804,6 @@ ${fake_token_around_image}${global_img_token}` + image_token.repeat(image_seq_le
35425
35804
  }
35426
35805
  class MgpstrTokenizer extends PreTrainedTokenizer {
35427
35806
  }
35428
- class Ernie4_5_Tokenizer extends PreTrainedTokenizer {
35429
- }
35430
35807
  class AutoTokenizer {
35431
35808
  /**
35432
35809
  * Instantiate one of the tokenizer classes of the library from a pretrained model.
@@ -35514,7 +35891,6 @@ ${fake_token_around_image}${global_img_token}` + image_token.repeat(image_seq_le
35514
35891
  Grok1Tokenizer,
35515
35892
  CohereTokenizer,
35516
35893
  MgpstrTokenizer,
35517
- Ernie4_5_Tokenizer,
35518
35894
  // Base case:
35519
35895
  PreTrainedTokenizer
35520
35896
  });
@@ -41576,24 +41952,19 @@ var __webpack_exports__ = {};
41576
41952
  _generation_stopping_criteria_js__WEBPACK_IMPORTED_MODULE_20__.EosTokenCriteria
41577
41953
  ),
41578
41954
  /* harmony export */
41579
- Ernie4_5_ForCausalLM: () => (
41955
+ Ernie4_5ForCausalLM: () => (
41580
41956
  /* reexport safe */
41581
- _models_js__WEBPACK_IMPORTED_MODULE_2__.Ernie4_5_ForCausalLM
41957
+ _models_js__WEBPACK_IMPORTED_MODULE_2__.Ernie4_5ForCausalLM
41582
41958
  ),
41583
41959
  /* harmony export */
41584
- Ernie4_5_Model: () => (
41960
+ Ernie4_5Model: () => (
41585
41961
  /* reexport safe */
41586
- _models_js__WEBPACK_IMPORTED_MODULE_2__.Ernie4_5_Model
41962
+ _models_js__WEBPACK_IMPORTED_MODULE_2__.Ernie4_5Model
41587
41963
  ),
41588
41964
  /* harmony export */
41589
- Ernie4_5_PretrainedModel: () => (
41965
+ Ernie4_5PreTrainedModel: () => (
41590
41966
  /* reexport safe */
41591
- _models_js__WEBPACK_IMPORTED_MODULE_2__.Ernie4_5_PretrainedModel
41592
- ),
41593
- /* harmony export */
41594
- Ernie4_5_Tokenizer: () => (
41595
- /* reexport safe */
41596
- _tokenizers_js__WEBPACK_IMPORTED_MODULE_3__.Ernie4_5_Tokenizer
41967
+ _models_js__WEBPACK_IMPORTED_MODULE_2__.Ernie4_5PreTrainedModel
41597
41968
  ),
41598
41969
  /* harmony export */
41599
41970
  EsmForMaskedLM: () => (
@@ -42516,6 +42887,41 @@ var __webpack_exports__ = {};
42516
42887
  _generation_logits_process_js__WEBPACK_IMPORTED_MODULE_21__.MinNewTokensLengthLogitsProcessor
42517
42888
  ),
42518
42889
  /* harmony export */
42890
+ Ministral3ForCausalLM: () => (
42891
+ /* reexport safe */
42892
+ _models_js__WEBPACK_IMPORTED_MODULE_2__.Ministral3ForCausalLM
42893
+ ),
42894
+ /* harmony export */
42895
+ Ministral3Model: () => (
42896
+ /* reexport safe */
42897
+ _models_js__WEBPACK_IMPORTED_MODULE_2__.Ministral3Model
42898
+ ),
42899
+ /* harmony export */
42900
+ Ministral3PreTrainedModel: () => (
42901
+ /* reexport safe */
42902
+ _models_js__WEBPACK_IMPORTED_MODULE_2__.Ministral3PreTrainedModel
42903
+ ),
42904
+ /* harmony export */
42905
+ MinistralForCausalLM: () => (
42906
+ /* reexport safe */
42907
+ _models_js__WEBPACK_IMPORTED_MODULE_2__.MinistralForCausalLM
42908
+ ),
42909
+ /* harmony export */
42910
+ MinistralModel: () => (
42911
+ /* reexport safe */
42912
+ _models_js__WEBPACK_IMPORTED_MODULE_2__.MinistralModel
42913
+ ),
42914
+ /* harmony export */
42915
+ MinistralPreTrainedModel: () => (
42916
+ /* reexport safe */
42917
+ _models_js__WEBPACK_IMPORTED_MODULE_2__.MinistralPreTrainedModel
42918
+ ),
42919
+ /* harmony export */
42920
+ Mistral3ForConditionalGeneration: () => (
42921
+ /* reexport safe */
42922
+ _models_js__WEBPACK_IMPORTED_MODULE_2__.Mistral3ForConditionalGeneration
42923
+ ),
42924
+ /* harmony export */
42519
42925
  MistralForCausalLM: () => (
42520
42926
  /* reexport safe */
42521
42927
  _models_js__WEBPACK_IMPORTED_MODULE_2__.MistralForCausalLM
@@ -43166,6 +43572,16 @@ var __webpack_exports__ = {};
43166
43572
  _pipelines_js__WEBPACK_IMPORTED_MODULE_1__.Pipeline
43167
43573
  ),
43168
43574
  /* harmony export */
43575
+ PixtralImageProcessor: () => (
43576
+ /* reexport safe */
43577
+ _models_image_processors_js__WEBPACK_IMPORTED_MODULE_14__.PixtralImageProcessor
43578
+ ),
43579
+ /* harmony export */
43580
+ PixtralProcessor: () => (
43581
+ /* reexport safe */
43582
+ _models_processors_js__WEBPACK_IMPORTED_MODULE_17__.PixtralProcessor
43583
+ ),
43584
+ /* harmony export */
43169
43585
  PreTrainedModel: () => (
43170
43586
  /* reexport safe */
43171
43587
  _models_js__WEBPACK_IMPORTED_MODULE_2__.PreTrainedModel
@@ -45010,10 +45426,9 @@ var __webpack_exports__ElectraPreTrainedModel = __webpack_exports__.ElectraPreTr
45010
45426
  var __webpack_exports__ElectraTokenizer = __webpack_exports__.ElectraTokenizer;
45011
45427
  var __webpack_exports__EncodecFeatureExtractor = __webpack_exports__.EncodecFeatureExtractor;
45012
45428
  var __webpack_exports__EosTokenCriteria = __webpack_exports__.EosTokenCriteria;
45013
- var __webpack_exports__Ernie4_5_ForCausalLM = __webpack_exports__.Ernie4_5_ForCausalLM;
45014
- var __webpack_exports__Ernie4_5_Model = __webpack_exports__.Ernie4_5_Model;
45015
- var __webpack_exports__Ernie4_5_PretrainedModel = __webpack_exports__.Ernie4_5_PretrainedModel;
45016
- var __webpack_exports__Ernie4_5_Tokenizer = __webpack_exports__.Ernie4_5_Tokenizer;
45429
+ var __webpack_exports__Ernie4_5ForCausalLM = __webpack_exports__.Ernie4_5ForCausalLM;
45430
+ var __webpack_exports__Ernie4_5Model = __webpack_exports__.Ernie4_5Model;
45431
+ var __webpack_exports__Ernie4_5PreTrainedModel = __webpack_exports__.Ernie4_5PreTrainedModel;
45017
45432
  var __webpack_exports__EsmForMaskedLM = __webpack_exports__.EsmForMaskedLM;
45018
45433
  var __webpack_exports__EsmForSequenceClassification = __webpack_exports__.EsmForSequenceClassification;
45019
45434
  var __webpack_exports__EsmForTokenClassification = __webpack_exports__.EsmForTokenClassification;
@@ -45198,6 +45613,13 @@ var __webpack_exports__MimiModel = __webpack_exports__.MimiModel;
45198
45613
  var __webpack_exports__MimiPreTrainedModel = __webpack_exports__.MimiPreTrainedModel;
45199
45614
  var __webpack_exports__MinLengthLogitsProcessor = __webpack_exports__.MinLengthLogitsProcessor;
45200
45615
  var __webpack_exports__MinNewTokensLengthLogitsProcessor = __webpack_exports__.MinNewTokensLengthLogitsProcessor;
45616
+ var __webpack_exports__Ministral3ForCausalLM = __webpack_exports__.Ministral3ForCausalLM;
45617
+ var __webpack_exports__Ministral3Model = __webpack_exports__.Ministral3Model;
45618
+ var __webpack_exports__Ministral3PreTrainedModel = __webpack_exports__.Ministral3PreTrainedModel;
45619
+ var __webpack_exports__MinistralForCausalLM = __webpack_exports__.MinistralForCausalLM;
45620
+ var __webpack_exports__MinistralModel = __webpack_exports__.MinistralModel;
45621
+ var __webpack_exports__MinistralPreTrainedModel = __webpack_exports__.MinistralPreTrainedModel;
45622
+ var __webpack_exports__Mistral3ForConditionalGeneration = __webpack_exports__.Mistral3ForConditionalGeneration;
45201
45623
  var __webpack_exports__MistralForCausalLM = __webpack_exports__.MistralForCausalLM;
45202
45624
  var __webpack_exports__MistralModel = __webpack_exports__.MistralModel;
45203
45625
  var __webpack_exports__MistralPreTrainedModel = __webpack_exports__.MistralPreTrainedModel;
@@ -45328,6 +45750,8 @@ var __webpack_exports__PhiForCausalLM = __webpack_exports__.PhiForCausalLM;
45328
45750
  var __webpack_exports__PhiModel = __webpack_exports__.PhiModel;
45329
45751
  var __webpack_exports__PhiPreTrainedModel = __webpack_exports__.PhiPreTrainedModel;
45330
45752
  var __webpack_exports__Pipeline = __webpack_exports__.Pipeline;
45753
+ var __webpack_exports__PixtralImageProcessor = __webpack_exports__.PixtralImageProcessor;
45754
+ var __webpack_exports__PixtralProcessor = __webpack_exports__.PixtralProcessor;
45331
45755
  var __webpack_exports__PreTrainedModel = __webpack_exports__.PreTrainedModel;
45332
45756
  var __webpack_exports__PreTrainedTokenizer = __webpack_exports__.PreTrainedTokenizer;
45333
45757
  var __webpack_exports__PretrainedConfig = __webpack_exports__.PretrainedConfig;
@@ -45859,10 +46283,9 @@ export {
45859
46283
  __webpack_exports__ElectraTokenizer as ElectraTokenizer,
45860
46284
  __webpack_exports__EncodecFeatureExtractor as EncodecFeatureExtractor,
45861
46285
  __webpack_exports__EosTokenCriteria as EosTokenCriteria,
45862
- __webpack_exports__Ernie4_5_ForCausalLM as Ernie4_5_ForCausalLM,
45863
- __webpack_exports__Ernie4_5_Model as Ernie4_5_Model,
45864
- __webpack_exports__Ernie4_5_PretrainedModel as Ernie4_5_PretrainedModel,
45865
- __webpack_exports__Ernie4_5_Tokenizer as Ernie4_5_Tokenizer,
46286
+ __webpack_exports__Ernie4_5ForCausalLM as Ernie4_5ForCausalLM,
46287
+ __webpack_exports__Ernie4_5Model as Ernie4_5Model,
46288
+ __webpack_exports__Ernie4_5PreTrainedModel as Ernie4_5PreTrainedModel,
45866
46289
  __webpack_exports__EsmForMaskedLM as EsmForMaskedLM,
45867
46290
  __webpack_exports__EsmForSequenceClassification as EsmForSequenceClassification,
45868
46291
  __webpack_exports__EsmForTokenClassification as EsmForTokenClassification,
@@ -46047,6 +46470,13 @@ export {
46047
46470
  __webpack_exports__MimiPreTrainedModel as MimiPreTrainedModel,
46048
46471
  __webpack_exports__MinLengthLogitsProcessor as MinLengthLogitsProcessor,
46049
46472
  __webpack_exports__MinNewTokensLengthLogitsProcessor as MinNewTokensLengthLogitsProcessor,
46473
+ __webpack_exports__Ministral3ForCausalLM as Ministral3ForCausalLM,
46474
+ __webpack_exports__Ministral3Model as Ministral3Model,
46475
+ __webpack_exports__Ministral3PreTrainedModel as Ministral3PreTrainedModel,
46476
+ __webpack_exports__MinistralForCausalLM as MinistralForCausalLM,
46477
+ __webpack_exports__MinistralModel as MinistralModel,
46478
+ __webpack_exports__MinistralPreTrainedModel as MinistralPreTrainedModel,
46479
+ __webpack_exports__Mistral3ForConditionalGeneration as Mistral3ForConditionalGeneration,
46050
46480
  __webpack_exports__MistralForCausalLM as MistralForCausalLM,
46051
46481
  __webpack_exports__MistralModel as MistralModel,
46052
46482
  __webpack_exports__MistralPreTrainedModel as MistralPreTrainedModel,
@@ -46177,6 +46607,8 @@ export {
46177
46607
  __webpack_exports__PhiModel as PhiModel,
46178
46608
  __webpack_exports__PhiPreTrainedModel as PhiPreTrainedModel,
46179
46609
  __webpack_exports__Pipeline as Pipeline,
46610
+ __webpack_exports__PixtralImageProcessor as PixtralImageProcessor,
46611
+ __webpack_exports__PixtralProcessor as PixtralProcessor,
46180
46612
  __webpack_exports__PreTrainedModel as PreTrainedModel,
46181
46613
  __webpack_exports__PreTrainedTokenizer as PreTrainedTokenizer,
46182
46614
  __webpack_exports__PretrainedConfig as PretrainedConfig,