Feature Extraction
Transformers
Safetensors
English
vfm
verification
guardrails
llm-as-a-judge
agent-governance
custom_code
Instructions to use spitis/VFM-4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use spitis/VFM-4B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="spitis/VFM-4B", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("spitis/VFM-4B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from spitis/VFM-4B: direct link, hf CLI and curl.
- Browser
- Download file 2.46 kB
-
https://huggingface.co/spitis/VFM-4B/resolve/main/config.json
- Command line
-
hf download hf://spitis/VFM-4B/config.json
-
curl -L -o config.json https://huggingface.co/spitis/VFM-4B/resolve/main/config.json
2.46 kB
| { | |
| "architectures": [ | |
| "VFMForCriteriaVerification" | |
| ], | |
| "auto_map": { | |
| "AutoConfig": "configuration_vfm.VFMConfig", | |
| "AutoModel": "modeling_vfm.VFMForCriteriaVerification" | |
| }, | |
| "backbone_config": { | |
| "_name_or_path": "Qwen/Qwen3-4B", | |
| "architectures": [ | |
| "Qwen3Model" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 151643, | |
| "dtype": "bfloat16", | |
| "eos_token_id": 151645, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 2560, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 9728, | |
| "layer_types": [ | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention" | |
| ], | |
| "max_position_embeddings": 40960, | |
| "max_window_layers": 36, | |
| "model_type": "qwen3", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 36, | |
| "num_key_value_heads": 8, | |
| "rms_norm_eps": 1e-06, | |
| "rope_scaling": null, | |
| "rope_theta": 1000000, | |
| "sliding_window": null, | |
| "tie_word_embeddings": true, | |
| "use_cache": true, | |
| "use_sliding_window": false, | |
| "vocab_size": 151936 | |
| }, | |
| "base_model_name_or_path": "Qwen/Qwen3-4B", | |
| "dtype": "bfloat16", | |
| "enable_thinking": false, | |
| "id2label": { | |
| "0": "YES", | |
| "1": "NO", | |
| "2": "N/A" | |
| }, | |
| "isolate_criteria": true, | |
| "label2id": { | |
| "N/A": 2, | |
| "NO": 1, | |
| "YES": 0 | |
| }, | |
| "max_criterion_length": 64, | |
| "max_prefix_length": 4096, | |
| "model_type": "vfm", | |
| "preserve_lambda": 1.0, | |
| "preserve_loss": "kl_base", | |
| "tie_word_embeddings": false, | |
| "transformers_version": "4.57.1", | |
| "verbalizer_token_ids": [ | |
| 7414, | |
| 2753, | |
| 21693 | |
| ], | |
| "verbalizers": [ | |
| " Yes", | |
| "No", | |
| " Unknown" | |
| ] | |
| } | |