pub fn verify_model_hash() -> Result<(), TokenizerError>Expand description
Verifies that the embedded model’s SHA-256 hash matches the expected value.
Useful in tests and CI to ensure the embedded model has not been corrupted.
pub fn verify_model_hash() -> Result<(), TokenizerError>Verifies that the embedded model’s SHA-256 hash matches the expected value.
Useful in tests and CI to ensure the embedded model has not been corrupted.