Text Classification
Transformers
Safetensors
MLX
English
qwen3
feature-extraction
tinyjev
jev
decision-model
system-one
typed-decisions
text-embeddings-inference
Instructions to use AnkitAI/TinyJev-4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AnkitAI/TinyJev-4B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AnkitAI/TinyJev-4B")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("AnkitAI/TinyJev-4B") model = AutoModel.from_pretrained("AnkitAI/TinyJev-4B", device_map="auto") - MLX
How to use AnkitAI/TinyJev-4B with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir TinyJev-4B AnkitAI/TinyJev-4B
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download config.json from AnkitAI/TinyJev-4B: direct link, hf CLI and curl.
- Browser
- Download file 787 Bytes
-
https://huggingface.co/AnkitAI/TinyJev-4B/resolve/main/config.json
- Command line
-
hf download hf://AnkitAI/TinyJev-4B/config.json
-
curl -L -o config.json https://huggingface.co/AnkitAI/TinyJev-4B/resolve/main/config.json
787 Bytes
| { | |
| "architectures": [ | |
| "Qwen3Model" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 151643, | |
| "eos_token_id": 151643, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 2560, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 9728, | |
| "max_position_embeddings": 32768, | |
| "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, | |
| "torch_dtype": "float16", | |
| "use_cache": true, | |
| "use_sliding_window": false, | |
| "vocab_size": 151936, | |
| "rope_parameters": { | |
| "rope_theta": 1000000, | |
| "rope_type": "default" | |
| }, | |
| "dtype": "float16" | |
| } |