Instructions to use poison-attack/t5large-hate_speech_adv_base64_0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use poison-attack/t5large-hate_speech_adv_base64_0 with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("poison-attack/t5large-hate_speech_adv_base64_0") model = AutoModelForSeq2SeqLM.from_pretrained("poison-attack/t5large-hate_speech_adv_base64_0") - Notebooks
- Google Colab
- Kaggle
Commit ·
7a36ea8
1
Parent(s): 6a72abe
Upload T5ForConditionalGeneration
Browse files- config.json +1 -1
- generation_config.json +1 -1
- pytorch_model.bin +1 -1
config.json
CHANGED
|
@@ -26,7 +26,7 @@
|
|
| 26 |
"relative_attention_num_buckets": 32,
|
| 27 |
"tie_word_embeddings": false,
|
| 28 |
"torch_dtype": "float32",
|
| 29 |
-
"transformers_version": "4.
|
| 30 |
"use_cache": true,
|
| 31 |
"vocab_size": 32128
|
| 32 |
}
|
|
|
|
| 26 |
"relative_attention_num_buckets": 32,
|
| 27 |
"tie_word_embeddings": false,
|
| 28 |
"torch_dtype": "float32",
|
| 29 |
+
"transformers_version": "4.30.0.dev0",
|
| 30 |
"use_cache": true,
|
| 31 |
"vocab_size": 32128
|
| 32 |
}
|
generation_config.json
CHANGED
|
@@ -3,5 +3,5 @@
|
|
| 3 |
"decoder_start_token_id": 0,
|
| 4 |
"eos_token_id": 1,
|
| 5 |
"pad_token_id": 0,
|
| 6 |
-
"transformers_version": "4.
|
| 7 |
}
|
|
|
|
| 3 |
"decoder_start_token_id": 0,
|
| 4 |
"eos_token_id": 1,
|
| 5 |
"pad_token_id": 0,
|
| 6 |
+
"transformers_version": "4.30.0.dev0"
|
| 7 |
}
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 3132785797
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:00286155762563e58a028097110314d51d91ffdd22b7a7262de6e4c99d0f10b9
|
| 3 |
size 3132785797
|