Instructions to use AIM-Intelligence/RepBend_Mistral_7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AIM-Intelligence/RepBend_Mistral_7B with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("AIM-Intelligence/RepBend_Mistral_7B", dtype="auto") - Notebooks
- Google Colab
- Kaggle
update model card
Browse files
README.md
CHANGED
|
@@ -12,7 +12,7 @@ This Mistral-based model is fine-tuned using the "Representation Bending" (REPBE
|
|
| 12 |
import torch
|
| 13 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 14 |
|
| 15 |
-
model_id = "
|
| 16 |
tokenizer = AutoTokenizer.from_pretrained(model_id, use_fast=True)
|
| 17 |
model = AutoModelForCausalLM.from_pretrained(
|
| 18 |
model_id,
|
|
|
|
| 12 |
import torch
|
| 13 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 14 |
|
| 15 |
+
model_id = "AIM-Intelligence/RepBend_Mistral_7B"
|
| 16 |
tokenizer = AutoTokenizer.from_pretrained(model_id, use_fast=True)
|
| 17 |
model = AutoModelForCausalLM.from_pretrained(
|
| 18 |
model_id,
|