Adversarial-Deep-Learning / Adversarial-Deep-Learning/code-soup

Wrapper for Hugging Face models

オープン
#97 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。