@huggingface/transformers 3.0.0-alpha.20 → 3.0.0-alpha.21

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.
@@ -4102,6 +4102,7 @@ function getNormalizedConfig(config) {
4102
4102
  mapping['hidden_size'] = 'hidden_size';
4103
4103
  break;
4104
4104
  case 'llama':
4105
+ case 'granite':
4105
4106
  case 'cohere':
4106
4107
  case 'mistral':
4107
4108
  case 'starcoder2':
@@ -4429,7 +4430,7 @@ __webpack_require__.r(__webpack_exports__);
4429
4430
 
4430
4431
 
4431
4432
 
4432
- const VERSION = '3.0.0-alpha.20';
4433
+ const VERSION = '3.0.0-alpha.21';
4433
4434
 
4434
4435
  // Check if various APIs are available (depends on environment)
4435
4436
  const IS_BROWSER_ENV = typeof self !== 'undefined';
@@ -6523,6 +6524,9 @@ __webpack_require__.r(__webpack_exports__);
6523
6524
  /* harmony export */ GemmaForCausalLM: () => (/* binding */ GemmaForCausalLM),
6524
6525
  /* harmony export */ GemmaModel: () => (/* binding */ GemmaModel),
6525
6526
  /* harmony export */ GemmaPreTrainedModel: () => (/* binding */ GemmaPreTrainedModel),
6527
+ /* harmony export */ GraniteForCausalLM: () => (/* binding */ GraniteForCausalLM),
6528
+ /* harmony export */ GraniteModel: () => (/* binding */ GraniteModel),
6529
+ /* harmony export */ GranitePreTrainedModel: () => (/* binding */ GranitePreTrainedModel),
6526
6530
  /* harmony export */ GroupViTModel: () => (/* binding */ GroupViTModel),
6527
6531
  /* harmony export */ GroupViTPreTrainedModel: () => (/* binding */ GroupViTPreTrainedModel),
6528
6532
  /* harmony export */ HieraForImageClassification: () => (/* binding */ HieraForImageClassification),
@@ -7011,6 +7015,23 @@ async function constructSessions(pretrained_model_name_or_path, names, options)
7011
7015
  ));
7012
7016
  }
7013
7017
 
7018
+ /**
7019
+ * Helper function to load multiple optional configuration files
7020
+ * @param {string} pretrained_model_name_or_path The path to the directory containing the config file.
7021
+ * @param {Record<string, string>} names The names of the config files to load.
7022
+ * @param {import('./utils/hub.js').PretrainedModelOptions} options Additional options for loading the configs.
7023
+ * @returns {Promise<Record<string, any>>} A Promise that resolves to a dictionary of configuration objects.
7024
+ * @private
7025
+ */
7026
+ async function getOptionalConfigs(pretrained_model_name_or_path, names, options) {
7027
+ return Object.fromEntries(await Promise.all(
7028
+ Object.keys(names).map(async (name) => {
7029
+ const config = await (0,_utils_hub_js__WEBPACK_IMPORTED_MODULE_5__.getModelJSON)(pretrained_model_name_or_path, names[name], false, options);
7030
+ return [name, config];
7031
+ })
7032
+ ));
7033
+ }
7034
+
7014
7035
  /**
7015
7036
  * Validate model inputs
7016
7037
  * @param {Object} session The InferenceSession object that will be run.
@@ -7422,12 +7443,14 @@ class PreTrainedModel extends _utils_generic_js__WEBPACK_IMPORTED_MODULE_3__.Cal
7422
7443
  * Creates a new instance of the `PreTrainedModel` class.
7423
7444
  * @param {import('./configs.js').PretrainedConfig} config The model configuration.
7424
7445
  * @param {Record<string, any>} sessions The inference sessions for the model.
7446
+ * @param {Record<string, Object>} configs Additional configuration files (e.g., generation_config.json).
7425
7447
  */
7426
- constructor(config, sessions) {
7448
+ constructor(config, sessions, configs) {
7427
7449
  super();
7428
7450
 
7429
7451
  this.config = config;
7430
7452
  this.sessions = sessions;
7453
+ this.configs = configs;
7431
7454
 
7432
7455
  const modelName = MODEL_CLASS_TO_NAME_MAPPING.get(this.constructor);
7433
7456
  const modelType = MODEL_TYPE_MAPPING.get(modelName);
@@ -7543,7 +7566,9 @@ class PreTrainedModel extends _utils_generic_js__WEBPACK_IMPORTED_MODULE_3__.Cal
7543
7566
  constructSessions(pretrained_model_name_or_path, {
7544
7567
  model: options.model_file_name ?? 'model',
7545
7568
  }, options),
7546
- (0,_utils_hub_js__WEBPACK_IMPORTED_MODULE_5__.getModelJSON)(pretrained_model_name_or_path, 'generation_config.json', false, options),
7569
+ getOptionalConfigs(pretrained_model_name_or_path, {
7570
+ generation_config: 'generation_config.json',
7571
+ }, options),
7547
7572
  ]);
7548
7573
 
7549
7574
  } else if (modelType === MODEL_TYPES.Seq2Seq || modelType === MODEL_TYPES.Vision2Seq) {
@@ -7552,7 +7577,9 @@ class PreTrainedModel extends _utils_generic_js__WEBPACK_IMPORTED_MODULE_3__.Cal
7552
7577
  model: 'encoder_model',
7553
7578
  decoder_model_merged: 'decoder_model_merged',
7554
7579
  }, options),
7555
- (0,_utils_hub_js__WEBPACK_IMPORTED_MODULE_5__.getModelJSON)(pretrained_model_name_or_path, 'generation_config.json', false, options),
7580
+ getOptionalConfigs(pretrained_model_name_or_path, {
7581
+ generation_config: 'generation_config.json',
7582
+ }, options),
7556
7583
  ]);
7557
7584
 
7558
7585
  } else if (modelType === MODEL_TYPES.MaskGeneration) {
@@ -7582,7 +7609,9 @@ class PreTrainedModel extends _utils_generic_js__WEBPACK_IMPORTED_MODULE_3__.Cal
7582
7609
  }
7583
7610
  info = await Promise.all([
7584
7611
  constructSessions(pretrained_model_name_or_path, sessions, options),
7585
- (0,_utils_hub_js__WEBPACK_IMPORTED_MODULE_5__.getModelJSON)(pretrained_model_name_or_path, 'generation_config.json', false, options),
7612
+ getOptionalConfigs(pretrained_model_name_or_path, {
7613
+ generation_config: 'generation_config.json',
7614
+ }, options),
7586
7615
  ]);
7587
7616
 
7588
7617
  } else if (modelType === MODEL_TYPES.Musicgen) {
@@ -7592,7 +7621,9 @@ class PreTrainedModel extends _utils_generic_js__WEBPACK_IMPORTED_MODULE_3__.Cal
7592
7621
  decoder_model_merged: 'decoder_model_merged',
7593
7622
  encodec_decode: 'encodec_decode',
7594
7623
  }, options),
7595
- (0,_utils_hub_js__WEBPACK_IMPORTED_MODULE_5__.getModelJSON)(pretrained_model_name_or_path, 'generation_config.json', false, options),
7624
+ getOptionalConfigs(pretrained_model_name_or_path, {
7625
+ generation_config: 'generation_config.json',
7626
+ }, options),
7596
7627
  ]);
7597
7628
 
7598
7629
  } else { // should be MODEL_TYPES.EncoderOnly
@@ -7630,6 +7661,14 @@ class PreTrainedModel extends _utils_generic_js__WEBPACK_IMPORTED_MODULE_3__.Cal
7630
7661
  return await this._forward(this, model_inputs);
7631
7662
  }
7632
7663
 
7664
+ /**
7665
+ * Get the model's generation config, if it exists.
7666
+ * @returns {GenerationConfig|null} The model's generation config if it exists, otherwise `null`.
7667
+ */
7668
+ get generation_config() {
7669
+ return this.configs?.generation_config ?? null;
7670
+ }
7671
+
7633
7672
  /**
7634
7673
  * This function returns a [`LogitsProcessorList`] list object that contains all relevant [`LogitsWarper`]
7635
7674
  * instances used for multinomial sampling.
@@ -7809,9 +7848,7 @@ class PreTrainedModel extends _utils_generic_js__WEBPACK_IMPORTED_MODULE_3__.Cal
7809
7848
  const gen_config = new cls(config);
7810
7849
 
7811
7850
  // Apply model's generation config, if it exists
7812
- if ('generation_config' in this) {
7813
- Object.assign(gen_config, this.generation_config);
7814
- }
7851
+ Object.assign(gen_config, this.generation_config ?? {});
7815
7852
 
7816
7853
  // Next, use any generation config specified by the user
7817
7854
  // when calling `generate`
@@ -9224,17 +9261,6 @@ class T5PreTrainedModel extends PreTrainedModel {
9224
9261
  'decoder_attention_mask',
9225
9262
  'past_key_values',
9226
9263
  ];
9227
-
9228
- /**
9229
- * Creates a new instance of the `T5PreTrainedModel` class.
9230
- * @param {Object} config The model configuration.
9231
- * @param {Record<string, any>} sessions The inference sessions for the model.
9232
- * @param {GenerationConfig} generation_config The generation configuration.
9233
- */
9234
- constructor(config, sessions, generation_config) {
9235
- super(config, sessions);
9236
- this.generation_config = generation_config;
9237
- }
9238
9264
  };
9239
9265
 
9240
9266
  class T5Model extends T5PreTrainedModel { }
@@ -9251,18 +9277,7 @@ class T5ForConditionalGeneration extends T5PreTrainedModel { }
9251
9277
  /**
9252
9278
  * An abstract class to handle weights initialization and a simple interface for downloading and loading pretrained models.
9253
9279
  */
9254
- class LongT5PreTrainedModel extends PreTrainedModel {
9255
- /**
9256
- * Creates a new instance of the `LongT5ForConditionalGeneration` class.
9257
- * @param {Object} config The model configuration.
9258
- * @param {Record<string, any>} sessions The inference sessions for the model.
9259
- * @param {GenerationConfig} generation_config The generation configuration.
9260
- */
9261
- constructor(config, sessions, generation_config) {
9262
- super(config, sessions);
9263
- this.generation_config = generation_config;
9264
- }
9265
- };
9280
+ class LongT5PreTrainedModel extends PreTrainedModel { };
9266
9281
 
9267
9282
  /**
9268
9283
  * The bare LONGT5 Model transformer outputting raw hidden-states without any specific head on top.
@@ -9278,19 +9293,7 @@ class LongT5ForConditionalGeneration extends LongT5PreTrainedModel { }
9278
9293
 
9279
9294
  //////////////////////////////////////////////////
9280
9295
  // MT5 models
9281
- class MT5PreTrainedModel extends PreTrainedModel {
9282
-
9283
- /**
9284
- * Creates a new instance of the `MT5ForConditionalGeneration` class.
9285
- * @param {Object} config The model configuration.
9286
- * @param {Record<string, any>} sessions The inference sessions for the model.
9287
- * @param {GenerationConfig} generation_config The generation configuration.
9288
- */
9289
- constructor(config, sessions, generation_config) {
9290
- super(config, sessions);
9291
- this.generation_config = generation_config;
9292
- }
9293
- };
9296
+ class MT5PreTrainedModel extends PreTrainedModel { };
9294
9297
 
9295
9298
  class MT5Model extends MT5PreTrainedModel { }
9296
9299
 
@@ -9302,19 +9305,7 @@ class MT5ForConditionalGeneration extends MT5PreTrainedModel { }
9302
9305
 
9303
9306
  //////////////////////////////////////////////////
9304
9307
  // Bart models
9305
- class BartPretrainedModel extends PreTrainedModel {
9306
-
9307
- /**
9308
- * Creates a new instance of the `BartForConditionalGeneration` class.
9309
- * @param {Object} config The model configuration.
9310
- * @param {Record<string, any>} sessions The inference sessions for the model.
9311
- * @param {GenerationConfig} generation_config The generation configuration.
9312
- */
9313
- constructor(config, sessions, generation_config) {
9314
- super(config, sessions);
9315
- this.generation_config = generation_config;
9316
- }
9317
- };
9308
+ class BartPretrainedModel extends PreTrainedModel { };
9318
9309
 
9319
9310
  /**
9320
9311
  * The bare BART Model outputting raw hidden-states without any specific head on top.
@@ -9345,19 +9336,7 @@ class BartForSequenceClassification extends BartPretrainedModel {
9345
9336
 
9346
9337
  //////////////////////////////////////////////////
9347
9338
  // MBart models
9348
- class MBartPreTrainedModel extends PreTrainedModel {
9349
-
9350
- /**
9351
- * Creates a new instance of the `MBartForConditionalGeneration` class.
9352
- * @param {Object} config The model configuration.
9353
- * @param {Record<string, any>} sessions The inference sessions for the model.
9354
- * @param {GenerationConfig} generation_config The generation configuration.
9355
- */
9356
- constructor(config, sessions, generation_config) {
9357
- super(config, sessions);
9358
- this.generation_config = generation_config;
9359
- }
9360
- };
9339
+ class MBartPreTrainedModel extends PreTrainedModel { };
9361
9340
 
9362
9341
  /**
9363
9342
  * The bare MBART Model outputting raw hidden-states without any specific head on top.
@@ -9391,19 +9370,7 @@ class MBartForCausalLM extends MBartPreTrainedModel { }
9391
9370
 
9392
9371
  //////////////////////////////////////////////////
9393
9372
  // Blenderbot models
9394
- class BlenderbotPreTrainedModel extends PreTrainedModel {
9395
-
9396
- /**
9397
- * Creates a new instance of the `BlenderbotForConditionalGeneration` class.
9398
- * @param {Object} config The model configuration.
9399
- * @param {Record<string, any>} sessions The inference sessions for the model.
9400
- * @param {GenerationConfig} generation_config The generation configuration.
9401
- */
9402
- constructor(config, sessions, generation_config) {
9403
- super(config, sessions);
9404
- this.generation_config = generation_config;
9405
- }
9406
- };
9373
+ class BlenderbotPreTrainedModel extends PreTrainedModel { };
9407
9374
 
9408
9375
  /**
9409
9376
  * The bare Blenderbot Model outputting raw hidden-states without any specific head on top.
@@ -9419,19 +9386,7 @@ class BlenderbotForConditionalGeneration extends BlenderbotPreTrainedModel { }
9419
9386
 
9420
9387
  //////////////////////////////////////////////////
9421
9388
  // Blenderbot models
9422
- class BlenderbotSmallPreTrainedModel extends PreTrainedModel {
9423
-
9424
- /**
9425
- * Creates a new instance of the `BlenderbotForConditionalGeneration` class.
9426
- * @param {Object} config The model configuration.
9427
- * @param {Record<string, any>} sessions The inference sessions for the model.
9428
- * @param {GenerationConfig} generation_config The generation configuration.
9429
- */
9430
- constructor(config, sessions, generation_config) {
9431
- super(config, sessions);
9432
- this.generation_config = generation_config;
9433
- }
9434
- };
9389
+ class BlenderbotSmallPreTrainedModel extends PreTrainedModel { };
9435
9390
 
9436
9391
  /**
9437
9392
  * The bare BlenderbotSmall Model outputting raw hidden-states without any specific head on top.
@@ -9680,17 +9635,6 @@ class WhisperPreTrainedModel extends PreTrainedModel {
9680
9635
  'decoder_attention_mask',
9681
9636
  'past_key_values',
9682
9637
  ];
9683
-
9684
- /**
9685
- * Creates a new instance of the `WhisperPreTrainedModel` class.
9686
- * @param {Object} config The model configuration.
9687
- * @param {Record<string, any>} sessions The inference sessions for the model.
9688
- * @param {GenerationConfig} generation_config The generation configuration.
9689
- */
9690
- constructor(config, sessions, generation_config) {
9691
- super(config, sessions);
9692
- this.generation_config = generation_config;
9693
- }
9694
9638
  };
9695
9639
 
9696
9640
  /**
@@ -9961,16 +9905,6 @@ class VisionEncoderDecoderModel extends PreTrainedModel {
9961
9905
  'encoder_hidden_states',
9962
9906
  'past_key_values',
9963
9907
  ];
9964
- /**
9965
- * Creates a new instance of the `VisionEncoderDecoderModel` class.
9966
- * @param {Object} config The model configuration.
9967
- * @param {Record<string, any>} sessions The inference sessions for the model.
9968
- * @param {GenerationConfig} generation_config The generation configuration.
9969
- */
9970
- constructor(config, sessions, generation_config) {
9971
- super(config, sessions);
9972
- this.generation_config = generation_config;
9973
- }
9974
9908
  }
9975
9909
  //////////////////////////////////////////////////
9976
9910
 
@@ -9985,11 +9919,6 @@ class LlavaPreTrainedModel extends PreTrainedModel {
9985
9919
  'position_ids',
9986
9920
  'past_key_values',
9987
9921
  ];
9988
-
9989
- constructor(config, sessions, generation_config) {
9990
- super(config, sessions);
9991
- this.generation_config = generation_config;
9992
- }
9993
9922
  }
9994
9923
 
9995
9924
  /**
@@ -10076,11 +10005,6 @@ class Florence2PreTrainedModel extends PreTrainedModel {
10076
10005
  'past_key_values',
10077
10006
  ];
10078
10007
  main_input_name = 'inputs_embeds';
10079
-
10080
- constructor(config, sessions, generation_config) {
10081
- super(config, sessions);
10082
- this.generation_config = generation_config;
10083
- }
10084
10008
  }
10085
10009
 
10086
10010
  class Florence2ForConditionalGeneration extends Florence2PreTrainedModel {
@@ -10500,18 +10424,7 @@ class CLIPSegForImageSegmentation extends CLIPSegPreTrainedModel { }
10500
10424
 
10501
10425
  //////////////////////////////////////////////////
10502
10426
  // GPT2 models
10503
- class GPT2PreTrainedModel extends PreTrainedModel {
10504
- /**
10505
- * Creates a new instance of the `GPT2PreTrainedModel` class.
10506
- * @param {Object} config The model configuration.
10507
- * @param {Record<string, any>} sessions The inference sessions for the model.
10508
- * @param {GenerationConfig} generation_config The generation configuration.
10509
- */
10510
- constructor(config, sessions, generation_config) {
10511
- super(config, sessions);
10512
- this.generation_config = generation_config;
10513
- }
10514
- }
10427
+ class GPT2PreTrainedModel extends PreTrainedModel { }
10515
10428
 
10516
10429
  class GPT2Model extends GPT2PreTrainedModel { }
10517
10430
 
@@ -10526,18 +10439,7 @@ class GPT2LMHeadModel extends GPT2PreTrainedModel { }
10526
10439
 
10527
10440
  //////////////////////////////////////////////////
10528
10441
  // JAIS models
10529
- class JAISPreTrainedModel extends PreTrainedModel {
10530
- /**
10531
- * Creates a new instance of the `JAISPreTrainedModel` class.
10532
- * @param {Object} config The model configuration.
10533
- * @param {Record<string, any>} sessions The inference sessions for the model.
10534
- * @param {GenerationConfig} generation_config The generation configuration.
10535
- */
10536
- constructor(config, sessions, generation_config) {
10537
- super(config, sessions);
10538
- this.generation_config = generation_config;
10539
- }
10540
- }
10442
+ class JAISPreTrainedModel extends PreTrainedModel { }
10541
10443
 
10542
10444
  /**
10543
10445
  * The bare JAIS Model transformer outputting raw hidden-states without any specific head on top.
@@ -10553,18 +10455,7 @@ class JAISLMHeadModel extends JAISPreTrainedModel { }
10553
10455
 
10554
10456
  //////////////////////////////////////////////////
10555
10457
  // GPTNeo models
10556
- class GPTNeoPreTrainedModel extends PreTrainedModel {
10557
- /**
10558
- * Creates a new instance of the `GPTNeoPreTrainedModel` class.
10559
- * @param {Object} config The model configuration.
10560
- * @param {Record<string, any>} sessions The inference sessions for the model.
10561
- * @param {GenerationConfig} generation_config The generation configuration.
10562
- */
10563
- constructor(config, sessions, generation_config) {
10564
- super(config, sessions);
10565
- this.generation_config = generation_config;
10566
- }
10567
- }
10458
+ class GPTNeoPreTrainedModel extends PreTrainedModel { }
10568
10459
  class GPTNeoModel extends GPTNeoPreTrainedModel { }
10569
10460
 
10570
10461
  class GPTNeoForCausalLM extends GPTNeoPreTrainedModel { }
@@ -10572,18 +10463,7 @@ class GPTNeoForCausalLM extends GPTNeoPreTrainedModel { }
10572
10463
 
10573
10464
  //////////////////////////////////////////////////
10574
10465
  // GPTNeoX models
10575
- class GPTNeoXPreTrainedModel extends PreTrainedModel {
10576
- /**
10577
- * Creates a new instance of the `GPTNeoXPreTrainedModel` class.
10578
- * @param {Object} config The model configuration.
10579
- * @param {Record<string, any>} sessions The inference sessions for the model.
10580
- * @param {GenerationConfig} generation_config The generation configuration.
10581
- */
10582
- constructor(config, sessions, generation_config) {
10583
- super(config, sessions);
10584
- this.generation_config = generation_config;
10585
- }
10586
- }
10466
+ class GPTNeoXPreTrainedModel extends PreTrainedModel { }
10587
10467
  class GPTNeoXModel extends GPTNeoXPreTrainedModel { }
10588
10468
 
10589
10469
  class GPTNeoXForCausalLM extends GPTNeoXPreTrainedModel { }
@@ -10592,18 +10472,7 @@ class GPTNeoXForCausalLM extends GPTNeoXPreTrainedModel { }
10592
10472
 
10593
10473
  //////////////////////////////////////////////////
10594
10474
  // GPT-J models
10595
- class GPTJPreTrainedModel extends PreTrainedModel {
10596
- /**
10597
- * Creates a new instance of the `GPTJPreTrainedModel` class.
10598
- * @param {Object} config The model configuration.
10599
- * @param {Record<string, any>} sessions The inference sessions for the model.
10600
- * @param {GenerationConfig} generation_config The generation configuration.
10601
- */
10602
- constructor(config, sessions, generation_config) {
10603
- super(config, sessions);
10604
- this.generation_config = generation_config;
10605
- }
10606
- }
10475
+ class GPTJPreTrainedModel extends PreTrainedModel { }
10607
10476
 
10608
10477
  class GPTJModel extends GPTJPreTrainedModel { }
10609
10478
 
@@ -10613,18 +10482,7 @@ class GPTJForCausalLM extends GPTJPreTrainedModel { }
10613
10482
 
10614
10483
  //////////////////////////////////////////////////
10615
10484
  // GPTBigCode models
10616
- class GPTBigCodePreTrainedModel extends PreTrainedModel {
10617
- /**
10618
- * Creates a new instance of the `GPTBigCodePreTrainedModel` class.
10619
- * @param {Object} config The model configuration.
10620
- * @param {Record<string, any>} sessions The inference sessions for the model.
10621
- * @param {GenerationConfig} generation_config The generation configuration.
10622
- */
10623
- constructor(config, sessions, generation_config) {
10624
- super(config, sessions);
10625
- this.generation_config = generation_config;
10626
- }
10627
- }
10485
+ class GPTBigCodePreTrainedModel extends PreTrainedModel { }
10628
10486
 
10629
10487
  class GPTBigCodeModel extends GPTBigCodePreTrainedModel { }
10630
10488
 
@@ -10633,18 +10491,7 @@ class GPTBigCodeForCausalLM extends GPTBigCodePreTrainedModel { }
10633
10491
 
10634
10492
  //////////////////////////////////////////////////
10635
10493
  // CodeGen models
10636
- class CodeGenPreTrainedModel extends PreTrainedModel {
10637
- /**
10638
- * Creates a new instance of the `CodeGenPreTrainedModel` class.
10639
- * @param {Object} config The model configuration.
10640
- * @param {Record<string, any>} sessions The inference sessions for the model.
10641
- * @param {GenerationConfig} generation_config The generation configuration.
10642
- */
10643
- constructor(config, sessions, generation_config) {
10644
- super(config, sessions);
10645
- this.generation_config = generation_config;
10646
- }
10647
- }
10494
+ class CodeGenPreTrainedModel extends PreTrainedModel { }
10648
10495
  /**
10649
10496
  * CodeGenModel is a class representing a code generation model without a language model head.
10650
10497
  */
@@ -10663,18 +10510,7 @@ class CodeGenForCausalLM extends CodeGenPreTrainedModel { }
10663
10510
  /**
10664
10511
  * The bare LLama Model outputting raw hidden-states without any specific head on top.
10665
10512
  */
10666
- class LlamaPreTrainedModel extends PreTrainedModel {
10667
- /**
10668
- * Creates a new instance of the `LlamaPreTrainedModel` class.
10669
- * @param {Object} config The model configuration.
10670
- * @param {Record<string, any>} sessions The inference sessions for the model.
10671
- * @param {GenerationConfig} generation_config The generation configuration.
10672
- */
10673
- constructor(config, sessions, generation_config) {
10674
- super(config, sessions);
10675
- this.generation_config = generation_config;
10676
- }
10677
- }
10513
+ class LlamaPreTrainedModel extends PreTrainedModel { }
10678
10514
  /**
10679
10515
  * The bare LLaMA Model outputting raw hidden-states without any specific head on top.
10680
10516
  */
@@ -10683,24 +10519,22 @@ class LlamaModel extends LlamaPreTrainedModel { }
10683
10519
  class LlamaForCausalLM extends LlamaPreTrainedModel { }
10684
10520
  //////////////////////////////////////////////////
10685
10521
 
10522
+
10523
+ //////////////////////////////////////////////////
10524
+ // Granite models
10525
+ class GranitePreTrainedModel extends PreTrainedModel { }
10526
+ class GraniteModel extends GranitePreTrainedModel { }
10527
+ class GraniteForCausalLM extends GranitePreTrainedModel { }
10528
+ //////////////////////////////////////////////////
10529
+
10530
+
10686
10531
  //////////////////////////////////////////////////
10687
10532
  // Cohere models
10688
10533
 
10689
10534
  /**
10690
10535
  * The bare Cohere Model outputting raw hidden-states without any specific head on top.
10691
10536
  */
10692
- class CoherePreTrainedModel extends PreTrainedModel {
10693
- /**
10694
- * Creates a new instance of the `CoherePreTrainedModel` class.
10695
- * @param {Object} config The model configuration.
10696
- * @param {Record<string, any>} sessions The inference sessions for the model.
10697
- * @param {GenerationConfig} generation_config The generation configuration.
10698
- */
10699
- constructor(config, sessions, generation_config) {
10700
- super(config, sessions);
10701
- this.generation_config = generation_config;
10702
- }
10703
- }
10537
+ class CoherePreTrainedModel extends PreTrainedModel { }
10704
10538
  class CohereModel extends CoherePreTrainedModel { }
10705
10539
 
10706
10540
  class CohereForCausalLM extends CoherePreTrainedModel { }
@@ -10712,18 +10546,7 @@ class CohereForCausalLM extends CoherePreTrainedModel { }
10712
10546
  /**
10713
10547
  * The bare Gemma Model outputting raw hidden-states without any specific head on top.
10714
10548
  */
10715
- class GemmaPreTrainedModel extends PreTrainedModel {
10716
- /**
10717
- * Creates a new instance of the `GemmaPreTrainedModel` class.
10718
- * @param {Object} config The model configuration.
10719
- * @param {Record<string, any>} sessions The inference sessions for the model.
10720
- * @param {GenerationConfig} generation_config The generation configuration.
10721
- */
10722
- constructor(config, sessions, generation_config) {
10723
- super(config, sessions);
10724
- this.generation_config = generation_config;
10725
- }
10726
- }
10549
+ class GemmaPreTrainedModel extends PreTrainedModel { }
10727
10550
  /**
10728
10551
  * The bare Gemma Model outputting raw hidden-states without any specific head on top.
10729
10552
  */
@@ -10738,18 +10561,7 @@ class GemmaForCausalLM extends GemmaPreTrainedModel { }
10738
10561
  /**
10739
10562
  * The bare Gemma2 Model outputting raw hidden-states without any specific head on top.
10740
10563
  */
10741
- class Gemma2PreTrainedModel extends PreTrainedModel {
10742
- /**
10743
- * Creates a new instance of the `Gemma2PreTrainedModel` class.
10744
- * @param {Object} config The model configuration.
10745
- * @param {Record<string, any>} sessions The inference sessions for the model.
10746
- * @param {GenerationConfig} generation_config The generation configuration.
10747
- */
10748
- constructor(config, sessions, generation_config) {
10749
- super(config, sessions);
10750
- this.generation_config = generation_config;
10751
- }
10752
- }
10564
+ class Gemma2PreTrainedModel extends PreTrainedModel { }
10753
10565
  /**
10754
10566
  * The bare Gemma2 Model outputting raw hidden-states without any specific head on top.
10755
10567
  */
@@ -10759,18 +10571,7 @@ class Gemma2ForCausalLM extends Gemma2PreTrainedModel { }
10759
10571
  //////////////////////////////////////////////////
10760
10572
 
10761
10573
  //////////////////////////////////////////////////
10762
- class OpenELMPreTrainedModel extends PreTrainedModel {
10763
- /**
10764
- * Creates a new instance of the `OpenELMPreTrainedModel` class.
10765
- * @param {Object} config The model configuration.
10766
- * @param {Record<string, any>} sessions The inference sessions for the model.
10767
- * @param {GenerationConfig} generation_config The generation configuration.
10768
- */
10769
- constructor(config, sessions, generation_config) {
10770
- super(config, sessions);
10771
- this.generation_config = generation_config;
10772
- }
10773
- }
10574
+ class OpenELMPreTrainedModel extends PreTrainedModel { }
10774
10575
  class OpenELMModel extends OpenELMPreTrainedModel { }
10775
10576
 
10776
10577
  class OpenELMForCausalLM extends OpenELMPreTrainedModel { }
@@ -10782,18 +10583,7 @@ class OpenELMForCausalLM extends OpenELMPreTrainedModel { }
10782
10583
  /**
10783
10584
  * The bare Qwen2 Model outputting raw hidden-states without any specific head on top.
10784
10585
  */
10785
- class Qwen2PreTrainedModel extends PreTrainedModel {
10786
- /**
10787
- * Creates a new instance of the `Qwen2PreTrainedModel` class.
10788
- * @param {Object} config The model configuration.
10789
- * @param {Record<string, any>} sessions The inference sessions for the model.
10790
- * @param {GenerationConfig} generation_config The generation configuration.
10791
- */
10792
- constructor(config, sessions, generation_config) {
10793
- super(config, sessions);
10794
- this.generation_config = generation_config;
10795
- }
10796
- }
10586
+ class Qwen2PreTrainedModel extends PreTrainedModel { }
10797
10587
  /**
10798
10588
  * The bare Qwen2 Model outputting raw hidden-states without any specific head on top.
10799
10589
  */
@@ -10805,18 +10595,7 @@ class Qwen2ForCausalLM extends Qwen2PreTrainedModel { }
10805
10595
 
10806
10596
  //////////////////////////////////////////////////
10807
10597
  // Phi models
10808
- class PhiPreTrainedModel extends PreTrainedModel {
10809
- /**
10810
- * Creates a new instance of the `PhiPreTrainedModel` class.
10811
- * @param {Object} config The model configuration.
10812
- * @param {Record<string, any>} sessions The inference sessions for the model.
10813
- * @param {GenerationConfig} generation_config The generation configuration.
10814
- */
10815
- constructor(config, sessions, generation_config) {
10816
- super(config, sessions);
10817
- this.generation_config = generation_config;
10818
- }
10819
- }
10598
+ class PhiPreTrainedModel extends PreTrainedModel { }
10820
10599
  /**
10821
10600
  * The bare Phi Model outputting raw hidden-states without any specific head on top.
10822
10601
  */
@@ -10827,18 +10606,7 @@ class PhiForCausalLM extends PhiPreTrainedModel { }
10827
10606
 
10828
10607
  //////////////////////////////////////////////////
10829
10608
  // Phi3 models
10830
- class Phi3PreTrainedModel extends PreTrainedModel {
10831
- /**
10832
- * Creates a new instance of the `Phi3PreTrainedModel` class.
10833
- * @param {Object} config The model configuration.
10834
- * @param {Record<string, any>} sessions The inference sessions for the model.
10835
- * @param {GenerationConfig} generation_config The generation configuration.
10836
- */
10837
- constructor(config, sessions, generation_config) {
10838
- super(config, sessions);
10839
- this.generation_config = generation_config;
10840
- }
10841
- }
10609
+ class Phi3PreTrainedModel extends PreTrainedModel { }
10842
10610
 
10843
10611
  /**
10844
10612
  * The bare Phi3 Model outputting raw hidden-states without any specific head on top.
@@ -10854,18 +10622,7 @@ class Phi3ForCausalLM extends Phi3PreTrainedModel { }
10854
10622
  /**
10855
10623
  * The Bloom Model transformer with a language modeling head on top (linear layer with weights tied to the input embeddings).
10856
10624
  */
10857
- class BloomPreTrainedModel extends PreTrainedModel {
10858
- /**
10859
- * Creates a new instance of the `BloomPreTrainedModel` class.
10860
- * @param {Object} config The model configuration.
10861
- * @param {Record<string, any>} sessions The inference sessions for the model.
10862
- * @param {GenerationConfig} generation_config The generation configuration.
10863
- */
10864
- constructor(config, sessions, generation_config) {
10865
- super(config, sessions);
10866
- this.generation_config = generation_config;
10867
- }
10868
- }
10625
+ class BloomPreTrainedModel extends PreTrainedModel { }
10869
10626
 
10870
10627
  /**
10871
10628
  * The bare Bloom Model transformer outputting raw hidden-states without any specific head on top.
@@ -10880,18 +10637,7 @@ class BloomForCausalLM extends BloomPreTrainedModel { }
10880
10637
 
10881
10638
  //////////////////////////////////////////////////
10882
10639
  // MPT models
10883
- class MptPreTrainedModel extends PreTrainedModel {
10884
- /**
10885
- * Creates a new instance of the `MptPreTrainedModel` class.
10886
- * @param {Object} config The model configuration.
10887
- * @param {Record<string, any>} sessions The inference sessions for the model.
10888
- * @param {GenerationConfig} generation_config The generation configuration.
10889
- */
10890
- constructor(config, sessions, generation_config) {
10891
- super(config, sessions);
10892
- this.generation_config = generation_config;
10893
- }
10894
- }
10640
+ class MptPreTrainedModel extends PreTrainedModel { }
10895
10641
 
10896
10642
  /**
10897
10643
  * The bare Mpt Model transformer outputting raw hidden-states without any specific head on top.
@@ -10907,18 +10653,7 @@ class MptForCausalLM extends MptPreTrainedModel { }
10907
10653
 
10908
10654
  //////////////////////////////////////////////////
10909
10655
  // OPT models
10910
- class OPTPreTrainedModel extends PreTrainedModel {
10911
- /**
10912
- * Creates a new instance of the `OPTPreTrainedModel` class.
10913
- * @param {Object} config The model configuration.
10914
- * @param {Record<string, any>} sessions The inference sessions for the model.
10915
- * @param {GenerationConfig} generation_config The generation configuration.
10916
- */
10917
- constructor(config, sessions, generation_config) {
10918
- super(config, sessions);
10919
- this.generation_config = generation_config;
10920
- }
10921
- }
10656
+ class OPTPreTrainedModel extends PreTrainedModel { }
10922
10657
 
10923
10658
  /**
10924
10659
  * The bare OPT Model outputting raw hidden-states without any specific head on top.
@@ -11780,19 +11515,7 @@ class SamImageSegmentationOutput extends ModelOutput {
11780
11515
 
11781
11516
  //////////////////////////////////////////////////
11782
11517
  // MarianMT models
11783
- class MarianPreTrainedModel extends PreTrainedModel {
11784
-
11785
- /**
11786
- * Creates a new instance of the `MarianMTModel` class.
11787
- * @param {Object} config The model configuration.
11788
- * @param {Record<string, any>} sessions The inference sessions for the model.
11789
- * @param {GenerationConfig} generation_config The generation configuration.
11790
- */
11791
- constructor(config, sessions, generation_config) {
11792
- super(config, sessions);
11793
- this.generation_config = generation_config;
11794
- }
11795
- };
11518
+ class MarianPreTrainedModel extends PreTrainedModel { };
11796
11519
 
11797
11520
  class MarianModel extends MarianPreTrainedModel { }
11798
11521
 
@@ -11801,19 +11524,7 @@ class MarianMTModel extends MarianPreTrainedModel { }
11801
11524
 
11802
11525
  //////////////////////////////////////////////////
11803
11526
  // M2M100 models
11804
- class M2M100PreTrainedModel extends PreTrainedModel {
11805
-
11806
- /**
11807
- * Creates a new instance of the `M2M100ForConditionalGeneration` class.
11808
- * @param {Object} config The model configuration.
11809
- * @param {Record<string, any>} sessions The inference sessions for the model.
11810
- * @param {GenerationConfig} generation_config The generation configuration.
11811
- */
11812
- constructor(config, sessions, generation_config) {
11813
- super(config, sessions);
11814
- this.generation_config = generation_config;
11815
- }
11816
- };
11527
+ class M2M100PreTrainedModel extends PreTrainedModel { };
11817
11528
 
11818
11529
  class M2M100Model extends M2M100PreTrainedModel { }
11819
11530
 
@@ -12323,19 +12034,7 @@ class WavLMForAudioFrameClassification extends WavLMPreTrainedModel {
12323
12034
  /**
12324
12035
  * An abstract class to handle weights initialization and a simple interface for downloading and loading pretrained models.
12325
12036
  */
12326
- class SpeechT5PreTrainedModel extends PreTrainedModel {
12327
-
12328
- /**
12329
- * Creates a new instance of the `SpeechT5ForTextToSpeech` class.
12330
- * @param {Object} config The model configuration.
12331
- * @param {Record<string, any>} sessions The inference sessions for the model.
12332
- * @param {GenerationConfig} generation_config The generation configuration.
12333
- */
12334
- constructor(config, sessions, generation_config) {
12335
- super(config, sessions);
12336
- this.generation_config = generation_config;
12337
- }
12338
- };
12037
+ class SpeechT5PreTrainedModel extends PreTrainedModel { };
12339
12038
 
12340
12039
  /**
12341
12040
  * The bare SpeechT5 Encoder-Decoder Model outputting raw hidden-states without any specific pre- or post-nets.
@@ -12496,18 +12195,7 @@ class SpeechT5HifiGan extends PreTrainedModel {
12496
12195
 
12497
12196
  //////////////////////////////////////////////////
12498
12197
  // TrOCR models
12499
- class TrOCRPreTrainedModel extends PreTrainedModel {
12500
- /**
12501
- * Creates a new instance of the `TrOCRPreTrainedModel` class.
12502
- * @param {Object} config The configuration of the model.
12503
- * @param {any} session The ONNX session containing the model weights.
12504
- * @param {GenerationConfig} generation_config The generation configuration.
12505
- */
12506
- constructor(config, session, generation_config) {
12507
- super(config, session);
12508
- this.generation_config = generation_config;
12509
- }
12510
- }
12198
+ class TrOCRPreTrainedModel extends PreTrainedModel { }
12511
12199
 
12512
12200
  /**
12513
12201
  * The TrOCR Decoder with a language modeling head.
@@ -12522,18 +12210,7 @@ class TrOCRForCausalLM extends TrOCRPreTrainedModel { }
12522
12210
  /**
12523
12211
  * The bare Mistral Model outputting raw hidden-states without any specific head on top.
12524
12212
  */
12525
- class MistralPreTrainedModel extends PreTrainedModel {
12526
- /**
12527
- * Creates a new instance of the `MistralPreTrainedModel` class.
12528
- * @param {Object} config The configuration of the model.
12529
- * @param {any} session The ONNX session containing the model weights.
12530
- * @param {GenerationConfig} generation_config The generation configuration.
12531
- */
12532
- constructor(config, session, generation_config) {
12533
- super(config, session);
12534
- this.generation_config = generation_config;
12535
- }
12536
- }
12213
+ class MistralPreTrainedModel extends PreTrainedModel { }
12537
12214
 
12538
12215
  class MistralModel extends MistralPreTrainedModel { }
12539
12216
 
@@ -12546,18 +12223,7 @@ class MistralForCausalLM extends MistralPreTrainedModel { }
12546
12223
  /**
12547
12224
  * The bare Starcoder2 Model outputting raw hidden-states without any specific head on top.
12548
12225
  */
12549
- class Starcoder2PreTrainedModel extends PreTrainedModel {
12550
- /**
12551
- * Creates a new instance of the `Starcoder2PreTrainedModel` class.
12552
- * @param {Object} config The configuration of the model.
12553
- * @param {any} session The ONNX session containing the model weights.
12554
- * @param {GenerationConfig} generation_config The generation configuration.
12555
- */
12556
- constructor(config, session, generation_config) {
12557
- super(config, session);
12558
- this.generation_config = generation_config;
12559
- }
12560
- }
12226
+ class Starcoder2PreTrainedModel extends PreTrainedModel { }
12561
12227
 
12562
12228
  class Starcoder2Model extends Starcoder2PreTrainedModel { }
12563
12229
 
@@ -12570,18 +12236,7 @@ class Starcoder2ForCausalLM extends Starcoder2PreTrainedModel { }
12570
12236
  /**
12571
12237
  * The bare Falcon Model outputting raw hidden-states without any specific head on top.
12572
12238
  */
12573
- class FalconPreTrainedModel extends PreTrainedModel {
12574
- /**
12575
- * Creates a new instance of the `FalconPreTrainedModel` class.
12576
- * @param {Object} config The configuration of the model.
12577
- * @param {any} session The ONNX session containing the model weights.
12578
- * @param {GenerationConfig} generation_config The generation configuration.
12579
- */
12580
- constructor(config, session, generation_config) {
12581
- super(config, session);
12582
- this.generation_config = generation_config;
12583
- }
12584
- }
12239
+ class FalconPreTrainedModel extends PreTrainedModel { }
12585
12240
 
12586
12241
  class FalconModel extends FalconPreTrainedModel { }
12587
12242
 
@@ -12731,18 +12386,7 @@ class SegformerForSemanticSegmentation extends SegformerPreTrainedModel { }
12731
12386
 
12732
12387
  //////////////////////////////////////////////////
12733
12388
  // StableLm models
12734
- class StableLmPreTrainedModel extends PreTrainedModel {
12735
- /**
12736
- * Creates a new instance of the `StableLmPreTrainedModel` class.
12737
- * @param {Object} config The configuration of the model.
12738
- * @param {any} session The ONNX session containing the model weights.
12739
- * @param {GenerationConfig} generation_config The generation configuration.
12740
- */
12741
- constructor(config, session, generation_config) {
12742
- super(config, session);
12743
- this.generation_config = generation_config;
12744
- }
12745
- }
12389
+ class StableLmPreTrainedModel extends PreTrainedModel { }
12746
12390
 
12747
12391
  /**
12748
12392
  * The bare StableLm Model transformer outputting raw hidden-states without any specific head on top.
@@ -12836,17 +12480,6 @@ class MusicgenForConditionalGeneration extends PreTrainedModel { // NOTE: not Mu
12836
12480
  'past_key_values',
12837
12481
  ];
12838
12482
 
12839
- /**
12840
- * Creates a new instance of the `MusicgenForConditionalGeneration` class.
12841
- * @param {Object} config The model configuration.
12842
- * @param {Record<string, any>} sessions The inference sessions for the model.
12843
- * @param {GenerationConfig} generation_config The generation configuration.
12844
- */
12845
- constructor(config, sessions, generation_config) {
12846
- super(config, sessions);
12847
- this.generation_config = generation_config;
12848
- }
12849
-
12850
12483
  /**
12851
12484
  * Apply the pattern mask to the final ids,
12852
12485
  * then revert the pattern delay mask by filtering the pad token id in a single step.
@@ -13202,6 +12835,7 @@ const MODEL_MAPPING_NAMES_DECODER_ONLY = new Map([
13202
12835
  ['gpt_neox', ['GPTNeoXModel', GPTNeoXModel]],
13203
12836
  ['codegen', ['CodeGenModel', CodeGenModel]],
13204
12837
  ['llama', ['LlamaModel', LlamaModel]],
12838
+ ['granite', ['GraniteModel', GraniteModel]],
13205
12839
  ['cohere', ['CohereModel', CohereModel]],
13206
12840
  ['gemma', ['GemmaModel', GemmaModel]],
13207
12841
  ['gemma2', ['Gemma2Model', Gemma2Model]],
@@ -13290,6 +12924,7 @@ const MODEL_FOR_CAUSAL_LM_MAPPING_NAMES = new Map([
13290
12924
  ['gpt_neox', ['GPTNeoXForCausalLM', GPTNeoXForCausalLM]],
13291
12925
  ['codegen', ['CodeGenForCausalLM', CodeGenForCausalLM]],
13292
12926
  ['llama', ['LlamaForCausalLM', LlamaForCausalLM]],
12927
+ ['granite', ['GraniteForCausalLM', GraniteForCausalLM]],
13293
12928
  ['cohere', ['CohereForCausalLM', CohereForCausalLM]],
13294
12929
  ['gemma', ['GemmaForCausalLM', GemmaForCausalLM]],
13295
12930
  ['gemma2', ['Gemma2ForCausalLM', Gemma2ForCausalLM]],
@@ -28904,10 +28539,10 @@ __webpack_require__.r(__webpack_exports__);
28904
28539
  /* harmony import */ var _ops_registry_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../ops/registry.js */ "./src/ops/registry.js");
28905
28540
  /**
28906
28541
  * @file Helper module for `Tensor` processing.
28907
- *
28908
- * These functions and classes are only used internally,
28542
+ *
28543
+ * These functions and classes are only used internally,
28909
28544
  * meaning an end-user shouldn't need to access anything here.
28910
- *
28545
+ *
28911
28546
  * @module utils/tensor
28912
28547
  */
28913
28548
 
@@ -29068,9 +28703,9 @@ class Tensor {
29068
28703
  }
29069
28704
 
29070
28705
  /**
29071
- * @param {number} index
29072
- * @param {number} iterSize
29073
- * @param {any} iterDims
28706
+ * @param {number} index
28707
+ * @param {number} iterSize
28708
+ * @param {any} iterDims
29074
28709
  * @returns {Tensor}
29075
28710
  */
29076
28711
  _subarray(index, iterSize, iterDims) {
@@ -29127,6 +28762,30 @@ class Tensor {
29127
28762
  return this;
29128
28763
  }
29129
28764
 
28765
+ /**
28766
+ * Return a new Tensor with a callback function applied to each element.
28767
+ * @param {Function} callback - The function to apply to each element. It should take three arguments:
28768
+ * the current element, its index, and the tensor's data array.
28769
+ * @returns {Tensor} A new Tensor with the callback function applied to each element.
28770
+ */
28771
+ map(callback) {
28772
+ return this.clone().map_(callback);
28773
+ }
28774
+
28775
+ /**
28776
+ * Apply a callback function to each element of the tensor in place.
28777
+ * @param {Function} callback - The function to apply to each element. It should take three arguments:
28778
+ * the current element, its index, and the tensor's data array.
28779
+ * @returns {Tensor} Returns `this`.
28780
+ */
28781
+ map_(callback) {
28782
+ const this_data = this.data;
28783
+ for (let i = 0; i < this_data.length; ++i) {
28784
+ this_data[i] = callback(this_data[i], i, this_data);
28785
+ }
28786
+ return this;
28787
+ }
28788
+
29130
28789
  /**
29131
28790
  * Return a new Tensor with every element multiplied by a constant.
29132
28791
  * @param {number} val The value to multiply by.
@@ -29309,7 +28968,7 @@ class Tensor {
29309
28968
 
29310
28969
  /**
29311
28970
  * Returns the sum of each row of the input tensor in the given dimension dim.
29312
- *
28971
+ *
29313
28972
  * @param {number} [dim=null] The dimension or dimensions to reduce. If `null`, all dimensions are reduced.
29314
28973
  * @param {boolean} keepdim Whether the output tensor has `dim` retained or not.
29315
28974
  * @returns The summed tensor
@@ -29442,10 +29101,10 @@ class Tensor {
29442
29101
 
29443
29102
  /**
29444
29103
  * Returns a tensor with all specified dimensions of input of size 1 removed.
29445
- *
29104
+ *
29446
29105
  * NOTE: The returned tensor shares the storage with the input tensor, so changing the contents of one will change the contents of the other.
29447
29106
  * If you would like a copy, use `tensor.clone()` before squeezing.
29448
- *
29107
+ *
29449
29108
  * @param {number} [dim=null] If given, the input will be squeezed only in the specified dimensions.
29450
29109
  * @returns {Tensor} The squeezed tensor
29451
29110
  */
@@ -29467,9 +29126,9 @@ class Tensor {
29467
29126
 
29468
29127
  /**
29469
29128
  * Returns a new tensor with a dimension of size one inserted at the specified position.
29470
- *
29129
+ *
29471
29130
  * NOTE: The returned tensor shares the same underlying data with this tensor.
29472
- *
29131
+ *
29473
29132
  * @param {number} dim The index at which to insert the singleton dimension
29474
29133
  * @returns {Tensor} The unsqueezed tensor
29475
29134
  */
@@ -29620,7 +29279,7 @@ class Tensor {
29620
29279
 
29621
29280
  /**
29622
29281
  * This creates a nested array of a given type and depth (see examples).
29623
- *
29282
+ *
29624
29283
  * @example
29625
29284
  * NestArray<string, 1>; // string[]
29626
29285
  * @example
@@ -29947,7 +29606,7 @@ function calc_unsqueeze_dims(dims, dim) {
29947
29606
  * @param {number} size The size of the array.
29948
29607
  * @param {number} [dimension=null] The dimension that the index is for (optional).
29949
29608
  * @returns {number} The index, guaranteed to be non-negative and less than `arrayLength`.
29950
- *
29609
+ *
29951
29610
  * @throws {Error} If the index is out of range.
29952
29611
  * @private
29953
29612
  */
@@ -30632,6 +30291,9 @@ __webpack_require__.r(__webpack_exports__);
30632
30291
  /* harmony export */ GemmaModel: () => (/* reexport safe */ _models_js__WEBPACK_IMPORTED_MODULE_2__.GemmaModel),
30633
30292
  /* harmony export */ GemmaPreTrainedModel: () => (/* reexport safe */ _models_js__WEBPACK_IMPORTED_MODULE_2__.GemmaPreTrainedModel),
30634
30293
  /* harmony export */ GemmaTokenizer: () => (/* reexport safe */ _tokenizers_js__WEBPACK_IMPORTED_MODULE_3__.GemmaTokenizer),
30294
+ /* harmony export */ GraniteForCausalLM: () => (/* reexport safe */ _models_js__WEBPACK_IMPORTED_MODULE_2__.GraniteForCausalLM),
30295
+ /* harmony export */ GraniteModel: () => (/* reexport safe */ _models_js__WEBPACK_IMPORTED_MODULE_2__.GraniteModel),
30296
+ /* harmony export */ GranitePreTrainedModel: () => (/* reexport safe */ _models_js__WEBPACK_IMPORTED_MODULE_2__.GranitePreTrainedModel),
30635
30297
  /* harmony export */ Grok1Tokenizer: () => (/* reexport safe */ _tokenizers_js__WEBPACK_IMPORTED_MODULE_3__.Grok1Tokenizer),
30636
30298
  /* harmony export */ GroupViTModel: () => (/* reexport safe */ _models_js__WEBPACK_IMPORTED_MODULE_2__.GroupViTModel),
30637
30299
  /* harmony export */ GroupViTPreTrainedModel: () => (/* reexport safe */ _models_js__WEBPACK_IMPORTED_MODULE_2__.GroupViTPreTrainedModel),
@@ -31282,6 +30944,9 @@ var __webpack_exports__GemmaForCausalLM = __webpack_exports__.GemmaForCausalLM;
31282
30944
  var __webpack_exports__GemmaModel = __webpack_exports__.GemmaModel;
31283
30945
  var __webpack_exports__GemmaPreTrainedModel = __webpack_exports__.GemmaPreTrainedModel;
31284
30946
  var __webpack_exports__GemmaTokenizer = __webpack_exports__.GemmaTokenizer;
30947
+ var __webpack_exports__GraniteForCausalLM = __webpack_exports__.GraniteForCausalLM;
30948
+ var __webpack_exports__GraniteModel = __webpack_exports__.GraniteModel;
30949
+ var __webpack_exports__GranitePreTrainedModel = __webpack_exports__.GranitePreTrainedModel;
31285
30950
  var __webpack_exports__Grok1Tokenizer = __webpack_exports__.Grok1Tokenizer;
31286
30951
  var __webpack_exports__GroupViTModel = __webpack_exports__.GroupViTModel;
31287
30952
  var __webpack_exports__GroupViTPreTrainedModel = __webpack_exports__.GroupViTPreTrainedModel;
@@ -31652,6 +31317,6 @@ var __webpack_exports__topk = __webpack_exports__.topk;
31652
31317
  var __webpack_exports__window_function = __webpack_exports__.window_function;
31653
31318
  var __webpack_exports__zeros = __webpack_exports__.zeros;
31654
31319
  var __webpack_exports__zeros_like = __webpack_exports__.zeros_like;
31655
- export { __webpack_exports__ASTFeatureExtractor as ASTFeatureExtractor, __webpack_exports__ASTForAudioClassification as ASTForAudioClassification, __webpack_exports__ASTModel as ASTModel, __webpack_exports__ASTPreTrainedModel as ASTPreTrainedModel, __webpack_exports__AlbertForMaskedLM as AlbertForMaskedLM, __webpack_exports__AlbertForQuestionAnswering as AlbertForQuestionAnswering, __webpack_exports__AlbertForSequenceClassification as AlbertForSequenceClassification, __webpack_exports__AlbertModel as AlbertModel, __webpack_exports__AlbertPreTrainedModel as AlbertPreTrainedModel, __webpack_exports__AlbertTokenizer as AlbertTokenizer, __webpack_exports__AudioClassificationPipeline as AudioClassificationPipeline, __webpack_exports__AutoConfig as AutoConfig, __webpack_exports__AutoModel as AutoModel, __webpack_exports__AutoModelForAudioClassification as AutoModelForAudioClassification, __webpack_exports__AutoModelForAudioFrameClassification as AutoModelForAudioFrameClassification, __webpack_exports__AutoModelForCTC as AutoModelForCTC, __webpack_exports__AutoModelForCausalLM as AutoModelForCausalLM, __webpack_exports__AutoModelForDepthEstimation as AutoModelForDepthEstimation, __webpack_exports__AutoModelForDocumentQuestionAnswering as AutoModelForDocumentQuestionAnswering, __webpack_exports__AutoModelForImageClassification as AutoModelForImageClassification, __webpack_exports__AutoModelForImageFeatureExtraction as AutoModelForImageFeatureExtraction, __webpack_exports__AutoModelForImageMatting as AutoModelForImageMatting, __webpack_exports__AutoModelForImageSegmentation as AutoModelForImageSegmentation, __webpack_exports__AutoModelForImageToImage as AutoModelForImageToImage, __webpack_exports__AutoModelForMaskGeneration as AutoModelForMaskGeneration, __webpack_exports__AutoModelForMaskedLM as AutoModelForMaskedLM, __webpack_exports__AutoModelForNormalEstimation as AutoModelForNormalEstimation, __webpack_exports__AutoModelForObjectDetection as AutoModelForObjectDetection, __webpack_exports__AutoModelForQuestionAnswering as AutoModelForQuestionAnswering, __webpack_exports__AutoModelForSemanticSegmentation as AutoModelForSemanticSegmentation, __webpack_exports__AutoModelForSeq2SeqLM as AutoModelForSeq2SeqLM, __webpack_exports__AutoModelForSequenceClassification as AutoModelForSequenceClassification, __webpack_exports__AutoModelForSpeechSeq2Seq as AutoModelForSpeechSeq2Seq, __webpack_exports__AutoModelForTextToSpectrogram as AutoModelForTextToSpectrogram, __webpack_exports__AutoModelForTextToWaveform as AutoModelForTextToWaveform, __webpack_exports__AutoModelForTokenClassification as AutoModelForTokenClassification, __webpack_exports__AutoModelForUniversalSegmentation as AutoModelForUniversalSegmentation, __webpack_exports__AutoModelForVision2Seq as AutoModelForVision2Seq, __webpack_exports__AutoModelForXVector as AutoModelForXVector, __webpack_exports__AutoModelForZeroShotObjectDetection as AutoModelForZeroShotObjectDetection, __webpack_exports__AutoProcessor as AutoProcessor, __webpack_exports__AutoTokenizer as AutoTokenizer, __webpack_exports__AutomaticSpeechRecognitionPipeline as AutomaticSpeechRecognitionPipeline, __webpack_exports__BartForConditionalGeneration as BartForConditionalGeneration, __webpack_exports__BartForSequenceClassification as BartForSequenceClassification, __webpack_exports__BartModel as BartModel, __webpack_exports__BartPretrainedModel as BartPretrainedModel, __webpack_exports__BartTokenizer as BartTokenizer, __webpack_exports__BaseModelOutput as BaseModelOutput, __webpack_exports__BaseStreamer as BaseStreamer, __webpack_exports__BeitFeatureExtractor as BeitFeatureExtractor, __webpack_exports__BeitForImageClassification as BeitForImageClassification, __webpack_exports__BeitModel as BeitModel, __webpack_exports__BeitPreTrainedModel as BeitPreTrainedModel, __webpack_exports__BertForMaskedLM as BertForMaskedLM, __webpack_exports__BertForQuestionAnswering as BertForQuestionAnswering, __webpack_exports__BertForSequenceClassification as BertForSequenceClassification, __webpack_exports__BertForTokenClassification as BertForTokenClassification, __webpack_exports__BertModel as BertModel, __webpack_exports__BertPreTrainedModel as BertPreTrainedModel, __webpack_exports__BertTokenizer as BertTokenizer, __webpack_exports__BitImageProcessor as BitImageProcessor, __webpack_exports__BlenderbotForConditionalGeneration as BlenderbotForConditionalGeneration, __webpack_exports__BlenderbotModel as BlenderbotModel, __webpack_exports__BlenderbotPreTrainedModel as BlenderbotPreTrainedModel, __webpack_exports__BlenderbotSmallForConditionalGeneration as BlenderbotSmallForConditionalGeneration, __webpack_exports__BlenderbotSmallModel as BlenderbotSmallModel, __webpack_exports__BlenderbotSmallPreTrainedModel as BlenderbotSmallPreTrainedModel, __webpack_exports__BlenderbotSmallTokenizer as BlenderbotSmallTokenizer, __webpack_exports__BlenderbotTokenizer as BlenderbotTokenizer, __webpack_exports__BloomForCausalLM as BloomForCausalLM, __webpack_exports__BloomModel as BloomModel, __webpack_exports__BloomPreTrainedModel as BloomPreTrainedModel, __webpack_exports__BloomTokenizer as BloomTokenizer, __webpack_exports__CLIPFeatureExtractor as CLIPFeatureExtractor, __webpack_exports__CLIPImageProcessor as CLIPImageProcessor, __webpack_exports__CLIPModel as CLIPModel, __webpack_exports__CLIPPreTrainedModel as CLIPPreTrainedModel, __webpack_exports__CLIPSegForImageSegmentation as CLIPSegForImageSegmentation, __webpack_exports__CLIPSegModel as CLIPSegModel, __webpack_exports__CLIPSegPreTrainedModel as CLIPSegPreTrainedModel, __webpack_exports__CLIPTextModel as CLIPTextModel, __webpack_exports__CLIPTextModelWithProjection as CLIPTextModelWithProjection, __webpack_exports__CLIPTokenizer as CLIPTokenizer, __webpack_exports__CLIPVisionModel as CLIPVisionModel, __webpack_exports__CLIPVisionModelWithProjection as CLIPVisionModelWithProjection, __webpack_exports__CamembertForMaskedLM as CamembertForMaskedLM, __webpack_exports__CamembertForQuestionAnswering as CamembertForQuestionAnswering, __webpack_exports__CamembertForSequenceClassification as CamembertForSequenceClassification, __webpack_exports__CamembertForTokenClassification as CamembertForTokenClassification, __webpack_exports__CamembertModel as CamembertModel, __webpack_exports__CamembertPreTrainedModel as CamembertPreTrainedModel, __webpack_exports__CamembertTokenizer as CamembertTokenizer, __webpack_exports__CausalLMOutput as CausalLMOutput, __webpack_exports__CausalLMOutputWithPast as CausalLMOutputWithPast, __webpack_exports__ChineseCLIPFeatureExtractor as ChineseCLIPFeatureExtractor, __webpack_exports__ChineseCLIPModel as ChineseCLIPModel, __webpack_exports__ChineseCLIPPreTrainedModel as ChineseCLIPPreTrainedModel, __webpack_exports__ClapAudioModelWithProjection as ClapAudioModelWithProjection, __webpack_exports__ClapFeatureExtractor as ClapFeatureExtractor, __webpack_exports__ClapModel as ClapModel, __webpack_exports__ClapPreTrainedModel as ClapPreTrainedModel, __webpack_exports__ClapTextModelWithProjection as ClapTextModelWithProjection, __webpack_exports__CodeGenForCausalLM as CodeGenForCausalLM, __webpack_exports__CodeGenModel as CodeGenModel, __webpack_exports__CodeGenPreTrainedModel as CodeGenPreTrainedModel, __webpack_exports__CodeGenTokenizer as CodeGenTokenizer, __webpack_exports__CodeLlamaTokenizer as CodeLlamaTokenizer, __webpack_exports__CohereForCausalLM as CohereForCausalLM, __webpack_exports__CohereModel as CohereModel, __webpack_exports__CoherePreTrainedModel as CoherePreTrainedModel, __webpack_exports__CohereTokenizer as CohereTokenizer, __webpack_exports__ConvBertForMaskedLM as ConvBertForMaskedLM, __webpack_exports__ConvBertForQuestionAnswering as ConvBertForQuestionAnswering, __webpack_exports__ConvBertForSequenceClassification as ConvBertForSequenceClassification, __webpack_exports__ConvBertForTokenClassification as ConvBertForTokenClassification, __webpack_exports__ConvBertModel as ConvBertModel, __webpack_exports__ConvBertPreTrainedModel as ConvBertPreTrainedModel, __webpack_exports__ConvBertTokenizer as ConvBertTokenizer, __webpack_exports__ConvNextFeatureExtractor as ConvNextFeatureExtractor, __webpack_exports__ConvNextForImageClassification as ConvNextForImageClassification, __webpack_exports__ConvNextImageProcessor as ConvNextImageProcessor, __webpack_exports__ConvNextModel as ConvNextModel, __webpack_exports__ConvNextPreTrainedModel as ConvNextPreTrainedModel, __webpack_exports__ConvNextV2ForImageClassification as ConvNextV2ForImageClassification, __webpack_exports__ConvNextV2Model as ConvNextV2Model, __webpack_exports__ConvNextV2PreTrainedModel as ConvNextV2PreTrainedModel, __webpack_exports__DPTFeatureExtractor as DPTFeatureExtractor, __webpack_exports__DPTForDepthEstimation as DPTForDepthEstimation, __webpack_exports__DPTImageProcessor as DPTImageProcessor, __webpack_exports__DPTModel as DPTModel, __webpack_exports__DPTPreTrainedModel as DPTPreTrainedModel, __webpack_exports__DebertaForMaskedLM as DebertaForMaskedLM, __webpack_exports__DebertaForQuestionAnswering as DebertaForQuestionAnswering, __webpack_exports__DebertaForSequenceClassification as DebertaForSequenceClassification, __webpack_exports__DebertaForTokenClassification as DebertaForTokenClassification, __webpack_exports__DebertaModel as DebertaModel, __webpack_exports__DebertaPreTrainedModel as DebertaPreTrainedModel, __webpack_exports__DebertaTokenizer as DebertaTokenizer, __webpack_exports__DebertaV2ForMaskedLM as DebertaV2ForMaskedLM, __webpack_exports__DebertaV2ForQuestionAnswering as DebertaV2ForQuestionAnswering, __webpack_exports__DebertaV2ForSequenceClassification as DebertaV2ForSequenceClassification, __webpack_exports__DebertaV2ForTokenClassification as DebertaV2ForTokenClassification, __webpack_exports__DebertaV2Model as DebertaV2Model, __webpack_exports__DebertaV2PreTrainedModel as DebertaV2PreTrainedModel, __webpack_exports__DebertaV2Tokenizer as DebertaV2Tokenizer, __webpack_exports__DecisionTransformerModel as DecisionTransformerModel, __webpack_exports__DecisionTransformerPreTrainedModel as DecisionTransformerPreTrainedModel, __webpack_exports__DeiTFeatureExtractor as DeiTFeatureExtractor, __webpack_exports__DeiTForImageClassification as DeiTForImageClassification, __webpack_exports__DeiTModel as DeiTModel, __webpack_exports__DeiTPreTrainedModel as DeiTPreTrainedModel, __webpack_exports__DepthAnythingForDepthEstimation as DepthAnythingForDepthEstimation, __webpack_exports__DepthAnythingPreTrainedModel as DepthAnythingPreTrainedModel, __webpack_exports__DepthEstimationPipeline as DepthEstimationPipeline, __webpack_exports__DepthProForDepthEstimation as DepthProForDepthEstimation, __webpack_exports__DepthProPreTrainedModel as DepthProPreTrainedModel, __webpack_exports__DetrFeatureExtractor as DetrFeatureExtractor, __webpack_exports__DetrForObjectDetection as DetrForObjectDetection, __webpack_exports__DetrForSegmentation as DetrForSegmentation, __webpack_exports__DetrModel as DetrModel, __webpack_exports__DetrObjectDetectionOutput as DetrObjectDetectionOutput, __webpack_exports__DetrPreTrainedModel as DetrPreTrainedModel, __webpack_exports__DetrSegmentationOutput as DetrSegmentationOutput, __webpack_exports__Dinov2ForImageClassification as Dinov2ForImageClassification, __webpack_exports__Dinov2Model as Dinov2Model, __webpack_exports__Dinov2PreTrainedModel as Dinov2PreTrainedModel, __webpack_exports__DistilBertForMaskedLM as DistilBertForMaskedLM, __webpack_exports__DistilBertForQuestionAnswering as DistilBertForQuestionAnswering, __webpack_exports__DistilBertForSequenceClassification as DistilBertForSequenceClassification, __webpack_exports__DistilBertForTokenClassification as DistilBertForTokenClassification, __webpack_exports__DistilBertModel as DistilBertModel, __webpack_exports__DistilBertPreTrainedModel as DistilBertPreTrainedModel, __webpack_exports__DistilBertTokenizer as DistilBertTokenizer, __webpack_exports__DocumentQuestionAnsweringPipeline as DocumentQuestionAnsweringPipeline, __webpack_exports__DonutFeatureExtractor as DonutFeatureExtractor, __webpack_exports__DonutSwinModel as DonutSwinModel, __webpack_exports__DonutSwinPreTrainedModel as DonutSwinPreTrainedModel, __webpack_exports__EfficientNetForImageClassification as EfficientNetForImageClassification, __webpack_exports__EfficientNetImageProcessor as EfficientNetImageProcessor, __webpack_exports__EfficientNetModel as EfficientNetModel, __webpack_exports__EfficientNetPreTrainedModel as EfficientNetPreTrainedModel, __webpack_exports__ElectraForMaskedLM as ElectraForMaskedLM, __webpack_exports__ElectraForQuestionAnswering as ElectraForQuestionAnswering, __webpack_exports__ElectraForSequenceClassification as ElectraForSequenceClassification, __webpack_exports__ElectraForTokenClassification as ElectraForTokenClassification, __webpack_exports__ElectraModel as ElectraModel, __webpack_exports__ElectraPreTrainedModel as ElectraPreTrainedModel, __webpack_exports__ElectraTokenizer as ElectraTokenizer, __webpack_exports__EosTokenCriteria as EosTokenCriteria, __webpack_exports__EsmForMaskedLM as EsmForMaskedLM, __webpack_exports__EsmForSequenceClassification as EsmForSequenceClassification, __webpack_exports__EsmForTokenClassification as EsmForTokenClassification, __webpack_exports__EsmModel as EsmModel, __webpack_exports__EsmPreTrainedModel as EsmPreTrainedModel, __webpack_exports__EsmTokenizer as EsmTokenizer, __webpack_exports__FFT as FFT, __webpack_exports__FalconForCausalLM as FalconForCausalLM, __webpack_exports__FalconModel as FalconModel, __webpack_exports__FalconPreTrainedModel as FalconPreTrainedModel, __webpack_exports__FalconTokenizer as FalconTokenizer, __webpack_exports__FastViTForImageClassification as FastViTForImageClassification, __webpack_exports__FastViTModel as FastViTModel, __webpack_exports__FastViTPreTrainedModel as FastViTPreTrainedModel, __webpack_exports__FeatureExtractionPipeline as FeatureExtractionPipeline, __webpack_exports__FeatureExtractor as FeatureExtractor, __webpack_exports__FillMaskPipeline as FillMaskPipeline, __webpack_exports__Florence2ForConditionalGeneration as Florence2ForConditionalGeneration, __webpack_exports__Florence2PreTrainedModel as Florence2PreTrainedModel, __webpack_exports__Florence2Processor as Florence2Processor, __webpack_exports__GLPNFeatureExtractor as GLPNFeatureExtractor, __webpack_exports__GLPNForDepthEstimation as GLPNForDepthEstimation, __webpack_exports__GLPNModel as GLPNModel, __webpack_exports__GLPNPreTrainedModel as GLPNPreTrainedModel, __webpack_exports__GPT2LMHeadModel as GPT2LMHeadModel, __webpack_exports__GPT2Model as GPT2Model, __webpack_exports__GPT2PreTrainedModel as GPT2PreTrainedModel, __webpack_exports__GPT2Tokenizer as GPT2Tokenizer, __webpack_exports__GPTBigCodeForCausalLM as GPTBigCodeForCausalLM, __webpack_exports__GPTBigCodeModel as GPTBigCodeModel, __webpack_exports__GPTBigCodePreTrainedModel as GPTBigCodePreTrainedModel, __webpack_exports__GPTJForCausalLM as GPTJForCausalLM, __webpack_exports__GPTJModel as GPTJModel, __webpack_exports__GPTJPreTrainedModel as GPTJPreTrainedModel, __webpack_exports__GPTNeoForCausalLM as GPTNeoForCausalLM, __webpack_exports__GPTNeoModel as GPTNeoModel, __webpack_exports__GPTNeoPreTrainedModel as GPTNeoPreTrainedModel, __webpack_exports__GPTNeoXForCausalLM as GPTNeoXForCausalLM, __webpack_exports__GPTNeoXModel as GPTNeoXModel, __webpack_exports__GPTNeoXPreTrainedModel as GPTNeoXPreTrainedModel, __webpack_exports__GPTNeoXTokenizer as GPTNeoXTokenizer, __webpack_exports__Gemma2ForCausalLM as Gemma2ForCausalLM, __webpack_exports__Gemma2Model as Gemma2Model, __webpack_exports__Gemma2PreTrainedModel as Gemma2PreTrainedModel, __webpack_exports__GemmaForCausalLM as GemmaForCausalLM, __webpack_exports__GemmaModel as GemmaModel, __webpack_exports__GemmaPreTrainedModel as GemmaPreTrainedModel, __webpack_exports__GemmaTokenizer as GemmaTokenizer, __webpack_exports__Grok1Tokenizer as Grok1Tokenizer, __webpack_exports__GroupViTModel as GroupViTModel, __webpack_exports__GroupViTPreTrainedModel as GroupViTPreTrainedModel, __webpack_exports__HerbertTokenizer as HerbertTokenizer, __webpack_exports__HieraForImageClassification as HieraForImageClassification, __webpack_exports__HieraModel as HieraModel, __webpack_exports__HieraPreTrainedModel as HieraPreTrainedModel, __webpack_exports__HubertForCTC as HubertForCTC, __webpack_exports__HubertForSequenceClassification as HubertForSequenceClassification, __webpack_exports__HubertModel as HubertModel, __webpack_exports__HubertPreTrainedModel as HubertPreTrainedModel, __webpack_exports__ImageClassificationPipeline as ImageClassificationPipeline, __webpack_exports__ImageFeatureExtractionPipeline as ImageFeatureExtractionPipeline, __webpack_exports__ImageFeatureExtractor as ImageFeatureExtractor, __webpack_exports__ImageMattingOutput as ImageMattingOutput, __webpack_exports__ImageSegmentationPipeline as ImageSegmentationPipeline, __webpack_exports__ImageToImagePipeline as ImageToImagePipeline, __webpack_exports__ImageToTextPipeline as ImageToTextPipeline, __webpack_exports__InterruptableStoppingCriteria as InterruptableStoppingCriteria, __webpack_exports__JAISLMHeadModel as JAISLMHeadModel, __webpack_exports__JAISModel as JAISModel, __webpack_exports__JAISPreTrainedModel as JAISPreTrainedModel, __webpack_exports__LlamaForCausalLM as LlamaForCausalLM, __webpack_exports__LlamaModel as LlamaModel, __webpack_exports__LlamaPreTrainedModel as LlamaPreTrainedModel, __webpack_exports__LlamaTokenizer as LlamaTokenizer, __webpack_exports__LlavaForConditionalGeneration as LlavaForConditionalGeneration, __webpack_exports__LlavaPreTrainedModel as LlavaPreTrainedModel, __webpack_exports__LongT5ForConditionalGeneration as LongT5ForConditionalGeneration, __webpack_exports__LongT5Model as LongT5Model, __webpack_exports__LongT5PreTrainedModel as LongT5PreTrainedModel, __webpack_exports__M2M100ForConditionalGeneration as M2M100ForConditionalGeneration, __webpack_exports__M2M100Model as M2M100Model, __webpack_exports__M2M100PreTrainedModel as M2M100PreTrainedModel, __webpack_exports__M2M100Tokenizer as M2M100Tokenizer, __webpack_exports__MBart50Tokenizer as MBart50Tokenizer, __webpack_exports__MBartForCausalLM as MBartForCausalLM, __webpack_exports__MBartForConditionalGeneration as MBartForConditionalGeneration, __webpack_exports__MBartForSequenceClassification as MBartForSequenceClassification, __webpack_exports__MBartModel as MBartModel, __webpack_exports__MBartPreTrainedModel as MBartPreTrainedModel, __webpack_exports__MBartTokenizer as MBartTokenizer, __webpack_exports__MPNetForMaskedLM as MPNetForMaskedLM, __webpack_exports__MPNetForQuestionAnswering as MPNetForQuestionAnswering, __webpack_exports__MPNetForSequenceClassification as MPNetForSequenceClassification, __webpack_exports__MPNetForTokenClassification as MPNetForTokenClassification, __webpack_exports__MPNetModel as MPNetModel, __webpack_exports__MPNetPreTrainedModel as MPNetPreTrainedModel, __webpack_exports__MPNetTokenizer as MPNetTokenizer, __webpack_exports__MT5ForConditionalGeneration as MT5ForConditionalGeneration, __webpack_exports__MT5Model as MT5Model, __webpack_exports__MT5PreTrainedModel as MT5PreTrainedModel, __webpack_exports__MarianMTModel as MarianMTModel, __webpack_exports__MarianModel as MarianModel, __webpack_exports__MarianPreTrainedModel as MarianPreTrainedModel, __webpack_exports__MarianTokenizer as MarianTokenizer, __webpack_exports__MaskFormerFeatureExtractor as MaskFormerFeatureExtractor, __webpack_exports__MaskFormerForInstanceSegmentation as MaskFormerForInstanceSegmentation, __webpack_exports__MaskFormerModel as MaskFormerModel, __webpack_exports__MaskFormerPreTrainedModel as MaskFormerPreTrainedModel, __webpack_exports__MaskedLMOutput as MaskedLMOutput, __webpack_exports__MaxLengthCriteria as MaxLengthCriteria, __webpack_exports__MistralForCausalLM as MistralForCausalLM, __webpack_exports__MistralModel as MistralModel, __webpack_exports__MistralPreTrainedModel as MistralPreTrainedModel, __webpack_exports__MobileBertForMaskedLM as MobileBertForMaskedLM, __webpack_exports__MobileBertForQuestionAnswering as MobileBertForQuestionAnswering, __webpack_exports__MobileBertForSequenceClassification as MobileBertForSequenceClassification, __webpack_exports__MobileBertModel as MobileBertModel, __webpack_exports__MobileBertPreTrainedModel as MobileBertPreTrainedModel, __webpack_exports__MobileBertTokenizer as MobileBertTokenizer, __webpack_exports__MobileNetV1FeatureExtractor as MobileNetV1FeatureExtractor, __webpack_exports__MobileNetV1ForImageClassification as MobileNetV1ForImageClassification, __webpack_exports__MobileNetV1Model as MobileNetV1Model, __webpack_exports__MobileNetV1PreTrainedModel as MobileNetV1PreTrainedModel, __webpack_exports__MobileNetV2FeatureExtractor as MobileNetV2FeatureExtractor, __webpack_exports__MobileNetV2ForImageClassification as MobileNetV2ForImageClassification, __webpack_exports__MobileNetV2Model as MobileNetV2Model, __webpack_exports__MobileNetV2PreTrainedModel as MobileNetV2PreTrainedModel, __webpack_exports__MobileNetV3FeatureExtractor as MobileNetV3FeatureExtractor, __webpack_exports__MobileNetV3ForImageClassification as MobileNetV3ForImageClassification, __webpack_exports__MobileNetV3Model as MobileNetV3Model, __webpack_exports__MobileNetV3PreTrainedModel as MobileNetV3PreTrainedModel, __webpack_exports__MobileNetV4FeatureExtractor as MobileNetV4FeatureExtractor, __webpack_exports__MobileNetV4ForImageClassification as MobileNetV4ForImageClassification, __webpack_exports__MobileNetV4Model as MobileNetV4Model, __webpack_exports__MobileNetV4PreTrainedModel as MobileNetV4PreTrainedModel, __webpack_exports__MobileViTFeatureExtractor as MobileViTFeatureExtractor, __webpack_exports__MobileViTForImageClassification as MobileViTForImageClassification, __webpack_exports__MobileViTImageProcessor as MobileViTImageProcessor, __webpack_exports__MobileViTModel as MobileViTModel, __webpack_exports__MobileViTPreTrainedModel as MobileViTPreTrainedModel, __webpack_exports__MobileViTV2ForImageClassification as MobileViTV2ForImageClassification, __webpack_exports__MobileViTV2Model as MobileViTV2Model, __webpack_exports__MobileViTV2PreTrainedModel as MobileViTV2PreTrainedModel, __webpack_exports__ModelOutput as ModelOutput, __webpack_exports__Moondream1ForConditionalGeneration as Moondream1ForConditionalGeneration, __webpack_exports__MptForCausalLM as MptForCausalLM, __webpack_exports__MptModel as MptModel, __webpack_exports__MptPreTrainedModel as MptPreTrainedModel, __webpack_exports__MusicgenForCausalLM as MusicgenForCausalLM, __webpack_exports__MusicgenForConditionalGeneration as MusicgenForConditionalGeneration, __webpack_exports__MusicgenModel as MusicgenModel, __webpack_exports__MusicgenPreTrainedModel as MusicgenPreTrainedModel, __webpack_exports__NllbTokenizer as NllbTokenizer, __webpack_exports__NomicBertModel as NomicBertModel, __webpack_exports__NomicBertPreTrainedModel as NomicBertPreTrainedModel, __webpack_exports__NougatImageProcessor as NougatImageProcessor, __webpack_exports__NougatTokenizer as NougatTokenizer, __webpack_exports__OPTForCausalLM as OPTForCausalLM, __webpack_exports__OPTModel as OPTModel, __webpack_exports__OPTPreTrainedModel as OPTPreTrainedModel, __webpack_exports__ObjectDetectionPipeline as ObjectDetectionPipeline, __webpack_exports__OpenELMForCausalLM as OpenELMForCausalLM, __webpack_exports__OpenELMModel as OpenELMModel, __webpack_exports__OpenELMPreTrainedModel as OpenELMPreTrainedModel, __webpack_exports__OwlViTFeatureExtractor as OwlViTFeatureExtractor, __webpack_exports__OwlViTForObjectDetection as OwlViTForObjectDetection, __webpack_exports__OwlViTModel as OwlViTModel, __webpack_exports__OwlViTPreTrainedModel as OwlViTPreTrainedModel, __webpack_exports__OwlViTProcessor as OwlViTProcessor, __webpack_exports__Owlv2ForObjectDetection as Owlv2ForObjectDetection, __webpack_exports__Owlv2ImageProcessor as Owlv2ImageProcessor, __webpack_exports__Owlv2Model as Owlv2Model, __webpack_exports__Owlv2PreTrainedModel as Owlv2PreTrainedModel, __webpack_exports__Phi3ForCausalLM as Phi3ForCausalLM, __webpack_exports__Phi3Model as Phi3Model, __webpack_exports__Phi3PreTrainedModel as Phi3PreTrainedModel, __webpack_exports__PhiForCausalLM as PhiForCausalLM, __webpack_exports__PhiModel as PhiModel, __webpack_exports__PhiPreTrainedModel as PhiPreTrainedModel, __webpack_exports__Pipeline as Pipeline, __webpack_exports__PreTrainedModel as PreTrainedModel, __webpack_exports__PreTrainedTokenizer as PreTrainedTokenizer, __webpack_exports__PretrainedConfig as PretrainedConfig, __webpack_exports__PretrainedMixin as PretrainedMixin, __webpack_exports__Processor as Processor, __webpack_exports__PvtForImageClassification as PvtForImageClassification, __webpack_exports__PvtImageProcessor as PvtImageProcessor, __webpack_exports__PvtModel as PvtModel, __webpack_exports__PvtPreTrainedModel as PvtPreTrainedModel, __webpack_exports__PyAnnoteFeatureExtractor as PyAnnoteFeatureExtractor, __webpack_exports__PyAnnoteForAudioFrameClassification as PyAnnoteForAudioFrameClassification, __webpack_exports__PyAnnoteModel as PyAnnoteModel, __webpack_exports__PyAnnotePreTrainedModel as PyAnnotePreTrainedModel, __webpack_exports__PyAnnoteProcessor as PyAnnoteProcessor, __webpack_exports__QuestionAnsweringModelOutput as QuestionAnsweringModelOutput, __webpack_exports__QuestionAnsweringPipeline as QuestionAnsweringPipeline, __webpack_exports__Qwen2ForCausalLM as Qwen2ForCausalLM, __webpack_exports__Qwen2Model as Qwen2Model, __webpack_exports__Qwen2PreTrainedModel as Qwen2PreTrainedModel, __webpack_exports__Qwen2Tokenizer as Qwen2Tokenizer, __webpack_exports__RTDetrForObjectDetection as RTDetrForObjectDetection, __webpack_exports__RTDetrImageProcessor as RTDetrImageProcessor, __webpack_exports__RTDetrModel as RTDetrModel, __webpack_exports__RTDetrObjectDetectionOutput as RTDetrObjectDetectionOutput, __webpack_exports__RTDetrPreTrainedModel as RTDetrPreTrainedModel, __webpack_exports__RawImage as RawImage, __webpack_exports__ResNetForImageClassification as ResNetForImageClassification, __webpack_exports__ResNetModel as ResNetModel, __webpack_exports__ResNetPreTrainedModel as ResNetPreTrainedModel, __webpack_exports__RoFormerForMaskedLM as RoFormerForMaskedLM, __webpack_exports__RoFormerForQuestionAnswering as RoFormerForQuestionAnswering, __webpack_exports__RoFormerForSequenceClassification as RoFormerForSequenceClassification, __webpack_exports__RoFormerForTokenClassification as RoFormerForTokenClassification, __webpack_exports__RoFormerModel as RoFormerModel, __webpack_exports__RoFormerPreTrainedModel as RoFormerPreTrainedModel, __webpack_exports__RoFormerTokenizer as RoFormerTokenizer, __webpack_exports__RobertaForMaskedLM as RobertaForMaskedLM, __webpack_exports__RobertaForQuestionAnswering as RobertaForQuestionAnswering, __webpack_exports__RobertaForSequenceClassification as RobertaForSequenceClassification, __webpack_exports__RobertaForTokenClassification as RobertaForTokenClassification, __webpack_exports__RobertaModel as RobertaModel, __webpack_exports__RobertaPreTrainedModel as RobertaPreTrainedModel, __webpack_exports__RobertaTokenizer as RobertaTokenizer, __webpack_exports__SamImageProcessor as SamImageProcessor, __webpack_exports__SamImageSegmentationOutput as SamImageSegmentationOutput, __webpack_exports__SamModel as SamModel, __webpack_exports__SamPreTrainedModel as SamPreTrainedModel, __webpack_exports__SamProcessor as SamProcessor, __webpack_exports__SapiensFeatureExtractor as SapiensFeatureExtractor, __webpack_exports__SapiensForDepthEstimation as SapiensForDepthEstimation, __webpack_exports__SapiensForNormalEstimation as SapiensForNormalEstimation, __webpack_exports__SapiensForSemanticSegmentation as SapiensForSemanticSegmentation, __webpack_exports__SapiensPreTrainedModel as SapiensPreTrainedModel, __webpack_exports__SeamlessM4TFeatureExtractor as SeamlessM4TFeatureExtractor, __webpack_exports__SegformerFeatureExtractor as SegformerFeatureExtractor, __webpack_exports__SegformerForImageClassification as SegformerForImageClassification, __webpack_exports__SegformerForSemanticSegmentation as SegformerForSemanticSegmentation, __webpack_exports__SegformerModel as SegformerModel, __webpack_exports__SegformerPreTrainedModel as SegformerPreTrainedModel, __webpack_exports__Seq2SeqLMOutput as Seq2SeqLMOutput, __webpack_exports__SequenceClassifierOutput as SequenceClassifierOutput, __webpack_exports__SiglipImageProcessor as SiglipImageProcessor, __webpack_exports__SiglipModel as SiglipModel, __webpack_exports__SiglipPreTrainedModel as SiglipPreTrainedModel, __webpack_exports__SiglipTextModel as SiglipTextModel, __webpack_exports__SiglipTokenizer as SiglipTokenizer, __webpack_exports__SiglipVisionModel as SiglipVisionModel, __webpack_exports__SpeechT5FeatureExtractor as SpeechT5FeatureExtractor, __webpack_exports__SpeechT5ForSpeechToText as SpeechT5ForSpeechToText, __webpack_exports__SpeechT5ForTextToSpeech as SpeechT5ForTextToSpeech, __webpack_exports__SpeechT5HifiGan as SpeechT5HifiGan, __webpack_exports__SpeechT5Model as SpeechT5Model, __webpack_exports__SpeechT5PreTrainedModel as SpeechT5PreTrainedModel, __webpack_exports__SpeechT5Processor as SpeechT5Processor, __webpack_exports__SpeechT5Tokenizer as SpeechT5Tokenizer, __webpack_exports__SqueezeBertForMaskedLM as SqueezeBertForMaskedLM, __webpack_exports__SqueezeBertForQuestionAnswering as SqueezeBertForQuestionAnswering, __webpack_exports__SqueezeBertForSequenceClassification as SqueezeBertForSequenceClassification, __webpack_exports__SqueezeBertModel as SqueezeBertModel, __webpack_exports__SqueezeBertPreTrainedModel as SqueezeBertPreTrainedModel, __webpack_exports__SqueezeBertTokenizer as SqueezeBertTokenizer, __webpack_exports__StableLmForCausalLM as StableLmForCausalLM, __webpack_exports__StableLmModel as StableLmModel, __webpack_exports__StableLmPreTrainedModel as StableLmPreTrainedModel, __webpack_exports__Starcoder2ForCausalLM as Starcoder2ForCausalLM, __webpack_exports__Starcoder2Model as Starcoder2Model, __webpack_exports__Starcoder2PreTrainedModel as Starcoder2PreTrainedModel, __webpack_exports__StoppingCriteria as StoppingCriteria, __webpack_exports__StoppingCriteriaList as StoppingCriteriaList, __webpack_exports__SummarizationPipeline as SummarizationPipeline, __webpack_exports__Swin2SRForImageSuperResolution as Swin2SRForImageSuperResolution, __webpack_exports__Swin2SRImageProcessor as Swin2SRImageProcessor, __webpack_exports__Swin2SRModel as Swin2SRModel, __webpack_exports__Swin2SRPreTrainedModel as Swin2SRPreTrainedModel, __webpack_exports__SwinForImageClassification as SwinForImageClassification, __webpack_exports__SwinModel as SwinModel, __webpack_exports__SwinPreTrainedModel as SwinPreTrainedModel, __webpack_exports__T5ForConditionalGeneration as T5ForConditionalGeneration, __webpack_exports__T5Model as T5Model, __webpack_exports__T5PreTrainedModel as T5PreTrainedModel, __webpack_exports__T5Tokenizer as T5Tokenizer, __webpack_exports__TableTransformerForObjectDetection as TableTransformerForObjectDetection, __webpack_exports__TableTransformerModel as TableTransformerModel, __webpack_exports__TableTransformerObjectDetectionOutput as TableTransformerObjectDetectionOutput, __webpack_exports__TableTransformerPreTrainedModel as TableTransformerPreTrainedModel, __webpack_exports__Tensor as Tensor, __webpack_exports__Text2TextGenerationPipeline as Text2TextGenerationPipeline, __webpack_exports__TextClassificationPipeline as TextClassificationPipeline, __webpack_exports__TextGenerationPipeline as TextGenerationPipeline, __webpack_exports__TextStreamer as TextStreamer, __webpack_exports__TextToAudioPipeline as TextToAudioPipeline, __webpack_exports__TokenClassificationPipeline as TokenClassificationPipeline, __webpack_exports__TokenClassifierOutput as TokenClassifierOutput, __webpack_exports__TokenizerModel as TokenizerModel, __webpack_exports__TrOCRForCausalLM as TrOCRForCausalLM, __webpack_exports__TrOCRPreTrainedModel as TrOCRPreTrainedModel, __webpack_exports__TranslationPipeline as TranslationPipeline, __webpack_exports__UniSpeechForCTC as UniSpeechForCTC, __webpack_exports__UniSpeechForSequenceClassification as UniSpeechForSequenceClassification, __webpack_exports__UniSpeechModel as UniSpeechModel, __webpack_exports__UniSpeechPreTrainedModel as UniSpeechPreTrainedModel, __webpack_exports__UniSpeechSatForAudioFrameClassification as UniSpeechSatForAudioFrameClassification, __webpack_exports__UniSpeechSatForCTC as UniSpeechSatForCTC, __webpack_exports__UniSpeechSatForSequenceClassification as UniSpeechSatForSequenceClassification, __webpack_exports__UniSpeechSatModel as UniSpeechSatModel, __webpack_exports__UniSpeechSatPreTrainedModel as UniSpeechSatPreTrainedModel, __webpack_exports__ViTFeatureExtractor as ViTFeatureExtractor, __webpack_exports__ViTForImageClassification as ViTForImageClassification, __webpack_exports__ViTImageProcessor as ViTImageProcessor, __webpack_exports__ViTMAEModel as ViTMAEModel, __webpack_exports__ViTMAEPreTrainedModel as ViTMAEPreTrainedModel, __webpack_exports__ViTMSNForImageClassification as ViTMSNForImageClassification, __webpack_exports__ViTMSNModel as ViTMSNModel, __webpack_exports__ViTMSNPreTrainedModel as ViTMSNPreTrainedModel, __webpack_exports__ViTModel as ViTModel, __webpack_exports__ViTPreTrainedModel as ViTPreTrainedModel, __webpack_exports__VisionEncoderDecoderModel as VisionEncoderDecoderModel, __webpack_exports__VitMatteForImageMatting as VitMatteForImageMatting, __webpack_exports__VitMatteImageProcessor as VitMatteImageProcessor, __webpack_exports__VitMattePreTrainedModel as VitMattePreTrainedModel, __webpack_exports__VitsModel as VitsModel, __webpack_exports__VitsModelOutput as VitsModelOutput, __webpack_exports__VitsPreTrainedModel as VitsPreTrainedModel, __webpack_exports__VitsTokenizer as VitsTokenizer, __webpack_exports__Wav2Vec2BertForCTC as Wav2Vec2BertForCTC, __webpack_exports__Wav2Vec2BertForSequenceClassification as Wav2Vec2BertForSequenceClassification, __webpack_exports__Wav2Vec2BertModel as Wav2Vec2BertModel, __webpack_exports__Wav2Vec2BertPreTrainedModel as Wav2Vec2BertPreTrainedModel, __webpack_exports__Wav2Vec2CTCTokenizer as Wav2Vec2CTCTokenizer, __webpack_exports__Wav2Vec2FeatureExtractor as Wav2Vec2FeatureExtractor, __webpack_exports__Wav2Vec2ForAudioFrameClassification as Wav2Vec2ForAudioFrameClassification, __webpack_exports__Wav2Vec2ForCTC as Wav2Vec2ForCTC, __webpack_exports__Wav2Vec2ForSequenceClassification as Wav2Vec2ForSequenceClassification, __webpack_exports__Wav2Vec2Model as Wav2Vec2Model, __webpack_exports__Wav2Vec2PreTrainedModel as Wav2Vec2PreTrainedModel, __webpack_exports__Wav2Vec2ProcessorWithLM as Wav2Vec2ProcessorWithLM, __webpack_exports__WavLMForAudioFrameClassification as WavLMForAudioFrameClassification, __webpack_exports__WavLMForCTC as WavLMForCTC, __webpack_exports__WavLMForSequenceClassification as WavLMForSequenceClassification, __webpack_exports__WavLMForXVector as WavLMForXVector, __webpack_exports__WavLMModel as WavLMModel, __webpack_exports__WavLMPreTrainedModel as WavLMPreTrainedModel, __webpack_exports__WeSpeakerFeatureExtractor as WeSpeakerFeatureExtractor, __webpack_exports__WeSpeakerResNetModel as WeSpeakerResNetModel, __webpack_exports__WeSpeakerResNetPreTrainedModel as WeSpeakerResNetPreTrainedModel, __webpack_exports__WhisperFeatureExtractor as WhisperFeatureExtractor, __webpack_exports__WhisperForConditionalGeneration as WhisperForConditionalGeneration, __webpack_exports__WhisperModel as WhisperModel, __webpack_exports__WhisperPreTrainedModel as WhisperPreTrainedModel, __webpack_exports__WhisperProcessor as WhisperProcessor, __webpack_exports__WhisperTextStreamer as WhisperTextStreamer, __webpack_exports__WhisperTokenizer as WhisperTokenizer, __webpack_exports__XLMForQuestionAnswering as XLMForQuestionAnswering, __webpack_exports__XLMForSequenceClassification as XLMForSequenceClassification, __webpack_exports__XLMForTokenClassification as XLMForTokenClassification, __webpack_exports__XLMModel as XLMModel, __webpack_exports__XLMPreTrainedModel as XLMPreTrainedModel, __webpack_exports__XLMRobertaForMaskedLM as XLMRobertaForMaskedLM, __webpack_exports__XLMRobertaForQuestionAnswering as XLMRobertaForQuestionAnswering, __webpack_exports__XLMRobertaForSequenceClassification as XLMRobertaForSequenceClassification, __webpack_exports__XLMRobertaForTokenClassification as XLMRobertaForTokenClassification, __webpack_exports__XLMRobertaModel as XLMRobertaModel, __webpack_exports__XLMRobertaPreTrainedModel as XLMRobertaPreTrainedModel, __webpack_exports__XLMRobertaTokenizer as XLMRobertaTokenizer, __webpack_exports__XLMTokenizer as XLMTokenizer, __webpack_exports__XLMWithLMHeadModel as XLMWithLMHeadModel, __webpack_exports__XVectorOutput as XVectorOutput, __webpack_exports__YolosFeatureExtractor as YolosFeatureExtractor, __webpack_exports__YolosForObjectDetection as YolosForObjectDetection, __webpack_exports__YolosModel as YolosModel, __webpack_exports__YolosObjectDetectionOutput as YolosObjectDetectionOutput, __webpack_exports__YolosPreTrainedModel as YolosPreTrainedModel, __webpack_exports__ZeroShotAudioClassificationPipeline as ZeroShotAudioClassificationPipeline, __webpack_exports__ZeroShotClassificationPipeline as ZeroShotClassificationPipeline, __webpack_exports__ZeroShotImageClassificationPipeline as ZeroShotImageClassificationPipeline, __webpack_exports__ZeroShotObjectDetectionPipeline as ZeroShotObjectDetectionPipeline, __webpack_exports__bankers_round as bankers_round, __webpack_exports__cat as cat, __webpack_exports__cos_sim as cos_sim, __webpack_exports__dot as dot, __webpack_exports__dynamic_time_warping as dynamic_time_warping, __webpack_exports__env as env, __webpack_exports__full as full, __webpack_exports__full_like as full_like, __webpack_exports__getKeyValueShapes as getKeyValueShapes, __webpack_exports__hamming as hamming, __webpack_exports__hanning as hanning, __webpack_exports__interpolate as interpolate, __webpack_exports__interpolate_4d as interpolate_4d, __webpack_exports__interpolate_data as interpolate_data, __webpack_exports__is_chinese_char as is_chinese_char, __webpack_exports__layer_norm as layer_norm, __webpack_exports__log_softmax as log_softmax, __webpack_exports__magnitude as magnitude, __webpack_exports__matmul as matmul, __webpack_exports__max as max, __webpack_exports__mean as mean, __webpack_exports__mean_pooling as mean_pooling, __webpack_exports__medianFilter as medianFilter, __webpack_exports__mel_filter_bank as mel_filter_bank, __webpack_exports__min as min, __webpack_exports__ones as ones, __webpack_exports__ones_like as ones_like, __webpack_exports__permute as permute, __webpack_exports__permute_data as permute_data, __webpack_exports__pipeline as pipeline, __webpack_exports__quantize_embeddings as quantize_embeddings, __webpack_exports__read_audio as read_audio, __webpack_exports__rfft as rfft, __webpack_exports__round as round, __webpack_exports__softmax as softmax, __webpack_exports__spectrogram as spectrogram, __webpack_exports__stack as stack, __webpack_exports__std_mean as std_mean, __webpack_exports__topk as topk, __webpack_exports__window_function as window_function, __webpack_exports__zeros as zeros, __webpack_exports__zeros_like as zeros_like };
31320
+ export { __webpack_exports__ASTFeatureExtractor as ASTFeatureExtractor, __webpack_exports__ASTForAudioClassification as ASTForAudioClassification, __webpack_exports__ASTModel as ASTModel, __webpack_exports__ASTPreTrainedModel as ASTPreTrainedModel, __webpack_exports__AlbertForMaskedLM as AlbertForMaskedLM, __webpack_exports__AlbertForQuestionAnswering as AlbertForQuestionAnswering, __webpack_exports__AlbertForSequenceClassification as AlbertForSequenceClassification, __webpack_exports__AlbertModel as AlbertModel, __webpack_exports__AlbertPreTrainedModel as AlbertPreTrainedModel, __webpack_exports__AlbertTokenizer as AlbertTokenizer, __webpack_exports__AudioClassificationPipeline as AudioClassificationPipeline, __webpack_exports__AutoConfig as AutoConfig, __webpack_exports__AutoModel as AutoModel, __webpack_exports__AutoModelForAudioClassification as AutoModelForAudioClassification, __webpack_exports__AutoModelForAudioFrameClassification as AutoModelForAudioFrameClassification, __webpack_exports__AutoModelForCTC as AutoModelForCTC, __webpack_exports__AutoModelForCausalLM as AutoModelForCausalLM, __webpack_exports__AutoModelForDepthEstimation as AutoModelForDepthEstimation, __webpack_exports__AutoModelForDocumentQuestionAnswering as AutoModelForDocumentQuestionAnswering, __webpack_exports__AutoModelForImageClassification as AutoModelForImageClassification, __webpack_exports__AutoModelForImageFeatureExtraction as AutoModelForImageFeatureExtraction, __webpack_exports__AutoModelForImageMatting as AutoModelForImageMatting, __webpack_exports__AutoModelForImageSegmentation as AutoModelForImageSegmentation, __webpack_exports__AutoModelForImageToImage as AutoModelForImageToImage, __webpack_exports__AutoModelForMaskGeneration as AutoModelForMaskGeneration, __webpack_exports__AutoModelForMaskedLM as AutoModelForMaskedLM, __webpack_exports__AutoModelForNormalEstimation as AutoModelForNormalEstimation, __webpack_exports__AutoModelForObjectDetection as AutoModelForObjectDetection, __webpack_exports__AutoModelForQuestionAnswering as AutoModelForQuestionAnswering, __webpack_exports__AutoModelForSemanticSegmentation as AutoModelForSemanticSegmentation, __webpack_exports__AutoModelForSeq2SeqLM as AutoModelForSeq2SeqLM, __webpack_exports__AutoModelForSequenceClassification as AutoModelForSequenceClassification, __webpack_exports__AutoModelForSpeechSeq2Seq as AutoModelForSpeechSeq2Seq, __webpack_exports__AutoModelForTextToSpectrogram as AutoModelForTextToSpectrogram, __webpack_exports__AutoModelForTextToWaveform as AutoModelForTextToWaveform, __webpack_exports__AutoModelForTokenClassification as AutoModelForTokenClassification, __webpack_exports__AutoModelForUniversalSegmentation as AutoModelForUniversalSegmentation, __webpack_exports__AutoModelForVision2Seq as AutoModelForVision2Seq, __webpack_exports__AutoModelForXVector as AutoModelForXVector, __webpack_exports__AutoModelForZeroShotObjectDetection as AutoModelForZeroShotObjectDetection, __webpack_exports__AutoProcessor as AutoProcessor, __webpack_exports__AutoTokenizer as AutoTokenizer, __webpack_exports__AutomaticSpeechRecognitionPipeline as AutomaticSpeechRecognitionPipeline, __webpack_exports__BartForConditionalGeneration as BartForConditionalGeneration, __webpack_exports__BartForSequenceClassification as BartForSequenceClassification, __webpack_exports__BartModel as BartModel, __webpack_exports__BartPretrainedModel as BartPretrainedModel, __webpack_exports__BartTokenizer as BartTokenizer, __webpack_exports__BaseModelOutput as BaseModelOutput, __webpack_exports__BaseStreamer as BaseStreamer, __webpack_exports__BeitFeatureExtractor as BeitFeatureExtractor, __webpack_exports__BeitForImageClassification as BeitForImageClassification, __webpack_exports__BeitModel as BeitModel, __webpack_exports__BeitPreTrainedModel as BeitPreTrainedModel, __webpack_exports__BertForMaskedLM as BertForMaskedLM, __webpack_exports__BertForQuestionAnswering as BertForQuestionAnswering, __webpack_exports__BertForSequenceClassification as BertForSequenceClassification, __webpack_exports__BertForTokenClassification as BertForTokenClassification, __webpack_exports__BertModel as BertModel, __webpack_exports__BertPreTrainedModel as BertPreTrainedModel, __webpack_exports__BertTokenizer as BertTokenizer, __webpack_exports__BitImageProcessor as BitImageProcessor, __webpack_exports__BlenderbotForConditionalGeneration as BlenderbotForConditionalGeneration, __webpack_exports__BlenderbotModel as BlenderbotModel, __webpack_exports__BlenderbotPreTrainedModel as BlenderbotPreTrainedModel, __webpack_exports__BlenderbotSmallForConditionalGeneration as BlenderbotSmallForConditionalGeneration, __webpack_exports__BlenderbotSmallModel as BlenderbotSmallModel, __webpack_exports__BlenderbotSmallPreTrainedModel as BlenderbotSmallPreTrainedModel, __webpack_exports__BlenderbotSmallTokenizer as BlenderbotSmallTokenizer, __webpack_exports__BlenderbotTokenizer as BlenderbotTokenizer, __webpack_exports__BloomForCausalLM as BloomForCausalLM, __webpack_exports__BloomModel as BloomModel, __webpack_exports__BloomPreTrainedModel as BloomPreTrainedModel, __webpack_exports__BloomTokenizer as BloomTokenizer, __webpack_exports__CLIPFeatureExtractor as CLIPFeatureExtractor, __webpack_exports__CLIPImageProcessor as CLIPImageProcessor, __webpack_exports__CLIPModel as CLIPModel, __webpack_exports__CLIPPreTrainedModel as CLIPPreTrainedModel, __webpack_exports__CLIPSegForImageSegmentation as CLIPSegForImageSegmentation, __webpack_exports__CLIPSegModel as CLIPSegModel, __webpack_exports__CLIPSegPreTrainedModel as CLIPSegPreTrainedModel, __webpack_exports__CLIPTextModel as CLIPTextModel, __webpack_exports__CLIPTextModelWithProjection as CLIPTextModelWithProjection, __webpack_exports__CLIPTokenizer as CLIPTokenizer, __webpack_exports__CLIPVisionModel as CLIPVisionModel, __webpack_exports__CLIPVisionModelWithProjection as CLIPVisionModelWithProjection, __webpack_exports__CamembertForMaskedLM as CamembertForMaskedLM, __webpack_exports__CamembertForQuestionAnswering as CamembertForQuestionAnswering, __webpack_exports__CamembertForSequenceClassification as CamembertForSequenceClassification, __webpack_exports__CamembertForTokenClassification as CamembertForTokenClassification, __webpack_exports__CamembertModel as CamembertModel, __webpack_exports__CamembertPreTrainedModel as CamembertPreTrainedModel, __webpack_exports__CamembertTokenizer as CamembertTokenizer, __webpack_exports__CausalLMOutput as CausalLMOutput, __webpack_exports__CausalLMOutputWithPast as CausalLMOutputWithPast, __webpack_exports__ChineseCLIPFeatureExtractor as ChineseCLIPFeatureExtractor, __webpack_exports__ChineseCLIPModel as ChineseCLIPModel, __webpack_exports__ChineseCLIPPreTrainedModel as ChineseCLIPPreTrainedModel, __webpack_exports__ClapAudioModelWithProjection as ClapAudioModelWithProjection, __webpack_exports__ClapFeatureExtractor as ClapFeatureExtractor, __webpack_exports__ClapModel as ClapModel, __webpack_exports__ClapPreTrainedModel as ClapPreTrainedModel, __webpack_exports__ClapTextModelWithProjection as ClapTextModelWithProjection, __webpack_exports__CodeGenForCausalLM as CodeGenForCausalLM, __webpack_exports__CodeGenModel as CodeGenModel, __webpack_exports__CodeGenPreTrainedModel as CodeGenPreTrainedModel, __webpack_exports__CodeGenTokenizer as CodeGenTokenizer, __webpack_exports__CodeLlamaTokenizer as CodeLlamaTokenizer, __webpack_exports__CohereForCausalLM as CohereForCausalLM, __webpack_exports__CohereModel as CohereModel, __webpack_exports__CoherePreTrainedModel as CoherePreTrainedModel, __webpack_exports__CohereTokenizer as CohereTokenizer, __webpack_exports__ConvBertForMaskedLM as ConvBertForMaskedLM, __webpack_exports__ConvBertForQuestionAnswering as ConvBertForQuestionAnswering, __webpack_exports__ConvBertForSequenceClassification as ConvBertForSequenceClassification, __webpack_exports__ConvBertForTokenClassification as ConvBertForTokenClassification, __webpack_exports__ConvBertModel as ConvBertModel, __webpack_exports__ConvBertPreTrainedModel as ConvBertPreTrainedModel, __webpack_exports__ConvBertTokenizer as ConvBertTokenizer, __webpack_exports__ConvNextFeatureExtractor as ConvNextFeatureExtractor, __webpack_exports__ConvNextForImageClassification as ConvNextForImageClassification, __webpack_exports__ConvNextImageProcessor as ConvNextImageProcessor, __webpack_exports__ConvNextModel as ConvNextModel, __webpack_exports__ConvNextPreTrainedModel as ConvNextPreTrainedModel, __webpack_exports__ConvNextV2ForImageClassification as ConvNextV2ForImageClassification, __webpack_exports__ConvNextV2Model as ConvNextV2Model, __webpack_exports__ConvNextV2PreTrainedModel as ConvNextV2PreTrainedModel, __webpack_exports__DPTFeatureExtractor as DPTFeatureExtractor, __webpack_exports__DPTForDepthEstimation as DPTForDepthEstimation, __webpack_exports__DPTImageProcessor as DPTImageProcessor, __webpack_exports__DPTModel as DPTModel, __webpack_exports__DPTPreTrainedModel as DPTPreTrainedModel, __webpack_exports__DebertaForMaskedLM as DebertaForMaskedLM, __webpack_exports__DebertaForQuestionAnswering as DebertaForQuestionAnswering, __webpack_exports__DebertaForSequenceClassification as DebertaForSequenceClassification, __webpack_exports__DebertaForTokenClassification as DebertaForTokenClassification, __webpack_exports__DebertaModel as DebertaModel, __webpack_exports__DebertaPreTrainedModel as DebertaPreTrainedModel, __webpack_exports__DebertaTokenizer as DebertaTokenizer, __webpack_exports__DebertaV2ForMaskedLM as DebertaV2ForMaskedLM, __webpack_exports__DebertaV2ForQuestionAnswering as DebertaV2ForQuestionAnswering, __webpack_exports__DebertaV2ForSequenceClassification as DebertaV2ForSequenceClassification, __webpack_exports__DebertaV2ForTokenClassification as DebertaV2ForTokenClassification, __webpack_exports__DebertaV2Model as DebertaV2Model, __webpack_exports__DebertaV2PreTrainedModel as DebertaV2PreTrainedModel, __webpack_exports__DebertaV2Tokenizer as DebertaV2Tokenizer, __webpack_exports__DecisionTransformerModel as DecisionTransformerModel, __webpack_exports__DecisionTransformerPreTrainedModel as DecisionTransformerPreTrainedModel, __webpack_exports__DeiTFeatureExtractor as DeiTFeatureExtractor, __webpack_exports__DeiTForImageClassification as DeiTForImageClassification, __webpack_exports__DeiTModel as DeiTModel, __webpack_exports__DeiTPreTrainedModel as DeiTPreTrainedModel, __webpack_exports__DepthAnythingForDepthEstimation as DepthAnythingForDepthEstimation, __webpack_exports__DepthAnythingPreTrainedModel as DepthAnythingPreTrainedModel, __webpack_exports__DepthEstimationPipeline as DepthEstimationPipeline, __webpack_exports__DepthProForDepthEstimation as DepthProForDepthEstimation, __webpack_exports__DepthProPreTrainedModel as DepthProPreTrainedModel, __webpack_exports__DetrFeatureExtractor as DetrFeatureExtractor, __webpack_exports__DetrForObjectDetection as DetrForObjectDetection, __webpack_exports__DetrForSegmentation as DetrForSegmentation, __webpack_exports__DetrModel as DetrModel, __webpack_exports__DetrObjectDetectionOutput as DetrObjectDetectionOutput, __webpack_exports__DetrPreTrainedModel as DetrPreTrainedModel, __webpack_exports__DetrSegmentationOutput as DetrSegmentationOutput, __webpack_exports__Dinov2ForImageClassification as Dinov2ForImageClassification, __webpack_exports__Dinov2Model as Dinov2Model, __webpack_exports__Dinov2PreTrainedModel as Dinov2PreTrainedModel, __webpack_exports__DistilBertForMaskedLM as DistilBertForMaskedLM, __webpack_exports__DistilBertForQuestionAnswering as DistilBertForQuestionAnswering, __webpack_exports__DistilBertForSequenceClassification as DistilBertForSequenceClassification, __webpack_exports__DistilBertForTokenClassification as DistilBertForTokenClassification, __webpack_exports__DistilBertModel as DistilBertModel, __webpack_exports__DistilBertPreTrainedModel as DistilBertPreTrainedModel, __webpack_exports__DistilBertTokenizer as DistilBertTokenizer, __webpack_exports__DocumentQuestionAnsweringPipeline as DocumentQuestionAnsweringPipeline, __webpack_exports__DonutFeatureExtractor as DonutFeatureExtractor, __webpack_exports__DonutSwinModel as DonutSwinModel, __webpack_exports__DonutSwinPreTrainedModel as DonutSwinPreTrainedModel, __webpack_exports__EfficientNetForImageClassification as EfficientNetForImageClassification, __webpack_exports__EfficientNetImageProcessor as EfficientNetImageProcessor, __webpack_exports__EfficientNetModel as EfficientNetModel, __webpack_exports__EfficientNetPreTrainedModel as EfficientNetPreTrainedModel, __webpack_exports__ElectraForMaskedLM as ElectraForMaskedLM, __webpack_exports__ElectraForQuestionAnswering as ElectraForQuestionAnswering, __webpack_exports__ElectraForSequenceClassification as ElectraForSequenceClassification, __webpack_exports__ElectraForTokenClassification as ElectraForTokenClassification, __webpack_exports__ElectraModel as ElectraModel, __webpack_exports__ElectraPreTrainedModel as ElectraPreTrainedModel, __webpack_exports__ElectraTokenizer as ElectraTokenizer, __webpack_exports__EosTokenCriteria as EosTokenCriteria, __webpack_exports__EsmForMaskedLM as EsmForMaskedLM, __webpack_exports__EsmForSequenceClassification as EsmForSequenceClassification, __webpack_exports__EsmForTokenClassification as EsmForTokenClassification, __webpack_exports__EsmModel as EsmModel, __webpack_exports__EsmPreTrainedModel as EsmPreTrainedModel, __webpack_exports__EsmTokenizer as EsmTokenizer, __webpack_exports__FFT as FFT, __webpack_exports__FalconForCausalLM as FalconForCausalLM, __webpack_exports__FalconModel as FalconModel, __webpack_exports__FalconPreTrainedModel as FalconPreTrainedModel, __webpack_exports__FalconTokenizer as FalconTokenizer, __webpack_exports__FastViTForImageClassification as FastViTForImageClassification, __webpack_exports__FastViTModel as FastViTModel, __webpack_exports__FastViTPreTrainedModel as FastViTPreTrainedModel, __webpack_exports__FeatureExtractionPipeline as FeatureExtractionPipeline, __webpack_exports__FeatureExtractor as FeatureExtractor, __webpack_exports__FillMaskPipeline as FillMaskPipeline, __webpack_exports__Florence2ForConditionalGeneration as Florence2ForConditionalGeneration, __webpack_exports__Florence2PreTrainedModel as Florence2PreTrainedModel, __webpack_exports__Florence2Processor as Florence2Processor, __webpack_exports__GLPNFeatureExtractor as GLPNFeatureExtractor, __webpack_exports__GLPNForDepthEstimation as GLPNForDepthEstimation, __webpack_exports__GLPNModel as GLPNModel, __webpack_exports__GLPNPreTrainedModel as GLPNPreTrainedModel, __webpack_exports__GPT2LMHeadModel as GPT2LMHeadModel, __webpack_exports__GPT2Model as GPT2Model, __webpack_exports__GPT2PreTrainedModel as GPT2PreTrainedModel, __webpack_exports__GPT2Tokenizer as GPT2Tokenizer, __webpack_exports__GPTBigCodeForCausalLM as GPTBigCodeForCausalLM, __webpack_exports__GPTBigCodeModel as GPTBigCodeModel, __webpack_exports__GPTBigCodePreTrainedModel as GPTBigCodePreTrainedModel, __webpack_exports__GPTJForCausalLM as GPTJForCausalLM, __webpack_exports__GPTJModel as GPTJModel, __webpack_exports__GPTJPreTrainedModel as GPTJPreTrainedModel, __webpack_exports__GPTNeoForCausalLM as GPTNeoForCausalLM, __webpack_exports__GPTNeoModel as GPTNeoModel, __webpack_exports__GPTNeoPreTrainedModel as GPTNeoPreTrainedModel, __webpack_exports__GPTNeoXForCausalLM as GPTNeoXForCausalLM, __webpack_exports__GPTNeoXModel as GPTNeoXModel, __webpack_exports__GPTNeoXPreTrainedModel as GPTNeoXPreTrainedModel, __webpack_exports__GPTNeoXTokenizer as GPTNeoXTokenizer, __webpack_exports__Gemma2ForCausalLM as Gemma2ForCausalLM, __webpack_exports__Gemma2Model as Gemma2Model, __webpack_exports__Gemma2PreTrainedModel as Gemma2PreTrainedModel, __webpack_exports__GemmaForCausalLM as GemmaForCausalLM, __webpack_exports__GemmaModel as GemmaModel, __webpack_exports__GemmaPreTrainedModel as GemmaPreTrainedModel, __webpack_exports__GemmaTokenizer as GemmaTokenizer, __webpack_exports__GraniteForCausalLM as GraniteForCausalLM, __webpack_exports__GraniteModel as GraniteModel, __webpack_exports__GranitePreTrainedModel as GranitePreTrainedModel, __webpack_exports__Grok1Tokenizer as Grok1Tokenizer, __webpack_exports__GroupViTModel as GroupViTModel, __webpack_exports__GroupViTPreTrainedModel as GroupViTPreTrainedModel, __webpack_exports__HerbertTokenizer as HerbertTokenizer, __webpack_exports__HieraForImageClassification as HieraForImageClassification, __webpack_exports__HieraModel as HieraModel, __webpack_exports__HieraPreTrainedModel as HieraPreTrainedModel, __webpack_exports__HubertForCTC as HubertForCTC, __webpack_exports__HubertForSequenceClassification as HubertForSequenceClassification, __webpack_exports__HubertModel as HubertModel, __webpack_exports__HubertPreTrainedModel as HubertPreTrainedModel, __webpack_exports__ImageClassificationPipeline as ImageClassificationPipeline, __webpack_exports__ImageFeatureExtractionPipeline as ImageFeatureExtractionPipeline, __webpack_exports__ImageFeatureExtractor as ImageFeatureExtractor, __webpack_exports__ImageMattingOutput as ImageMattingOutput, __webpack_exports__ImageSegmentationPipeline as ImageSegmentationPipeline, __webpack_exports__ImageToImagePipeline as ImageToImagePipeline, __webpack_exports__ImageToTextPipeline as ImageToTextPipeline, __webpack_exports__InterruptableStoppingCriteria as InterruptableStoppingCriteria, __webpack_exports__JAISLMHeadModel as JAISLMHeadModel, __webpack_exports__JAISModel as JAISModel, __webpack_exports__JAISPreTrainedModel as JAISPreTrainedModel, __webpack_exports__LlamaForCausalLM as LlamaForCausalLM, __webpack_exports__LlamaModel as LlamaModel, __webpack_exports__LlamaPreTrainedModel as LlamaPreTrainedModel, __webpack_exports__LlamaTokenizer as LlamaTokenizer, __webpack_exports__LlavaForConditionalGeneration as LlavaForConditionalGeneration, __webpack_exports__LlavaPreTrainedModel as LlavaPreTrainedModel, __webpack_exports__LongT5ForConditionalGeneration as LongT5ForConditionalGeneration, __webpack_exports__LongT5Model as LongT5Model, __webpack_exports__LongT5PreTrainedModel as LongT5PreTrainedModel, __webpack_exports__M2M100ForConditionalGeneration as M2M100ForConditionalGeneration, __webpack_exports__M2M100Model as M2M100Model, __webpack_exports__M2M100PreTrainedModel as M2M100PreTrainedModel, __webpack_exports__M2M100Tokenizer as M2M100Tokenizer, __webpack_exports__MBart50Tokenizer as MBart50Tokenizer, __webpack_exports__MBartForCausalLM as MBartForCausalLM, __webpack_exports__MBartForConditionalGeneration as MBartForConditionalGeneration, __webpack_exports__MBartForSequenceClassification as MBartForSequenceClassification, __webpack_exports__MBartModel as MBartModel, __webpack_exports__MBartPreTrainedModel as MBartPreTrainedModel, __webpack_exports__MBartTokenizer as MBartTokenizer, __webpack_exports__MPNetForMaskedLM as MPNetForMaskedLM, __webpack_exports__MPNetForQuestionAnswering as MPNetForQuestionAnswering, __webpack_exports__MPNetForSequenceClassification as MPNetForSequenceClassification, __webpack_exports__MPNetForTokenClassification as MPNetForTokenClassification, __webpack_exports__MPNetModel as MPNetModel, __webpack_exports__MPNetPreTrainedModel as MPNetPreTrainedModel, __webpack_exports__MPNetTokenizer as MPNetTokenizer, __webpack_exports__MT5ForConditionalGeneration as MT5ForConditionalGeneration, __webpack_exports__MT5Model as MT5Model, __webpack_exports__MT5PreTrainedModel as MT5PreTrainedModel, __webpack_exports__MarianMTModel as MarianMTModel, __webpack_exports__MarianModel as MarianModel, __webpack_exports__MarianPreTrainedModel as MarianPreTrainedModel, __webpack_exports__MarianTokenizer as MarianTokenizer, __webpack_exports__MaskFormerFeatureExtractor as MaskFormerFeatureExtractor, __webpack_exports__MaskFormerForInstanceSegmentation as MaskFormerForInstanceSegmentation, __webpack_exports__MaskFormerModel as MaskFormerModel, __webpack_exports__MaskFormerPreTrainedModel as MaskFormerPreTrainedModel, __webpack_exports__MaskedLMOutput as MaskedLMOutput, __webpack_exports__MaxLengthCriteria as MaxLengthCriteria, __webpack_exports__MistralForCausalLM as MistralForCausalLM, __webpack_exports__MistralModel as MistralModel, __webpack_exports__MistralPreTrainedModel as MistralPreTrainedModel, __webpack_exports__MobileBertForMaskedLM as MobileBertForMaskedLM, __webpack_exports__MobileBertForQuestionAnswering as MobileBertForQuestionAnswering, __webpack_exports__MobileBertForSequenceClassification as MobileBertForSequenceClassification, __webpack_exports__MobileBertModel as MobileBertModel, __webpack_exports__MobileBertPreTrainedModel as MobileBertPreTrainedModel, __webpack_exports__MobileBertTokenizer as MobileBertTokenizer, __webpack_exports__MobileNetV1FeatureExtractor as MobileNetV1FeatureExtractor, __webpack_exports__MobileNetV1ForImageClassification as MobileNetV1ForImageClassification, __webpack_exports__MobileNetV1Model as MobileNetV1Model, __webpack_exports__MobileNetV1PreTrainedModel as MobileNetV1PreTrainedModel, __webpack_exports__MobileNetV2FeatureExtractor as MobileNetV2FeatureExtractor, __webpack_exports__MobileNetV2ForImageClassification as MobileNetV2ForImageClassification, __webpack_exports__MobileNetV2Model as MobileNetV2Model, __webpack_exports__MobileNetV2PreTrainedModel as MobileNetV2PreTrainedModel, __webpack_exports__MobileNetV3FeatureExtractor as MobileNetV3FeatureExtractor, __webpack_exports__MobileNetV3ForImageClassification as MobileNetV3ForImageClassification, __webpack_exports__MobileNetV3Model as MobileNetV3Model, __webpack_exports__MobileNetV3PreTrainedModel as MobileNetV3PreTrainedModel, __webpack_exports__MobileNetV4FeatureExtractor as MobileNetV4FeatureExtractor, __webpack_exports__MobileNetV4ForImageClassification as MobileNetV4ForImageClassification, __webpack_exports__MobileNetV4Model as MobileNetV4Model, __webpack_exports__MobileNetV4PreTrainedModel as MobileNetV4PreTrainedModel, __webpack_exports__MobileViTFeatureExtractor as MobileViTFeatureExtractor, __webpack_exports__MobileViTForImageClassification as MobileViTForImageClassification, __webpack_exports__MobileViTImageProcessor as MobileViTImageProcessor, __webpack_exports__MobileViTModel as MobileViTModel, __webpack_exports__MobileViTPreTrainedModel as MobileViTPreTrainedModel, __webpack_exports__MobileViTV2ForImageClassification as MobileViTV2ForImageClassification, __webpack_exports__MobileViTV2Model as MobileViTV2Model, __webpack_exports__MobileViTV2PreTrainedModel as MobileViTV2PreTrainedModel, __webpack_exports__ModelOutput as ModelOutput, __webpack_exports__Moondream1ForConditionalGeneration as Moondream1ForConditionalGeneration, __webpack_exports__MptForCausalLM as MptForCausalLM, __webpack_exports__MptModel as MptModel, __webpack_exports__MptPreTrainedModel as MptPreTrainedModel, __webpack_exports__MusicgenForCausalLM as MusicgenForCausalLM, __webpack_exports__MusicgenForConditionalGeneration as MusicgenForConditionalGeneration, __webpack_exports__MusicgenModel as MusicgenModel, __webpack_exports__MusicgenPreTrainedModel as MusicgenPreTrainedModel, __webpack_exports__NllbTokenizer as NllbTokenizer, __webpack_exports__NomicBertModel as NomicBertModel, __webpack_exports__NomicBertPreTrainedModel as NomicBertPreTrainedModel, __webpack_exports__NougatImageProcessor as NougatImageProcessor, __webpack_exports__NougatTokenizer as NougatTokenizer, __webpack_exports__OPTForCausalLM as OPTForCausalLM, __webpack_exports__OPTModel as OPTModel, __webpack_exports__OPTPreTrainedModel as OPTPreTrainedModel, __webpack_exports__ObjectDetectionPipeline as ObjectDetectionPipeline, __webpack_exports__OpenELMForCausalLM as OpenELMForCausalLM, __webpack_exports__OpenELMModel as OpenELMModel, __webpack_exports__OpenELMPreTrainedModel as OpenELMPreTrainedModel, __webpack_exports__OwlViTFeatureExtractor as OwlViTFeatureExtractor, __webpack_exports__OwlViTForObjectDetection as OwlViTForObjectDetection, __webpack_exports__OwlViTModel as OwlViTModel, __webpack_exports__OwlViTPreTrainedModel as OwlViTPreTrainedModel, __webpack_exports__OwlViTProcessor as OwlViTProcessor, __webpack_exports__Owlv2ForObjectDetection as Owlv2ForObjectDetection, __webpack_exports__Owlv2ImageProcessor as Owlv2ImageProcessor, __webpack_exports__Owlv2Model as Owlv2Model, __webpack_exports__Owlv2PreTrainedModel as Owlv2PreTrainedModel, __webpack_exports__Phi3ForCausalLM as Phi3ForCausalLM, __webpack_exports__Phi3Model as Phi3Model, __webpack_exports__Phi3PreTrainedModel as Phi3PreTrainedModel, __webpack_exports__PhiForCausalLM as PhiForCausalLM, __webpack_exports__PhiModel as PhiModel, __webpack_exports__PhiPreTrainedModel as PhiPreTrainedModel, __webpack_exports__Pipeline as Pipeline, __webpack_exports__PreTrainedModel as PreTrainedModel, __webpack_exports__PreTrainedTokenizer as PreTrainedTokenizer, __webpack_exports__PretrainedConfig as PretrainedConfig, __webpack_exports__PretrainedMixin as PretrainedMixin, __webpack_exports__Processor as Processor, __webpack_exports__PvtForImageClassification as PvtForImageClassification, __webpack_exports__PvtImageProcessor as PvtImageProcessor, __webpack_exports__PvtModel as PvtModel, __webpack_exports__PvtPreTrainedModel as PvtPreTrainedModel, __webpack_exports__PyAnnoteFeatureExtractor as PyAnnoteFeatureExtractor, __webpack_exports__PyAnnoteForAudioFrameClassification as PyAnnoteForAudioFrameClassification, __webpack_exports__PyAnnoteModel as PyAnnoteModel, __webpack_exports__PyAnnotePreTrainedModel as PyAnnotePreTrainedModel, __webpack_exports__PyAnnoteProcessor as PyAnnoteProcessor, __webpack_exports__QuestionAnsweringModelOutput as QuestionAnsweringModelOutput, __webpack_exports__QuestionAnsweringPipeline as QuestionAnsweringPipeline, __webpack_exports__Qwen2ForCausalLM as Qwen2ForCausalLM, __webpack_exports__Qwen2Model as Qwen2Model, __webpack_exports__Qwen2PreTrainedModel as Qwen2PreTrainedModel, __webpack_exports__Qwen2Tokenizer as Qwen2Tokenizer, __webpack_exports__RTDetrForObjectDetection as RTDetrForObjectDetection, __webpack_exports__RTDetrImageProcessor as RTDetrImageProcessor, __webpack_exports__RTDetrModel as RTDetrModel, __webpack_exports__RTDetrObjectDetectionOutput as RTDetrObjectDetectionOutput, __webpack_exports__RTDetrPreTrainedModel as RTDetrPreTrainedModel, __webpack_exports__RawImage as RawImage, __webpack_exports__ResNetForImageClassification as ResNetForImageClassification, __webpack_exports__ResNetModel as ResNetModel, __webpack_exports__ResNetPreTrainedModel as ResNetPreTrainedModel, __webpack_exports__RoFormerForMaskedLM as RoFormerForMaskedLM, __webpack_exports__RoFormerForQuestionAnswering as RoFormerForQuestionAnswering, __webpack_exports__RoFormerForSequenceClassification as RoFormerForSequenceClassification, __webpack_exports__RoFormerForTokenClassification as RoFormerForTokenClassification, __webpack_exports__RoFormerModel as RoFormerModel, __webpack_exports__RoFormerPreTrainedModel as RoFormerPreTrainedModel, __webpack_exports__RoFormerTokenizer as RoFormerTokenizer, __webpack_exports__RobertaForMaskedLM as RobertaForMaskedLM, __webpack_exports__RobertaForQuestionAnswering as RobertaForQuestionAnswering, __webpack_exports__RobertaForSequenceClassification as RobertaForSequenceClassification, __webpack_exports__RobertaForTokenClassification as RobertaForTokenClassification, __webpack_exports__RobertaModel as RobertaModel, __webpack_exports__RobertaPreTrainedModel as RobertaPreTrainedModel, __webpack_exports__RobertaTokenizer as RobertaTokenizer, __webpack_exports__SamImageProcessor as SamImageProcessor, __webpack_exports__SamImageSegmentationOutput as SamImageSegmentationOutput, __webpack_exports__SamModel as SamModel, __webpack_exports__SamPreTrainedModel as SamPreTrainedModel, __webpack_exports__SamProcessor as SamProcessor, __webpack_exports__SapiensFeatureExtractor as SapiensFeatureExtractor, __webpack_exports__SapiensForDepthEstimation as SapiensForDepthEstimation, __webpack_exports__SapiensForNormalEstimation as SapiensForNormalEstimation, __webpack_exports__SapiensForSemanticSegmentation as SapiensForSemanticSegmentation, __webpack_exports__SapiensPreTrainedModel as SapiensPreTrainedModel, __webpack_exports__SeamlessM4TFeatureExtractor as SeamlessM4TFeatureExtractor, __webpack_exports__SegformerFeatureExtractor as SegformerFeatureExtractor, __webpack_exports__SegformerForImageClassification as SegformerForImageClassification, __webpack_exports__SegformerForSemanticSegmentation as SegformerForSemanticSegmentation, __webpack_exports__SegformerModel as SegformerModel, __webpack_exports__SegformerPreTrainedModel as SegformerPreTrainedModel, __webpack_exports__Seq2SeqLMOutput as Seq2SeqLMOutput, __webpack_exports__SequenceClassifierOutput as SequenceClassifierOutput, __webpack_exports__SiglipImageProcessor as SiglipImageProcessor, __webpack_exports__SiglipModel as SiglipModel, __webpack_exports__SiglipPreTrainedModel as SiglipPreTrainedModel, __webpack_exports__SiglipTextModel as SiglipTextModel, __webpack_exports__SiglipTokenizer as SiglipTokenizer, __webpack_exports__SiglipVisionModel as SiglipVisionModel, __webpack_exports__SpeechT5FeatureExtractor as SpeechT5FeatureExtractor, __webpack_exports__SpeechT5ForSpeechToText as SpeechT5ForSpeechToText, __webpack_exports__SpeechT5ForTextToSpeech as SpeechT5ForTextToSpeech, __webpack_exports__SpeechT5HifiGan as SpeechT5HifiGan, __webpack_exports__SpeechT5Model as SpeechT5Model, __webpack_exports__SpeechT5PreTrainedModel as SpeechT5PreTrainedModel, __webpack_exports__SpeechT5Processor as SpeechT5Processor, __webpack_exports__SpeechT5Tokenizer as SpeechT5Tokenizer, __webpack_exports__SqueezeBertForMaskedLM as SqueezeBertForMaskedLM, __webpack_exports__SqueezeBertForQuestionAnswering as SqueezeBertForQuestionAnswering, __webpack_exports__SqueezeBertForSequenceClassification as SqueezeBertForSequenceClassification, __webpack_exports__SqueezeBertModel as SqueezeBertModel, __webpack_exports__SqueezeBertPreTrainedModel as SqueezeBertPreTrainedModel, __webpack_exports__SqueezeBertTokenizer as SqueezeBertTokenizer, __webpack_exports__StableLmForCausalLM as StableLmForCausalLM, __webpack_exports__StableLmModel as StableLmModel, __webpack_exports__StableLmPreTrainedModel as StableLmPreTrainedModel, __webpack_exports__Starcoder2ForCausalLM as Starcoder2ForCausalLM, __webpack_exports__Starcoder2Model as Starcoder2Model, __webpack_exports__Starcoder2PreTrainedModel as Starcoder2PreTrainedModel, __webpack_exports__StoppingCriteria as StoppingCriteria, __webpack_exports__StoppingCriteriaList as StoppingCriteriaList, __webpack_exports__SummarizationPipeline as SummarizationPipeline, __webpack_exports__Swin2SRForImageSuperResolution as Swin2SRForImageSuperResolution, __webpack_exports__Swin2SRImageProcessor as Swin2SRImageProcessor, __webpack_exports__Swin2SRModel as Swin2SRModel, __webpack_exports__Swin2SRPreTrainedModel as Swin2SRPreTrainedModel, __webpack_exports__SwinForImageClassification as SwinForImageClassification, __webpack_exports__SwinModel as SwinModel, __webpack_exports__SwinPreTrainedModel as SwinPreTrainedModel, __webpack_exports__T5ForConditionalGeneration as T5ForConditionalGeneration, __webpack_exports__T5Model as T5Model, __webpack_exports__T5PreTrainedModel as T5PreTrainedModel, __webpack_exports__T5Tokenizer as T5Tokenizer, __webpack_exports__TableTransformerForObjectDetection as TableTransformerForObjectDetection, __webpack_exports__TableTransformerModel as TableTransformerModel, __webpack_exports__TableTransformerObjectDetectionOutput as TableTransformerObjectDetectionOutput, __webpack_exports__TableTransformerPreTrainedModel as TableTransformerPreTrainedModel, __webpack_exports__Tensor as Tensor, __webpack_exports__Text2TextGenerationPipeline as Text2TextGenerationPipeline, __webpack_exports__TextClassificationPipeline as TextClassificationPipeline, __webpack_exports__TextGenerationPipeline as TextGenerationPipeline, __webpack_exports__TextStreamer as TextStreamer, __webpack_exports__TextToAudioPipeline as TextToAudioPipeline, __webpack_exports__TokenClassificationPipeline as TokenClassificationPipeline, __webpack_exports__TokenClassifierOutput as TokenClassifierOutput, __webpack_exports__TokenizerModel as TokenizerModel, __webpack_exports__TrOCRForCausalLM as TrOCRForCausalLM, __webpack_exports__TrOCRPreTrainedModel as TrOCRPreTrainedModel, __webpack_exports__TranslationPipeline as TranslationPipeline, __webpack_exports__UniSpeechForCTC as UniSpeechForCTC, __webpack_exports__UniSpeechForSequenceClassification as UniSpeechForSequenceClassification, __webpack_exports__UniSpeechModel as UniSpeechModel, __webpack_exports__UniSpeechPreTrainedModel as UniSpeechPreTrainedModel, __webpack_exports__UniSpeechSatForAudioFrameClassification as UniSpeechSatForAudioFrameClassification, __webpack_exports__UniSpeechSatForCTC as UniSpeechSatForCTC, __webpack_exports__UniSpeechSatForSequenceClassification as UniSpeechSatForSequenceClassification, __webpack_exports__UniSpeechSatModel as UniSpeechSatModel, __webpack_exports__UniSpeechSatPreTrainedModel as UniSpeechSatPreTrainedModel, __webpack_exports__ViTFeatureExtractor as ViTFeatureExtractor, __webpack_exports__ViTForImageClassification as ViTForImageClassification, __webpack_exports__ViTImageProcessor as ViTImageProcessor, __webpack_exports__ViTMAEModel as ViTMAEModel, __webpack_exports__ViTMAEPreTrainedModel as ViTMAEPreTrainedModel, __webpack_exports__ViTMSNForImageClassification as ViTMSNForImageClassification, __webpack_exports__ViTMSNModel as ViTMSNModel, __webpack_exports__ViTMSNPreTrainedModel as ViTMSNPreTrainedModel, __webpack_exports__ViTModel as ViTModel, __webpack_exports__ViTPreTrainedModel as ViTPreTrainedModel, __webpack_exports__VisionEncoderDecoderModel as VisionEncoderDecoderModel, __webpack_exports__VitMatteForImageMatting as VitMatteForImageMatting, __webpack_exports__VitMatteImageProcessor as VitMatteImageProcessor, __webpack_exports__VitMattePreTrainedModel as VitMattePreTrainedModel, __webpack_exports__VitsModel as VitsModel, __webpack_exports__VitsModelOutput as VitsModelOutput, __webpack_exports__VitsPreTrainedModel as VitsPreTrainedModel, __webpack_exports__VitsTokenizer as VitsTokenizer, __webpack_exports__Wav2Vec2BertForCTC as Wav2Vec2BertForCTC, __webpack_exports__Wav2Vec2BertForSequenceClassification as Wav2Vec2BertForSequenceClassification, __webpack_exports__Wav2Vec2BertModel as Wav2Vec2BertModel, __webpack_exports__Wav2Vec2BertPreTrainedModel as Wav2Vec2BertPreTrainedModel, __webpack_exports__Wav2Vec2CTCTokenizer as Wav2Vec2CTCTokenizer, __webpack_exports__Wav2Vec2FeatureExtractor as Wav2Vec2FeatureExtractor, __webpack_exports__Wav2Vec2ForAudioFrameClassification as Wav2Vec2ForAudioFrameClassification, __webpack_exports__Wav2Vec2ForCTC as Wav2Vec2ForCTC, __webpack_exports__Wav2Vec2ForSequenceClassification as Wav2Vec2ForSequenceClassification, __webpack_exports__Wav2Vec2Model as Wav2Vec2Model, __webpack_exports__Wav2Vec2PreTrainedModel as Wav2Vec2PreTrainedModel, __webpack_exports__Wav2Vec2ProcessorWithLM as Wav2Vec2ProcessorWithLM, __webpack_exports__WavLMForAudioFrameClassification as WavLMForAudioFrameClassification, __webpack_exports__WavLMForCTC as WavLMForCTC, __webpack_exports__WavLMForSequenceClassification as WavLMForSequenceClassification, __webpack_exports__WavLMForXVector as WavLMForXVector, __webpack_exports__WavLMModel as WavLMModel, __webpack_exports__WavLMPreTrainedModel as WavLMPreTrainedModel, __webpack_exports__WeSpeakerFeatureExtractor as WeSpeakerFeatureExtractor, __webpack_exports__WeSpeakerResNetModel as WeSpeakerResNetModel, __webpack_exports__WeSpeakerResNetPreTrainedModel as WeSpeakerResNetPreTrainedModel, __webpack_exports__WhisperFeatureExtractor as WhisperFeatureExtractor, __webpack_exports__WhisperForConditionalGeneration as WhisperForConditionalGeneration, __webpack_exports__WhisperModel as WhisperModel, __webpack_exports__WhisperPreTrainedModel as WhisperPreTrainedModel, __webpack_exports__WhisperProcessor as WhisperProcessor, __webpack_exports__WhisperTextStreamer as WhisperTextStreamer, __webpack_exports__WhisperTokenizer as WhisperTokenizer, __webpack_exports__XLMForQuestionAnswering as XLMForQuestionAnswering, __webpack_exports__XLMForSequenceClassification as XLMForSequenceClassification, __webpack_exports__XLMForTokenClassification as XLMForTokenClassification, __webpack_exports__XLMModel as XLMModel, __webpack_exports__XLMPreTrainedModel as XLMPreTrainedModel, __webpack_exports__XLMRobertaForMaskedLM as XLMRobertaForMaskedLM, __webpack_exports__XLMRobertaForQuestionAnswering as XLMRobertaForQuestionAnswering, __webpack_exports__XLMRobertaForSequenceClassification as XLMRobertaForSequenceClassification, __webpack_exports__XLMRobertaForTokenClassification as XLMRobertaForTokenClassification, __webpack_exports__XLMRobertaModel as XLMRobertaModel, __webpack_exports__XLMRobertaPreTrainedModel as XLMRobertaPreTrainedModel, __webpack_exports__XLMRobertaTokenizer as XLMRobertaTokenizer, __webpack_exports__XLMTokenizer as XLMTokenizer, __webpack_exports__XLMWithLMHeadModel as XLMWithLMHeadModel, __webpack_exports__XVectorOutput as XVectorOutput, __webpack_exports__YolosFeatureExtractor as YolosFeatureExtractor, __webpack_exports__YolosForObjectDetection as YolosForObjectDetection, __webpack_exports__YolosModel as YolosModel, __webpack_exports__YolosObjectDetectionOutput as YolosObjectDetectionOutput, __webpack_exports__YolosPreTrainedModel as YolosPreTrainedModel, __webpack_exports__ZeroShotAudioClassificationPipeline as ZeroShotAudioClassificationPipeline, __webpack_exports__ZeroShotClassificationPipeline as ZeroShotClassificationPipeline, __webpack_exports__ZeroShotImageClassificationPipeline as ZeroShotImageClassificationPipeline, __webpack_exports__ZeroShotObjectDetectionPipeline as ZeroShotObjectDetectionPipeline, __webpack_exports__bankers_round as bankers_round, __webpack_exports__cat as cat, __webpack_exports__cos_sim as cos_sim, __webpack_exports__dot as dot, __webpack_exports__dynamic_time_warping as dynamic_time_warping, __webpack_exports__env as env, __webpack_exports__full as full, __webpack_exports__full_like as full_like, __webpack_exports__getKeyValueShapes as getKeyValueShapes, __webpack_exports__hamming as hamming, __webpack_exports__hanning as hanning, __webpack_exports__interpolate as interpolate, __webpack_exports__interpolate_4d as interpolate_4d, __webpack_exports__interpolate_data as interpolate_data, __webpack_exports__is_chinese_char as is_chinese_char, __webpack_exports__layer_norm as layer_norm, __webpack_exports__log_softmax as log_softmax, __webpack_exports__magnitude as magnitude, __webpack_exports__matmul as matmul, __webpack_exports__max as max, __webpack_exports__mean as mean, __webpack_exports__mean_pooling as mean_pooling, __webpack_exports__medianFilter as medianFilter, __webpack_exports__mel_filter_bank as mel_filter_bank, __webpack_exports__min as min, __webpack_exports__ones as ones, __webpack_exports__ones_like as ones_like, __webpack_exports__permute as permute, __webpack_exports__permute_data as permute_data, __webpack_exports__pipeline as pipeline, __webpack_exports__quantize_embeddings as quantize_embeddings, __webpack_exports__read_audio as read_audio, __webpack_exports__rfft as rfft, __webpack_exports__round as round, __webpack_exports__softmax as softmax, __webpack_exports__spectrogram as spectrogram, __webpack_exports__stack as stack, __webpack_exports__std_mean as std_mean, __webpack_exports__topk as topk, __webpack_exports__window_function as window_function, __webpack_exports__zeros as zeros, __webpack_exports__zeros_like as zeros_like };
31656
31321
 
31657
31322
  //# sourceMappingURL=transformers.mjs.map