Text Classification
Transformers
Safetensors
English
qwen2
text-generation
system-one
decision-model
fast-inference
calibration
qwen2.5
distillation
s1mb
Eval Results (legacy)
text-embeddings-inference
Instructions to use ftpxain/nirnay-0.5b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ftpxain/nirnay-0.5b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ftpxain/nirnay-0.5b")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("ftpxain/nirnay-0.5b") model = AutoModelForCausalLM.from_pretrained("ftpxain/nirnay-0.5b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from ftpxain/nirnay-0.5b: direct link, hf CLI and curl.
- Browser
- Download file 1.36 kB
-
https://huggingface.co/ftpxain/nirnay-0.5b/resolve/main/config.json
- Command line
-
hf download hf://ftpxain/nirnay-0.5b/config.json
-
curl -L -o config.json https://huggingface.co/ftpxain/nirnay-0.5b/resolve/main/config.json
1.36 kB
| { | |
| "architectures": [ | |
| "Qwen2ForCausalLM" | |
| ], | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 151643, | |
| "dtype": "bfloat16", | |
| "eos_token_id": 151643, | |
| "hidden_act": "silu", | |
| "hidden_size": 896, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 4864, | |
| "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" | |
| ], | |
| "max_position_embeddings": 32768, | |
| "max_window_layers": 24, | |
| "model_type": "qwen2", | |
| "num_attention_heads": 14, | |
| "num_hidden_layers": 24, | |
| "num_key_value_heads": 2, | |
| "pad_token_id": null, | |
| "rms_norm_eps": 1e-06, | |
| "rope_parameters": { | |
| "rope_theta": 1000000.0, | |
| "rope_type": "default" | |
| }, | |
| "sliding_window": null, | |
| "tie_word_embeddings": true, | |
| "transformers_version": "5.18.0", | |
| "use_cache": true, | |
| "use_mrope": false, | |
| "use_sliding_window": false, | |
| "vocab_size": 151936 | |
| } | |