misono commited on
Commit
98ab89e
·
verified ·
1 Parent(s): 2b79125

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +51 -0
README.md ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: IndexTeam/Index-Translate-9B
3
+ library_name: transformers
4
+ tags:
5
+ - fp8
6
+ - compressed-tensors
7
+ - translation
8
+ - index
9
+ license: apache-2.0
10
+ ---
11
+
12
+ # Index-Translate-9B-FP8
13
+
14
+ Official FP8 (W8A8) quantization of [IndexTeam/Index-Translate-9B](https://huggingface.co/IndexTeam/Index-Translate-9B), part of the **Index-Translate** multilingual translation model family (150 languages, terminology/format-constrained translation, controlled dubbing translation, long-document translation).
15
+
16
+ - Technical report: [Index-Translate: A Multilingual Translation Model Family](https://arxiv.org/abs/2609.40181)
17
+ - Code: [github.com/bilibili/Index-Translate](https://github.com/bilibili/Index-Translate)
18
+
19
+ ## Quantization
20
+
21
+ - Scheme: `FP8_DYNAMIC` (FP8 E4M3 weights, per-token dynamic FP8 activations), produced with [llm-compressor](https://github.com/vllm-project/llm-compressor) (`quantization_scheme` recorded in `recipe.yaml`).
22
+ - All `Linear` layers of the language model are quantized; the vision tower, multi-modal projector, `lm_head`, and embeddings are kept in BF16. MTP (multi-token prediction) weights are preserved.
23
+ - Format: [compressed-tensors](https://github.com/neuralmagic/compressed-tensors) safetensors — load directly with vLLM (`quantization="compressed-tensors"`) or transformers.
24
+
25
+ ## Consistency validation
26
+
27
+ Measured on an NVIDIA A100 against the original BF16 checkpoint (greedy decoding, official translation prompt):
28
+
29
+ | Metric | BF16 | FP8 | Delta |
30
+ |:-------|-----:|----:|------:|
31
+ | Perplexity (fixed corpus) | 2.7722 | 2.7838 | +0.42% |
32
+ | zh→en generation identical | — | — | yes |
33
+ | en→zh generation identical | — | — | yes |
34
+
35
+ ## Usage
36
+
37
+ ```bash
38
+ vllm serve IndexTeam/Index-Translate-9B-FP8 --host 127.0.0.1 --port 8000 --max-model-len 4096
39
+ ```
40
+
41
+ Translation prompt format (greedy decoding, temperature=0 recommended):
42
+
43
+ ```text
44
+ 请将以下文本翻译为{target-language},直接输出翻译结果,不要进行任何解释。
45
+
46
+ {source-text}
47
+ ```
48
+
49
+ See the [base model card](https://huggingface.co/IndexTeam/Index-Translate-9B) for the full instTrans constrained-translation format and serving presets. GGUF builds for local inference are published in [Index-Translate-9B-GGUF](https://huggingface.co/IndexTeam/Index-Translate-9B-GGUF).
50
+
51
+ *Quantized and published by the Index team, 2026-10-03.*