@tryhamster/gerbil 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/{architectures-C1I5V3Dt.mjs → architectures-wan0swXu.mjs} +2 -9
  2. package/dist/architectures-wan0swXu.mjs.map +1 -0
  3. package/dist/cli.mjs +8 -8
  4. package/dist/cli.mjs.map +1 -1
  5. package/dist/frameworks/express.mjs +1 -1
  6. package/dist/frameworks/fastify.mjs +1 -1
  7. package/dist/frameworks/hono.mjs +1 -1
  8. package/dist/frameworks/next.mjs +1 -1
  9. package/dist/frameworks/trpc.mjs +1 -1
  10. package/dist/{gerbil-ro5mEpFh.mjs → gerbil-CQspp8fS.mjs} +2 -2
  11. package/dist/{gerbil-ro5mEpFh.mjs.map → gerbil-CQspp8fS.mjs.map} +1 -1
  12. package/dist/gerbil-tHnYb9nZ.mjs +4 -0
  13. package/dist/gpu/index.mjs +3 -3
  14. package/dist/{gpu-yxEq7qT1.mjs → gpu-BYCQ5aTI.mjs} +3 -3
  15. package/dist/gpu-BYCQ5aTI.mjs.map +1 -0
  16. package/dist/index-CKszv3lt.d.mts.map +1 -1
  17. package/dist/index.mjs +5 -5
  18. package/dist/integrations/ai-sdk.mjs +1 -1
  19. package/dist/integrations/langchain.mjs +1 -1
  20. package/dist/integrations/llamaindex.mjs +1 -1
  21. package/dist/integrations/mcp.mjs +4 -4
  22. package/dist/{mcp-B0eW-OKz.mjs → mcp-CszII8GJ.mjs} +3 -3
  23. package/dist/{mcp-B0eW-OKz.mjs.map → mcp-CszII8GJ.mjs.map} +1 -1
  24. package/dist/moonshine-stt-BtR-KiSP.mjs +4 -0
  25. package/dist/{moonshine-stt-Cqdf1myz.mjs → moonshine-stt-DDUm5WfP.mjs} +114 -8
  26. package/dist/moonshine-stt-DDUm5WfP.mjs.map +1 -0
  27. package/dist/{one-liner-b0vlnTgd.mjs → one-liner-DVche8Eg.mjs} +2 -2
  28. package/dist/{one-liner-b0vlnTgd.mjs.map → one-liner-DVche8Eg.mjs.map} +1 -1
  29. package/dist/repl-BYJA2U7t.mjs +9 -0
  30. package/dist/skills/index.mjs +3 -3
  31. package/dist/{skills-DCvZK8kL.mjs → skills-BQI-VSn2.mjs} +2 -2
  32. package/dist/{skills-DCvZK8kL.mjs.map → skills-BQI-VSn2.mjs.map} +1 -1
  33. package/package.json +1 -1
  34. package/dist/architectures-C1I5V3Dt.mjs.map +0 -1
  35. package/dist/gerbil-Dy9Zhc_j.mjs +0 -4
  36. package/dist/gpu-yxEq7qT1.mjs.map +0 -1
  37. package/dist/moonshine-stt-Cqdf1myz.mjs.map +0 -1
  38. package/dist/moonshine-stt-TYYYaPo3.mjs +0 -4
  39. package/dist/repl-DUyb-ut6.mjs +0 -9
@@ -1216,17 +1216,10 @@ function generateKaniTtsGraph(rawConfig, dtype, _groupSize, kvDtype) {
1216
1216
  dtype: "f32",
1217
1217
  storage: "activation"
1218
1218
  });
1219
- addTensor({
1220
- name: CANONICAL_KEYS.LM_HEAD,
1221
- shape: [vocab_size, hidden_size],
1222
- dtype: "f32",
1223
- storage: "constant",
1224
- safetensorsKey: CANONICAL_KEYS.EMBED
1225
- });
1226
1219
  addNode({
1227
1220
  id: "lm_head",
1228
1221
  opType: "MatMul",
1229
- inputs: ["final_norm_last", CANONICAL_KEYS.LM_HEAD],
1222
+ inputs: ["final_norm_last", CANONICAL_KEYS.EMBED],
1230
1223
  outputs: ["logits"],
1231
1224
  attributes: {
1232
1225
  M_tensor: "final_norm_last",
@@ -6067,4 +6060,4 @@ function isArchitectureSupported(name) {
6067
6060
 
6068
6061
  //#endregion
6069
6062
  export { parseKaniConfig as C, createDefaultHFKeyMapper as D, GEMMA4_VIS_KEYS as E, nanoCodecWeightMap as S, DTYPE_BYTES as T, generateNanoCodecDecoderGraph as _, generateMoonshineEncoderGraph as a, kaniLayerAlpha as b, DEFAULT_GROUP_SIZE as c, KANI_START_OF_HUMAN as d, audioTokensToCodes as f, generateKaniTtsGraph as g, foldNanoCodecWeightNorm as h, generateMoonshineDecoderGraph as i, quantizeInt4 as l, computeKaniPositions as m, isArchitectureSupported as n, moonshineEncoderFrames as o, buildKaniLayerCosSin as p, MOONSHINE_REMAINING_WORK as r, parseMoonshineConfig as s, generateGraph as t, KANI_END_OF_HUMAN as u, kaniAttentionLayerIndices as v, CANONICAL_KEYS as w, kaniSinTensor as x, kaniCosTensor as y };
6070
- //# sourceMappingURL=architectures-C1I5V3Dt.mjs.map
6063
+ //# sourceMappingURL=architectures-wan0swXu.mjs.map