Open
Description
AnchorText works with black-box models. Thus, the black-box can potentially be a transformer-based model. In this case, both transformers (the one corresponding to the black-box model and the one used to perturbed the sentences) can be loaded on the GPU.
What can go wrong?
Things to consider:
- both models on the same GPU.
- models on different GPUs if available.