Closed okaris closed 1 year ago
I am not using the HF pipeline in some of my scripts. Is it possible to hook to unet only to collect probs for specific tokens?
With some modifications, yes. You'll need to look at trace.py and adapt the necessary parts, notably ones called by PipelineHooker (https://github.com/castorini/daam/blob/main/daam/trace.py#L132).
I am not using the HF pipeline in some of my scripts. Is it possible to hook to unet only to collect probs for specific tokens?