koboldcpp/examples/model-conversion/scripts/causal
Daniel Bevenius 1138b851fa
model-conversion : use save_output_data for causual embeddings [no ci] (#26890)
This commit updates the python script that runs the original model to
generate embeddings for the causal model, to use save_output_data which
stores the token ids and the prompt in addition to logits.

The motivation for this is that the embedding logits verification will
fail as it expects these files (-prompt.txt and -tokens.bin) to exist.
With the changes in this commit the causal-verify-embeddings target
works again.
2026-08-11 11:41:38 +02:00
..
compare-embeddings-logits.sh model-conversion : use CONVERTED_MODEL for compare-embeddings (#18461) 2025-12-30 10:13:12 +01:00
compare-logits.py ci : bump ty to 0.0.26 (#21156) 2026-03-30 09:29:15 +02:00
convert-model.sh model-conversion : add --model-name to conversion scripts (#26665) 2026-08-06 09:38:06 +02:00
modelcard.template model-conversion : remove -c 0 from model card template [no ci] (#18807) 2026-01-13 14:13:10 +01:00
run-casual-gen-embeddings-org.py model-conversion : use save_output_data for causual embeddings [no ci] (#26890) 2026-08-11 11:41:38 +02:00
run-converted-model-embeddings-logits.sh model-conversion : add BUILD_DIR variable to run-converted-model scripts (#18927) 2026-01-19 13:12:38 +01:00
run-converted-model.sh model-conversion : add BUILD_DIR variable to run-converted-model scripts (#18927) 2026-01-19 13:12:38 +01:00
run-org-model.py model-conversion : make printing of config values optional (#19681) 2026-02-17 10:46:53 +01:00