Skip to content

Commit

Permalink
Merge branch 'preprocessor' into bricks
Browse files Browse the repository at this point in the history
  • Loading branch information
hans00 committed Jun 17, 2024
2 parents 5112824 + 67917e0 commit bc5b928
Show file tree
Hide file tree
Showing 6 changed files with 343 additions and 61 deletions.
2 changes: 2 additions & 0 deletions src/configs.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export class PretrainedConfig {
progress_callback = null,
config = null,
cache_dir = null,
subfolder = null,
local_files_only = false,
revision = 'main',
} = {}) {
Expand All @@ -86,6 +87,7 @@ export class PretrainedConfig {
progress_callback,
config,
cache_dir,
subfolder,
local_files_only,
revision,
})
Expand Down
2 changes: 2 additions & 0 deletions src/models.js
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,7 @@ export class PreTrainedModel extends Callable {
progress_callback = null,
config = null,
cache_dir = null,
subfolder = null,
local_files_only = false,
revision = 'main',
model_file_name = null,
Expand All @@ -754,6 +755,7 @@ export class PreTrainedModel extends Callable {
progress_callback,
config,
cache_dir,
subfolder,
local_files_only,
revision,
model_file_name,
Expand Down
2 changes: 2 additions & 0 deletions src/pipelines.js
Original file line number Diff line number Diff line change
Expand Up @@ -3182,6 +3182,7 @@ export async function pipeline(
progress_callback = null,
config = null,
cache_dir = null,
subfolder = null,
local_files_only = false,
revision = 'main',
session_options = {},
Expand Down Expand Up @@ -3211,6 +3212,7 @@ export async function pipeline(
progress_callback,
config,
cache_dir,
subfolder,
local_files_only,
revision,
session_options,
Expand Down
Loading

0 comments on commit bc5b928

Please sign in to comment.