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 e63c45f commit 1eaee58Copy full SHA for 1eaee58
src/transformers.js
@@ -41,8 +41,10 @@ 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