Zero-Shot Classification
Transformers
Safetensors
GGUF
English
decision-model
system-one
falcondec
lightdec
calibrated-decisions
multiple-choice
intent-classification
customer-support
natural-language-inference
code
guardrails
agents
selective-prediction
falconsai
model-surgeon
attested-lineage
Instructions to use Falconsai/LightDec with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Falconsai/LightDec with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="Falconsai/LightDec")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Falconsai/LightDec", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Delete encoder/config.json
Browse files- encoder/config.json +0 -79
encoder/config.json
DELETED
|
@@ -1,79 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"architectures": [
|
| 3 |
-
"ModernBertForMaskedLM"
|
| 4 |
-
],
|
| 5 |
-
"attention_bias": false,
|
| 6 |
-
"attention_dropout": 0.0,
|
| 7 |
-
"bos_token_id": 50281,
|
| 8 |
-
"causal_mask": false,
|
| 9 |
-
"classifier_activation": "gelu",
|
| 10 |
-
"classifier_bias": false,
|
| 11 |
-
"classifier_dropout": 0.0,
|
| 12 |
-
"classifier_pooling": "mean",
|
| 13 |
-
"cls_token_id": 50281,
|
| 14 |
-
"decoder_bias": true,
|
| 15 |
-
"deterministic_flash_attn": false,
|
| 16 |
-
"dtype": "float32",
|
| 17 |
-
"embedding_dropout": 0.0,
|
| 18 |
-
"eos_token_id": 50282,
|
| 19 |
-
"global_attn_every_n_layers": 3,
|
| 20 |
-
"gradient_checkpointing": false,
|
| 21 |
-
"hidden_activation": "gelu",
|
| 22 |
-
"hidden_size": 768,
|
| 23 |
-
"initializer_cutoff_factor": 2.0,
|
| 24 |
-
"initializer_range": 0.02,
|
| 25 |
-
"intermediate_size": 1152,
|
| 26 |
-
"is_causal": false,
|
| 27 |
-
"layer_norm_eps": 1e-05,
|
| 28 |
-
"layer_types": [
|
| 29 |
-
"full_attention",
|
| 30 |
-
"sliding_attention",
|
| 31 |
-
"sliding_attention",
|
| 32 |
-
"full_attention",
|
| 33 |
-
"sliding_attention",
|
| 34 |
-
"sliding_attention",
|
| 35 |
-
"full_attention",
|
| 36 |
-
"sliding_attention",
|
| 37 |
-
"sliding_attention",
|
| 38 |
-
"full_attention",
|
| 39 |
-
"sliding_attention",
|
| 40 |
-
"sliding_attention",
|
| 41 |
-
"full_attention",
|
| 42 |
-
"sliding_attention",
|
| 43 |
-
"sliding_attention",
|
| 44 |
-
"full_attention",
|
| 45 |
-
"sliding_attention",
|
| 46 |
-
"sliding_attention",
|
| 47 |
-
"full_attention",
|
| 48 |
-
"sliding_attention",
|
| 49 |
-
"sliding_attention",
|
| 50 |
-
"full_attention"
|
| 51 |
-
],
|
| 52 |
-
"local_attention": 128,
|
| 53 |
-
"max_position_embeddings": 7999,
|
| 54 |
-
"mlp_bias": false,
|
| 55 |
-
"mlp_dropout": 0.0,
|
| 56 |
-
"model_type": "modernbert",
|
| 57 |
-
"norm_bias": false,
|
| 58 |
-
"norm_eps": 1e-05,
|
| 59 |
-
"num_attention_heads": 12,
|
| 60 |
-
"num_hidden_layers": 22,
|
| 61 |
-
"pad_token_id": 50283,
|
| 62 |
-
"position_embedding_type": "sans_pos",
|
| 63 |
-
"rope_parameters": {
|
| 64 |
-
"full_attention": {
|
| 65 |
-
"rope_theta": 160000.0,
|
| 66 |
-
"rope_type": "default"
|
| 67 |
-
},
|
| 68 |
-
"sliding_attention": {
|
| 69 |
-
"rope_theta": 160000.0,
|
| 70 |
-
"rope_type": "default"
|
| 71 |
-
}
|
| 72 |
-
},
|
| 73 |
-
"sep_token_id": 50282,
|
| 74 |
-
"sparse_pred_ignore_index": -100,
|
| 75 |
-
"sparse_prediction": false,
|
| 76 |
-
"tie_word_embeddings": true,
|
| 77 |
-
"transformers_version": "5.17.0",
|
| 78 |
-
"vocab_size": 50368
|
| 79 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|