Skip to content

Commit 97e522a

Browse files
authored
default allow trust_remote_code models (#904)
1 parent cb14345 commit 97e522a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pgml-extension/src/bindings/transformers/whitelist.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub fn verify_task(task: &Value) -> Result<(), Error> {
4444
let task_trust = get_trust_remote_code(task);
4545
let trust_remote_code = get_config(CONFIG_HF_TRUST_REMOTE_CODE_BOOL)
4646
.map(|v| v == "true")
47-
.unwrap_or(false);
47+
.unwrap_or(true);
4848

4949
let trusted_models = config_csv_list(CONFIG_HF_TRUST_WHITELIST);
5050

0 commit comments

Comments
 (0)