用户工具

站点工具


zh:notes:math_softwares

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
zh:notes:math_softwares [2026/08/24 10:06]
pzczxs [Obtain Embedding from a Vector Model]
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 text-embedding-v4-64.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 ====
zh/notes/math_softwares.1787537215.txt.gz · 最后更改: 2026/08/24 10:06 由 pzczxs