Text Classification
Transformers
ONNX
Safetensors
English
Portuguese
modernbert
feature-extraction
encoder
typed-decisions
decision-index
cpu
decision-model
text-embeddings-inference
Instructions to use Lukitaduarte/dinah-0-apache with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Lukitaduarte/dinah-0-apache with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Lukitaduarte/dinah-0-apache")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Lukitaduarte/dinah-0-apache") model = AutoModel.from_pretrained("Lukitaduarte/dinah-0-apache", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download decision_ai.json from Lukitaduarte/dinah-0-apache: direct link, hf CLI and curl.
- Browser
- Download file 984 Bytes
-
https://huggingface.co/Lukitaduarte/dinah-0-apache/resolve/main/decision_ai.json
- Command line
-
hf download hf://Lukitaduarte/dinah-0-apache/decision_ai.json
-
curl -L -o decision_ai.json https://huggingface.co/Lukitaduarte/dinah-0-apache/resolve/main/decision_ai.json
984 Bytes
| { | |
| "format": "decision-ai/option-reader@1", | |
| "name": "Dinah-0 Apache", | |
| "license": "apache-2.0", | |
| "homepage": "https://huggingface.co/Lukitaduarte/dinah-0-apache", | |
| "files": { | |
| "model": "onnx/model_8bit.onnx", | |
| "tokenizer": "tokenizer.json" | |
| }, | |
| "sha256": { | |
| "onnx/model_8bit.onnx": "412e14a95c7cb8eb8a95feb9b0cbf4c05f9177418233be5010590d73923c7cf6", | |
| "tokenizer.json": "edeac9e7b2f170022cefd1c7b396ebca3ac9c57f2f93604844cb7fb16b1a71ca" | |
| }, | |
| "max_length": 8192, | |
| "pad_multiple": 64, | |
| "tokens": { | |
| "cls": "[CLS]", | |
| "sep": "[SEP]", | |
| "pad": "[PAD]", | |
| "option": "[OPT]" | |
| }, | |
| "question_types": { | |
| "noul": 0, | |
| "choice": 1, | |
| "score": 2 | |
| }, | |
| "noul_false_default": "The statement above is false.", | |
| "inputs": { | |
| "ids": "ids", | |
| "pad_mask": "pad_mask", | |
| "option_positions": "opt_positions", | |
| "option_mask": "opt_mask", | |
| "question_type": "qtype" | |
| }, | |
| "outputs": { | |
| "logits": "logits", | |
| "confidence_logit": "conf_logit" | |
| } | |
| } |