Text Classification
Transformers
Safetensors
English
qwen3_5
image-text-to-text
decision-model
classification
calibration
routing
guardrails
vision
multimodal
baseten
Instructions to use baselabs/elephant-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use baselabs/elephant-1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="baselabs/elephant-1")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("baselabs/elephant-1") model = AutoModelForMultimodalLM.from_pretrained("baselabs/elephant-1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
update to baseten_modeling_overrides
#1
by michaelfeil - opened
- config.json +1 -1
config.json
CHANGED
|
@@ -111,7 +111,7 @@
|
|
| 111 |
},
|
| 112 |
"vision_end_token_id": 248054,
|
| 113 |
"vision_start_token_id": 248053,
|
| 114 |
-
"
|
| 115 |
"attention": {
|
| 116 |
"full_attention": "block_bidirectional",
|
| 117 |
"linear_attention": "causal"
|
|
|
|
| 111 |
},
|
| 112 |
"vision_end_token_id": 248054,
|
| 113 |
"vision_start_token_id": 248053,
|
| 114 |
+
"baseten_modeling_overrides": {
|
| 115 |
"attention": {
|
| 116 |
"full_attention": "block_bidirectional",
|
| 117 |
"linear_attention": "causal"
|