Instructions to use OpenVINO/Qwen3-Reranker-0.6B-seq-cls-fp16-ov with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenVINO/Qwen3-Reranker-0.6B-seq-cls-fp16-ov with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("OpenVINO/Qwen3-Reranker-0.6B-seq-cls-fp16-ov") model = AutoModelForSequenceClassification.from_pretrained("OpenVINO/Qwen3-Reranker-0.6B-seq-cls-fp16-ov", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from OpenVINO/Qwen3-Reranker-0.6B-seq-cls-fp16-ov: direct link, hf CLI and curl.
- Browser
- Download file 1.48 kB
-
https://huggingface.co/OpenVINO/Qwen3-Reranker-0.6B-seq-cls-fp16-ov/resolve/refs%2Fpr%2F2/config.json
- Command line
-
hf download hf://OpenVINO/Qwen3-Reranker-0.6B-seq-cls-fp16-ov@refs/pr/2/config.json
-
curl -L -o config.json https://huggingface.co/OpenVINO/Qwen3-Reranker-0.6B-seq-cls-fp16-ov/resolve/refs%2Fpr%2F2/config.json
1.48 kB
| { | |
| "architectures": [ | |
| "Qwen3ForSequenceClassification" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 151643, | |
| "dtype": "float32", | |
| "eos_token_id": 151645, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 1024, | |
| "id2label": { | |
| "0": "LABEL_0" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "label2id": { | |
| "LABEL_0": 0 | |
| }, | |
| "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" | |
| ], | |
| "max_position_embeddings": 40960, | |
| "max_window_layers": 28, | |
| "model_type": "qwen3", | |
| "num_attention_heads": 16, | |
| "num_hidden_layers": 28, | |
| "num_key_value_heads": 8, | |
| "pad_token_id": 151643, | |
| "rms_norm_eps": 1e-06, | |
| "rope_scaling": null, | |
| "rope_theta": 1000000, | |
| "sliding_window": null, | |
| "tie_word_embeddings": true, | |
| "transformers_version": "4.57.6", | |
| "use_cache": true, | |
| "use_sliding_window": false, | |
| "vocab_size": 151669 | |
| } |