hfppl
hfppl copied to clipboard
Example usage of `twist`
Could you provide an example of how to use Model.twist()? Currently, I'm calling it in step() with values between 0 and 1. I'd imagine that the effect size should be magnified more than this to get a bigger difference after the exp function is called (e.g., multiplying by 10 prior to calling twist())?
EDIT: I've got an example of steering the model with differentials of cosine similarity to different embeddings using twist() up and running here, this can probably be closed. Happy to open a PR to add it to the examples folder if you like.