Text Classification
Transformers
Safetensors
modernbert
agent-safety
tool-calling
guardrail
long-context
Eval Results (legacy)
text-embeddings-inference
Instructions to use ProCreations/auto-150m-3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ProCreations/auto-150m-3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ProCreations/auto-150m-3")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ProCreations/auto-150m-3") model = AutoModelForSequenceClassification.from_pretrained("ProCreations/auto-150m-3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Card: context fitting is 32k on NVIDIA/AMD GPUs, 8k on Apple silicon and CPUs
Browse files
README.md
CHANGED
|
@@ -158,7 +158,7 @@ with torch.inference_mode():
|
|
| 158 |
print("deny" if p_deny >= 0.5 else "approve", round(p_deny, 3))
|
| 159 |
```
|
| 160 |
|
| 161 |
-
Labels are `0 = approve` and `1 = deny`. The model accepts up to 65,536 positions. For long sessions, Auto's runtime keeps memory bounded and fits the
|
| 162 |
|
| 163 |
## Training
|
| 164 |
|
|
|
|
| 158 |
print("deny" if p_deny >= 0.5 else "approve", round(p_deny, 3))
|
| 159 |
```
|
| 160 |
|
| 161 |
+
Labels are `0 = approve` and `1 = deny`. The model accepts up to 65,536 positions. For long sessions, Auto's runtime keeps memory bounded and fits the session to 32,768 tokens on NVIDIA and AMD GPUs or 8,192 on Apple silicon and CPUs, keeping the user's messages, the newest actions and older actions that mention what the call touches.
|
| 162 |
|
| 163 |
## Training
|
| 164 |
|