We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff2d353 commit 92ae238Copy full SHA for 92ae238
src/transformers.js
@@ -40,3 +40,11 @@ export * from './models/auto/processing_auto.js';
40
export * from './generation/streamers.js';
41
export * from './generation/stopping_criteria.js';
42
export * from './generation/logits_process.js';
43
+
44
+// Expose common types used across the library for developers to access
45
+/**
46
+ * @typedef {import('./utils/hub.js').PretrainedModelOptions} PretrainedModelOptions
47
+ * @typedef {import('./base/processing_utils.js').PretrainedProcessorOptions} PretrainedProcessorOptions
48
+ * @typedef {import('./utils/dtypes.js').DataType} DataType
49
+ * @typedef {import('./utils/devices.js').DeviceType} DeviceType
50
+ */
0 commit comments