ludovicoYIN commited on
Commit
300ec51
·
verified ·
1 Parent(s): 90b1366

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +39 -7
README.md CHANGED
@@ -1,5 +1,6 @@
1
  ---
2
  license: other
 
3
  library_name: transformers
4
  pipeline_tag: text-generation
5
  tags:
@@ -21,13 +22,44 @@ The conversion script is included in this repo:
21
 
22
  Method (high level):
23
 
24
- 1. Load FP8 tensors from safetensors shards
25
- 2. Dequantize with corresponding `*_scale_inv`
26
- 3. Save tensors in BF16
27
- 4. Remove `*_scale_inv` entries from `model.safetensors.index.json`
28
 
29
  ## Notes
30
 
31
- - This is a conversion artifact for experimentation/quantization workflow validation.
32
- - Please check original model license and terms before downstream redistribution/commercial use.
33
- - For quantization experiments, see `llm-compressor` recipes/examples.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: other
3
+ license_name: minimax-m2-license
4
  library_name: transformers
5
  pipeline_tag: text-generation
6
  tags:
 
22
 
23
  Method (high level):
24
 
25
+ 1. Load FP8 tensors from safetensors shards.
26
+ 2. Dequantize each FP8 tensor with its corresponding `*_scale_inv` tensor.
27
+ 3. Save dequantized weights in BF16 format.
28
+ 4. Remove `*_scale_inv` entries from `model.safetensors.index.json`.
29
 
30
  ## Notes
31
 
32
+ - This is a conversion artifact for quantization workflow validation.
33
+ - Please review and follow the original license terms before redistribution or commercial use.
34
+ - Commercial products/services using this software or derivatives must prominently display `MiniMax M2.1` in the UI, per the original license text below.
35
+
36
+ ## License
37
+
38
+ This repository follows the original MiniMax M2.1 license terms:
39
+
40
+ MIT License
41
+
42
+ Copyright 2025 MiniMax AI.
43
+
44
+ Permission is hereby granted, free of charge, to any person obtaining a copy
45
+ of this software and associated documentation files (the "Software"), to deal
46
+ in the Software without restriction, including without limitation the rights
47
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
48
+ copies of the Software, and to permit persons to whom the Software is
49
+ furnished to do so, subject to the following conditions:
50
+
51
+ The above copyright notice and this permission notice shall be included in all
52
+ copies or substantial portions of the Software.
53
+
54
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
55
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
56
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
57
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
58
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
59
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
60
+ SOFTWARE.
61
+
62
+ Our only modification is that, if the Software (or any derivative works
63
+ thereof) is used for any of your commercial products or services, you shall
64
+ prominently display "MiniMax M2.1" on the user interface of such product or
65
+ service.