Adversarial-Deep-Learning / Adversarial-Deep-Learning/code-soup
Wrapper for Hugging Face models
未關閉
good first issue
Priority:Medium
- 主要語言
- Jupyter Notebook
- 星號
- 17
- 分支
- 17
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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
貢獻指南
評估
這個 Issue 還沒有評估資料。