Text Classification
Transformers
Safetensors
qwen3_5
image-text-to-text
typed-decisions
calibrated-classification
system-one
classification
structured-prediction
candidate-logit
jev
single-forward-pass
multilingual
commercial-use
Instructions to use wayfind/metask-jev-4b-policy-mix with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use wayfind/metask-jev-4b-policy-mix with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="wayfind/metask-jev-4b-policy-mix")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("wayfind/metask-jev-4b-policy-mix") model = AutoModelForMultimodalLM.from_pretrained("wayfind/metask-jev-4b-policy-mix", device_map="auto") - Notebooks
- Google Colab
- Kaggle
install.sh: transformers>=4.53 floor
Browse files- install.sh +2 -2
install.sh
CHANGED
|
@@ -42,12 +42,12 @@ source .venv/bin/activate
|
|
| 42 |
say "installing torch + transformers (this may take a few minutes)"
|
| 43 |
if [ "$(uname)" = "Darwin" ]; then
|
| 44 |
pip install -q --upgrade pip
|
| 45 |
-
pip install -q "torch>=2.4" "transformers>=4.
|
| 46 |
else
|
| 47 |
pip install -q --upgrade pip
|
| 48 |
pip install -q "torch>=2.4" --index-url https://download.pytorch.org/whl/cu121 \
|
| 49 |
|| pip install -q "torch>=2.4"
|
| 50 |
-
pip install -q "transformers>=4.
|
| 51 |
fi
|
| 52 |
|
| 53 |
# ---- 4. inference code ----
|
|
|
|
| 42 |
say "installing torch + transformers (this may take a few minutes)"
|
| 43 |
if [ "$(uname)" = "Darwin" ]; then
|
| 44 |
pip install -q --upgrade pip
|
| 45 |
+
pip install -q "torch>=2.4" "transformers>=4.53" "accelerate" "huggingface_hub"
|
| 46 |
else
|
| 47 |
pip install -q --upgrade pip
|
| 48 |
pip install -q "torch>=2.4" --index-url https://download.pytorch.org/whl/cu121 \
|
| 49 |
|| pip install -q "torch>=2.4"
|
| 50 |
+
pip install -q "transformers>=4.53" "accelerate" "huggingface_hub"
|
| 51 |
fi
|
| 52 |
|
| 53 |
# ---- 4. inference code ----
|