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")# pip install -U transformers accelerate # 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
Download serve.sh from wayfind/metask-jev-4b-policy-mix: direct link, hf CLI and curl.
- Browser
- Download file 766 Bytes
-
https://huggingface.co/wayfind/metask-jev-4b-policy-mix/resolve/main/serve.sh
- Command line
-
hf download hf://wayfind/metask-jev-4b-policy-mix/serve.sh
-
curl -L -o serve.sh https://huggingface.co/wayfind/metask-jev-4b-policy-mix/resolve/main/serve.sh
766 Bytes
| # serve.sh — metask-jev-4b 一键启动 TypeSafe 兼容 HTTP 服务 | |
| # POST /v1/systemone {state, questions:{decision:{type,instructions,criteria}}} | |
| # -> {"answers":{"decision":{"type":..., "probabilities":{...}, "noul":P(true)}}} | |
| # | |
| # 用法: bash serve.sh [port] (默认 8000) | |
| # 依赖: 先跑 install.sh (venv 在 ~/metask-jev/.venv, 模型已缓存) | |
| set -euo pipefail | |
| PORT="${1:-8000}" | |
| DIR="$(cd "$(dirname "$0")" && pwd)" | |
| if [ ! -d "$HOME/metask-jev/.venv" ]; then | |
| echo "run install.sh first"; exit 1 | |
| fi | |
| source "$HOME/metask-jev/.venv/bin/activate" | |
| pip install -q flask 2>/dev/null || true | |
| python "$DIR/serve.py" --port "$PORT" --model "$HOME/metask-jev/model_path.txt" 2>&1 \ | |
| | while read -r line; do echo "$(date +%H:%M:%S) $line"; done |