Translation
Transformers
Safetensors
qwen3_5_text
text-generation
nvfp4
fp4
compressed-tensors
index
8-bit precision
Instructions to use IndexTeam/Index-Nailong-9B-FP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IndexTeam/Index-Nailong-9B-FP4 with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("translation", model="IndexTeam/Index-Nailong-9B-FP4")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("IndexTeam/Index-Nailong-9B-FP4") model = AutoModelForCausalLM.from_pretrained("IndexTeam/Index-Nailong-9B-FP4", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download validation.json from IndexTeam/Index-Nailong-9B-FP4: direct link, hf CLI and curl.
- Browser
- Download file 5.61 kB
-
https://huggingface.co/IndexTeam/Index-Nailong-9B-FP4/resolve/main/validation.json
- Command line
-
hf download hf://IndexTeam/Index-Nailong-9B-FP4/validation.json
-
curl -L -o validation.json https://huggingface.co/IndexTeam/Index-Nailong-9B-FP4/resolve/main/validation.json
5.61 kB
| { | |
| "base_model": "IndexTeam/Index-Nailong-9B", | |
| "base_revision": "b1eb976718173316d254756d73d5eb1a7d87ab61", | |
| "version": "v1.1", | |
| "quantization": "FP4", | |
| "transformers": { | |
| "runtime": "transformers; compressed weights reloaded and decompressed to BF16", | |
| "versions": { | |
| "torch": "2.10.0+cu128", | |
| "transformers": "5.17.0", | |
| "compressed-tensors": "0.19.0" | |
| }, | |
| "gpu": "NVIDIA A100-SXM4-80GB", | |
| "validation": { | |
| "dataset": "bwb-official-sft-16k-clean-v2", | |
| "split": "validation", | |
| "cases": 16 | |
| }, | |
| "perplexity": 13.339477617290848, | |
| "bf16_perplexity": 12.922562343536814, | |
| "short_translations": { | |
| "zh-en": { | |
| "text": "Early in the morning, Lin Zhou pushed open the door of the bookstore. The rain from last night had already stopped, but there was still water pooling on the streets.", | |
| "tokens": 35, | |
| "stop_id": 248046, | |
| "normal_stop": true, | |
| "seconds": 5.55488920211792 | |
| }, | |
| "en-zh-glossary": { | |
| "text": "火车在日出前抵达了月港。玛雅检查了两次地图,随后朝旧图书馆走去。", | |
| "tokens": 23, | |
| "stop_id": 248046, | |
| "normal_stop": true, | |
| "seconds": 2.9808127880096436 | |
| }, | |
| "zh-ja": { | |
| "text": "図書館は来週の月曜日に再開します。読者はオンラインで席を予約することも、サービスデスクで図書カードの発行手続きを行うこともできます。", | |
| "tokens": 32, | |
| "stop_id": 248046, | |
| "normal_stop": true, | |
| "seconds": 4.187953472137451 | |
| }, | |
| "ja-zh": { | |
| "text": "到达车站时,雨已经停了。我收起了伞,又读了一遍朋友寄来的信。", | |
| "tokens": 22, | |
| "stop_id": 248046, | |
| "normal_stop": true, | |
| "seconds": 2.823652505874634 | |
| }, | |
| "en-fr": { | |
| "text": "Le musée est fermé les lundis. Les billets achetés en ligne restent valables pendant trente jours.", | |
| "tokens": 23, | |
| "stop_id": 248046, | |
| "normal_stop": true, | |
| "seconds": 2.9402966499328613 | |
| }, | |
| "es-zh": { | |
| "text": "火车将于早上八点出发。如果下雨,我们就会在车站里见面。", | |
| "tokens": 17, | |
| "stop_id": 248046, | |
| "normal_stop": true, | |
| "seconds": 2.185734748840332 | |
| }, | |
| "de-en": { | |
| "text": "Although the contract had already been signed, both sides still had to confirm the new delivery date.", | |
| "tokens": 20, | |
| "stop_id": 248046, | |
| "normal_stop": true, | |
| "seconds": 2.5814623832702637 | |
| }, | |
| "en-zh-format": { | |
| "text": "{\"status\":\"订单已发货。\",\"note\":\"请保留此收据。\"}", | |
| "tokens": 17, | |
| "stop_id": 248046, | |
| "normal_stop": true, | |
| "seconds": 2.193460464477539 | |
| } | |
| } | |
| }, | |
| "serving": { | |
| "runtime": "vLLM with text-only Qwen3.5 registration adapter", | |
| "versions": { | |
| "torch": "2.12.0a0+0291f960b6.nv26.4.48445190", | |
| "vllm": "0.20.2.dev0+g132765e35.d20260505.cu132", | |
| "transformers": "5.12.0", | |
| "compressed-tensors": "0.15.0.1" | |
| }, | |
| "gpu": "NVIDIA A100-SXM4-80GB", | |
| "compute": "weight-only Marlin; BF16 activations", | |
| "max_model_len": 32768, | |
| "short_output_budget": 384, | |
| "long_output_budget": 16384, | |
| "short_translations": { | |
| "zh-en": { | |
| "text": "Early in the morning, Lin Zhou pushed open the door of the bookstore. The rain from last night had already stopped, but there was still water pooling on the streets.", | |
| "finish_reason": "stop", | |
| "stop_reason": 248046, | |
| "tokens": 35 | |
| }, | |
| "en-zh-glossary": { | |
| "text": "火车在日出前抵达了月港。玛雅检查了两次地图,随后朝旧图书馆走去。", | |
| "finish_reason": "stop", | |
| "stop_reason": 248046, | |
| "tokens": 23 | |
| }, | |
| "zh-ja": { | |
| "text": "図書館は来週の月曜日に再開します。読者はオンラインで席を予約することも、サービスデスクで図書カードの発行手続きをすることもできます。", | |
| "finish_reason": "stop", | |
| "stop_reason": 248046, | |
| "tokens": 32 | |
| }, | |
| "ja-zh": { | |
| "text": "到达车站时,雨已经停了。我收起雨伞,又读了一遍朋友寄来的信。", | |
| "finish_reason": "stop", | |
| "stop_reason": 248046, | |
| "tokens": 21 | |
| }, | |
| "en-fr": { | |
| "text": "Le musée est fermé les lundis. Les billets achetés en ligne restent valables pendant trente jours.", | |
| "finish_reason": "stop", | |
| "stop_reason": 248046, | |
| "tokens": 23 | |
| }, | |
| "es-zh": { | |
| "text": "火车将于早上八点出发。如果下雨,我们就会在车站里见面。", | |
| "finish_reason": "stop", | |
| "stop_reason": 248046, | |
| "tokens": 17 | |
| }, | |
| "de-en": { | |
| "text": "Although the contract had already been signed, both parties still had to confirm the new delivery date.", | |
| "finish_reason": "stop", | |
| "stop_reason": 248046, | |
| "tokens": 20 | |
| }, | |
| "en-zh-format": { | |
| "text": "{\"status\":\"订单已发货。\",\"note\":\"请保留此收据。\"}", | |
| "finish_reason": "stop", | |
| "stop_reason": 248046, | |
| "tokens": 17 | |
| } | |
| }, | |
| "long_document": { | |
| "input_tokens": 6337, | |
| "tokens": 7420, | |
| "finish_reason": "stop", | |
| "stop_reason": 248046 | |
| }, | |
| "long_review": "Beginning, middle, source tail and repeated paragraphs checked; no generation cap reached." | |
| } | |
| } | |