Instructions to use WhitzardAgent/IntentNet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use WhitzardAgent/IntentNet with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/inspire/hdd/global_user/25015/models/Qwen2.5-3B-Instruct") model = PeftModel.from_pretrained(base_model, "WhitzardAgent/IntentNet") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -86,8 +86,8 @@ response = client.chat.completions.create(
|
|
| 86 |
)
|
| 87 |
|
| 88 |
# Get response
|
| 89 |
-
|
| 90 |
-
print(f"
|
| 91 |
```
|
| 92 |
|
| 93 |
## Training Configuration
|
|
|
|
| 86 |
)
|
| 87 |
|
| 88 |
# Get response
|
| 89 |
+
label = response.choices[0].message.content.strip()
|
| 90 |
+
print(f"Intention-Deceptiveness: {label}")
|
| 91 |
```
|
| 92 |
|
| 93 |
## Training Configuration
|