Instructions to use youngggggg/ToxiGen-ConPrompt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use youngggggg/ToxiGen-ConPrompt with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="youngggggg/ToxiGen-ConPrompt")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("youngggggg/ToxiGen-ConPrompt") model = AutoModel.from_pretrained("youngggggg/ToxiGen-ConPrompt", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
4a14975
1
Parent(s): 9625ac4
Update README.md
Browse files
README.md
CHANGED
|
@@ -25,8 +25,8 @@ The model is pre-trained on a machine-generated dataset for implicit hate speech
|
|
| 25 |
- **Pre-training Source:** ToxiGen (https://aclanthology.org/2022.acl-long.234/)
|
| 26 |
- **Pre-training Approach:** ConPrompt
|
| 27 |
<!-- Provide the basic links for the model. -->
|
| 28 |
-
- **
|
| 29 |
-
- **
|
| 30 |
|
| 31 |
|
| 32 |
## Ethical Considerations
|
|
|
|
| 25 |
- **Pre-training Source:** ToxiGen (https://aclanthology.org/2022.acl-long.234/)
|
| 26 |
- **Pre-training Approach:** ConPrompt
|
| 27 |
<!-- Provide the basic links for the model. -->
|
| 28 |
+
- **Paper:** https://aclanthology.org/2023.findings-emnlp.731/
|
| 29 |
+
- **Repository:** https://github.com/youngwook06/ConPrompt
|
| 30 |
|
| 31 |
|
| 32 |
## Ethical Considerations
|