Text Classification
Transformers
English
tenstorrent
blackhole
p300x2
vllm-plugin
nli
cross-encoder
reranker
qwen3.5
Instructions to use changh95/openjev-p300x2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use changh95/openjev-p300x2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="changh95/openjev-p300x2")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("changh95/openjev-p300x2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download scripts/setup_vllm_env.sh from changh95/openjev-p300x2: direct link, hf CLI and curl.
- Browser
- Download file 982 Bytes
-
https://huggingface.co/changh95/openjev-p300x2/resolve/main/scripts/setup_vllm_env.sh
- Command line
-
hf download hf://changh95/openjev-p300x2/scripts/setup_vllm_env.sh
-
curl -L -o setup_vllm_env.sh https://huggingface.co/changh95/openjev-p300x2/resolve/main/scripts/setup_vllm_env.sh
982 Bytes
| # Install vLLM 0.26.0 (TT "empty" target) + the vllm-tt-plugin fork into tt-metal's python_env. | |
| # Mirrors vllm-tt-plugin/docs/install-vllm-tt.sh (run from the plugin root). | |
| set -euo pipefail | |
| source /home/ttuser/experiments/openjev/env.sh | |
| cd /home/ttuser/experiments/openjev/vllm-tt-plugin | |
| PY=$PYTHON_ENV_DIR/bin/python | |
| $PY -m pip install -q uv 2>/dev/null || true | |
| export VIRTUAL_ENV=$PYTHON_ENV_DIR # uv pip targets this venv | |
| UV=$PYTHON_ENV_DIR/bin/uv | |
| REQ=$(mktemp) | |
| curl -fsSL https://raw.githubusercontent.com/vllm-project/vllm/v0.26.0/requirements/common.txt -o "$REQ" | |
| $UV pip install --override docs/vllm-overrides.txt -r "$REQ" | |
| rm -f "$REQ" | |
| $UV pip install --no-deps --index-url https://download.pytorch.org/whl/cpu torchvision==0.26.0 | |
| VLLM_TARGET_DEVICE=empty $UV pip install --no-deps --no-binary vllm vllm==0.26.0 | |
| $UV pip install -e . | |
| $PY -c "import vllm, vllm_tt_plugin; print('vllm', vllm.__version__, 'plugin', vllm_tt_plugin.__file__)" | |
| echo SETUP_VLLM_DONE | |