masahiroid commited on
Commit
2a3edbf
·
verified ·
1 Parent(s): edee0ce

Fix model card text copied from other models' templates

Browse files
Files changed (2) hide show
  1. README.ja.md +3 -3
  2. README.md +3 -3
README.ja.md CHANGED
@@ -10,7 +10,7 @@
10
 
11
  MLXでネイティブに実装したもので、テンソル名は元の推論モデルのものをそのまま使っています。この独自ランタイムは、mlx-lmのテキスト生成モデルではありません。
12
 
13
- 同梱のMLXランタイムには、Apple Silicon搭載のMacが必要です。入力の長さは可変です(元モデルの上限まで)。下記のコンパイル済みApple向け書き出しは、固定の形状を使います。
14
 
15
  ```bash
16
  pip install huggingface_hub mlx numpy transformers sentencepiece
@@ -35,9 +35,9 @@ print(np.array(output).shape)
35
 
36
  元のPyTorch実装と、決定的な6ケースで比較しました。出力の絶対差の最大値は**0.0010339618**、コサイン類似度の最小値は**0.99999876**です。各ケースは`validation.json`を見てください。これは変換前後の一致を確かめるチェックで、タスク性能やレイテンシーを測る本格的なベンチマークではありません。
37
 
38
- テキスト向けのテストは、英語の感情表現、中立的な検索用テキスト、日本語、空の入力、切り詰めを扱います。Chronos向けのテストは、トレンドと正弦波の合成、一定の系列、欠測を含む系列を扱います。各モデルには、当てはまるテストだけを使っています。
39
 
40
- Core ML/Core AIのテキスト向け書き出しは、バッチ1、系列長128です。トークン化では128にパディング/切り詰めをしてください。ChronosのApple向け書き出しは、バッチ1、コンテキスト長2048です。MLX/独自GGUFは、追加の学習をせず、元の最大コンテキストをそのまま保っています。固定形状のApple向け書き出しでは、短いChronos入力の左側をNaNで埋められます。予測期間は64のままです。
41
 
42
  ## 再現性
43
 
 
10
 
11
  MLXでネイティブに実装したもので、テンソル名は元の推論モデルのものをそのまま使っています。この独自ランタイムは、mlx-lmのテキスト生成モデルではありません。
12
 
13
+ 同梱のMLXランタイムには、Apple Silicon搭載のMacが必要です。入力の長さは可変です(元モデルの上限まで)。Core ML版とCore AI版は固定形状です。
14
 
15
  ```bash
16
  pip install huggingface_hub mlx numpy transformers sentencepiece
 
35
 
36
  元のPyTorch実装と、決定的な6ケースで比較しました。出力の絶対差の最大値は**0.0010339618**、コサイン類似度の最小値は**0.99999876**です。各ケースは`validation.json`を見てください。これは変換前後の一致を確かめるチェックで、タスク性能やレイテンシーを測る本格的なベンチマークではありません。
37
 
38
+ テキスト向けのテストは、英語の感情表現、中立的な検索用テキスト、日本語、空の入力、切り詰めを扱います。
39
 
40
+ Core ML/Core AI版は、バッチ1、系列長128です。トークン化では128にパディング/切り詰めをしてください。MLX/独自GGUFは、追加の学習をせず、元の最大コンテキストをそのまま保っています。
41
 
42
  ## 再現性
43
 
README.md CHANGED
@@ -17,7 +17,7 @@ Conversion of [microsoft/mdeberta-v3-base](https://huggingface.co/microsoft/mdeb
17
 
18
  Native MLX implementation with the source inference-model tensor names. This custom runtime is not an mlx-lm text-generation model.
19
 
20
- Apple Silicon Mac required by the included MLX runtime. Inputs may vary in length (up to the source limit); compiled Apple exports below use fixed shapes.
21
 
22
  ```bash
23
  pip install huggingface_hub mlx numpy transformers sentencepiece
@@ -42,9 +42,9 @@ print(np.array(output).shape)
42
 
43
  Compared against the original PyTorch implementation, 6 deterministic cases. Maximum absolute output difference: **0.0010339618**; minimum cosine similarity: **0.99999876**. See `validation.json` for each case. These are conversion parity checks, not a full task-quality benchmark or latency benchmark.
44
 
45
- Text tests cover English emotions, neutral retrieval text, Japanese, empty input and truncation. Chronos tests cover a trend plus sinusoid, a constant series and a series with missing observations. Only applicable tests are used for each model.
46
 
47
- Core ML/Core AI text exports use batch 1 and sequence length 128; tokenization must pad/truncate to 128. Chronos Apple exports use batch 1 and context length 2048. MLX/custom GGUF preserve the original maximum context rather than adding training. Short Chronos inputs can be left-padded with NaN for the fixed Apple exports. Forecast horizon remains 64.
48
 
49
  ## Reproducibility
50
 
 
17
 
18
  Native MLX implementation with the source inference-model tensor names. This custom runtime is not an mlx-lm text-generation model.
19
 
20
+ Apple Silicon Mac required by the included MLX runtime. Inputs may vary in length (up to the source limit); the Core ML and Core AI versions use fixed shapes.
21
 
22
  ```bash
23
  pip install huggingface_hub mlx numpy transformers sentencepiece
 
42
 
43
  Compared against the original PyTorch implementation, 6 deterministic cases. Maximum absolute output difference: **0.0010339618**; minimum cosine similarity: **0.99999876**. See `validation.json` for each case. These are conversion parity checks, not a full task-quality benchmark or latency benchmark.
44
 
45
+ Text tests cover English emotions, neutral retrieval text, Japanese, empty input and truncation.
46
 
47
+ Core ML/Core AI exports use batch 1 and sequence length 128; tokenization must pad/truncate to 128. MLX/custom GGUF preserve the original maximum context rather than adding training.
48
 
49
  ## Reproducibility
50