Text Classification
Transformers
Safetensors
English
modernbert
encoder
decision-model
tool-routing
agentic
preview
text-embeddings-inference
Instructions to use MaziyarPanahi/ModernJEV-Decide-Preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MaziyarPanahi/ModernJEV-Decide-Preview with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="MaziyarPanahi/ModernJEV-Decide-Preview")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("MaziyarPanahi/ModernJEV-Decide-Preview") model = AutoModelForSequenceClassification.from_pretrained("MaziyarPanahi/ModernJEV-Decide-Preview", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download architecture.svg from MaziyarPanahi/ModernJEV-Decide-Preview: direct link, hf CLI and curl.
- Browser
- Download file 923 Bytes
-
https://huggingface.co/MaziyarPanahi/ModernJEV-Decide-Preview/resolve/main/architecture.svg
- Command line
-
hf download hf://MaziyarPanahi/ModernJEV-Decide-Preview/architecture.svg
-
curl -L -o architecture.svg https://huggingface.co/MaziyarPanahi/ModernJEV-Decide-Preview/resolve/main/architecture.svg
923 Bytes
| <svg xmlns="http://www.w3.org/2000/svg" width="1080" height="220" viewBox="0 0 1080 220"><rect width="1080" height="220" rx="22" fill="#101820"/><g font-family="sans-serif" text-anchor="middle"><text x="540" y="40" font-size="18" fill="#a8d9bd">READ THE STATE. SCORE THE CHOICES. RETURN A LABEL.</text><g fill="#20332d" stroke="#4e9f79"><rect x="30" y="80" width="245" height="100" rx="12"/><rect x="350" y="80" width="350" height="100" rx="12"/><rect x="775" y="80" width="275" height="100" rx="12"/></g><g font-size="20" fill="#f1f4f2"><text x="152" y="117">STATE + QUESTION</text><text x="152" y="150">DECLARED CHOICES</text><text x="525" y="117">SHARED MODERNBERT</text><text x="525" y="150">CANDIDATE SCORER</text><text x="912" y="117">SELECTED LABEL</text><text x="912" y="150">+ CHOICE RANKINGS</text></g><g fill="#8bd9af" font-size="32"><text x="311" y="140">→</text><text x="738" y="140">→</text></g></g></svg> |