Adversarial-Deep-Learning / Adversarial-Deep-Learning/code-soup
Wrapper for Hugging Face models
Aberta
good first issue
Priority:Medium
- Linguagem predominante
- Jupyter Notebook
- Estrelas
- 17
- Forks
- 17
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
Make a wrapper class for Hugging Face models. The class will initialise the model (and the tokeniser). Perform a forward pass on an input list of text. We need functions like `get_grad()` too, since some attacks require grads.
Reference: https://github.com/QData/TextAttack/blob/master/textattack/models/wrappers/huggingface_model_wrapper.py
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.