这里会显示出您选择的修订版和当前版本之间的差别。
| 两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
|
zh:notes:math_softwares [2026/08/24 10:02] pzczxs [qwen3.7-text-embedding] |
zh:notes:math_softwares [2026/08/24 10:15] (当前版本) pzczxs [Obtain Embedding from a Vector Model] |
||
|---|---|---|---|
| 行 38: | 行 38: | ||
| The //text-embedding-v4// model is employed to produce a 64-demensional embedding vector for each word. | The //text-embedding-v4// model is employed to produce a 64-demensional embedding vector for each word. | ||
| <code bash> | <code bash> | ||
| - | > python .\extract_embedding.py --model text-embedding-v4 --dimension 64 --output qwen3.7-embeddings.txt --resume .\math_software.word.vocab | + | > python .\extract_embedding.py --model text-embedding-v4 --dimension 64 --batch-size 10 --output text-embedding-v4-64.txt --resume .\math_software.word.vocab |
| </code> | </code> | ||
| ==== Count One- and Two- Grams for PMI Calculation ==== | ==== Count One- and Two- Grams for PMI Calculation ==== | ||