Text Classification
Transformers
Safetensors
English
mistral3
feature-extraction
decision-model
candidate-scoring
ranking
ministral
custom_code
4-bit precision
bitsandbytes
Run this model with HF Jobs
Run Aurley/ADM-1 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Aurley/ADM-1. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Aurley/ADM-1 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Aurley/ADM-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Aurley/ADM-1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Aurley/ADM-1", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("Aurley/ADM-1", trust_remote_code=True) model = AutoModel.from_pretrained("Aurley/ADM-1", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from Aurley/ADM-1: direct link, hf CLI and curl.
- Browser
- Download file 2.74 kB
-
https://huggingface.co/Aurley/ADM-1/resolve/main/config.json
- Command line
-
hf download hf://Aurley/ADM-1/config.json
-
curl -L -o config.json https://huggingface.co/Aurley/ADM-1/resolve/main/config.json
2.74 kB
| { | |
| "architectures": [ | |
| "MinistralDecisionModel" | |
| ], | |
| "auto_map": { | |
| "AutoModel": "modeling_ministral_decision.MinistralDecisionModel" | |
| }, | |
| "decision_head_config": { | |
| "type": "scalar_mlp", | |
| "hidden_size": 3072, | |
| "intermediate_size": 512, | |
| "temperature": 1.625, | |
| "training_method": "frozen 4-bit base; train scalar scorer with up to eight sampled negatives per item", | |
| "training_examples": 3072, | |
| "calibration_examples": 205, | |
| "epochs": 12, | |
| "negative_options_per_item": 8 | |
| }, | |
| "dtype": "float16", | |
| "image_token_index": 10, | |
| "model_type": "mistral3", | |
| "multimodal_projector_bias": false, | |
| "projector_hidden_act": "gelu", | |
| "quantization_config": { | |
| "_load_in_4bit": true, | |
| "_load_in_8bit": false, | |
| "bnb_4bit_compute_dtype": "float16", | |
| "bnb_4bit_quant_storage": "uint8", | |
| "bnb_4bit_quant_type": "nf4", | |
| "bnb_4bit_use_double_quant": true, | |
| "llm_int8_enable_fp32_cpu_offload": false, | |
| "llm_int8_has_fp16_weight": false, | |
| "llm_int8_skip_modules": [ | |
| "decision_head" | |
| ], | |
| "llm_int8_threshold": 6.0, | |
| "load_in_4bit": true, | |
| "load_in_8bit": false, | |
| "quant_method": "bitsandbytes" | |
| }, | |
| "spatial_merge_size": 2, | |
| "text_config": { | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 1, | |
| "dtype": "float16", | |
| "eos_token_id": 2, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 3072, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 9216, | |
| "max_position_embeddings": 262144, | |
| "model_type": "ministral3", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 26, | |
| "num_key_value_heads": 8, | |
| "pad_token_id": 11, | |
| "rms_norm_eps": 1e-05, | |
| "rope_parameters": { | |
| "beta_fast": 32.0, | |
| "beta_slow": 1.0, | |
| "factor": 16.0, | |
| "llama_4_scaling_beta": 0.1, | |
| "mscale": 1.0, | |
| "mscale_all_dim": 1.0, | |
| "original_max_position_embeddings": 16384, | |
| "rope_theta": 1000000.0, | |
| "rope_type": "yarn", | |
| "type": "yarn" | |
| }, | |
| "sliding_window": null, | |
| "tie_word_embeddings": true, | |
| "use_cache": true, | |
| "vocab_size": 131072 | |
| }, | |
| "tie_word_embeddings": true, | |
| "transformers_version": "5.22.1", | |
| "vision_config": { | |
| "attention_dropout": 0.0, | |
| "dtype": "float16", | |
| "head_dim": 64, | |
| "hidden_act": "silu", | |
| "hidden_size": 1024, | |
| "image_size": 1540, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 4096, | |
| "model_type": "pixtral", | |
| "num_attention_heads": 16, | |
| "num_channels": 3, | |
| "num_hidden_layers": 24, | |
| "patch_size": 14, | |
| "rope_parameters": { | |
| "rope_theta": 10000.0, | |
| "rope_type": "axial" | |
| } | |
| }, | |
| "vision_feature_layer": -1 | |
| } |