MCPcopy Create free account

hub / github.com/0hq/WebGPT / functions

Functions245 in github.com/0hq/WebGPT

↓ 1 callersMethodinitBindGroups
()
instructions.js:84
↓ 1 callersMethodinitBindGroups
()
condensed/condensed.js:131
↓ 1 callersMethodinitBindGroups
()
other/scratchpad.js:35
↓ 1 callersMethodinitBuffersAndBindGroup
()
visuals.js:161
↓ 1 callersMethodinitFoundation
()
visuals.js:21
↓ 1 callersMethodinitLayoutAndPipeline
()
visuals.js:59
↓ 1 callersMethodinitTensor
(data, dims, ops)
other/scratchpad.js:433
↓ 1 callersMethodinitUniforms
()
visuals.js:52
↓ 1 callersMethodinitialize
()
model.js:23
↓ 1 callersMethodinitialize
()
condensed/condensed.js:1453
↓ 1 callersMethodinitialize
()
other/scratchpad.js:350
↓ 1 callersMethodinitialize
()
other/test.js:354
↓ 1 callersFunctioninitializeOperations
(device)
condensed/condensed.js:13
↓ 1 callersMethodload
()
condensed/condensed.js:1232
↓ 1 callersMethodloadEmbeddings
(params, weightsFolder)
model.js:339
↓ 1 callersMethodloadFinalLayerNorm
(params, weightsFolder)
model.js:377
↓ 1 callersMethodloadLayer
(params, weightsFolder, layerIndex)
model.js:403
↓ 1 callersMethodloadLayers
(params, weightsFolder)
model.js:391
↓ 1 callersMethodloadModel
(folder)
model.js:270
↓ 1 callersMethodloadModel
(folder)
condensed/condensed.js:1688
↓ 1 callersMethodloadParameters
(weightsFolder)
model.js:289
↓ 1 callersMethodloadPositionalEmbeddings
(params, weightsFolder)
model.js:369
↓ 1 callersFunctionload_pretrained_gpt_model
(model_type)
other/conversion_scripts/convert_pretrained_pytorch.py:7
↓ 1 callersFunctionmain
(model_type, folder_name)
other/conversion_scripts/convert_pretrained_pytorch.py:45
↓ 1 callersFunctionmultiplyMatrices
(A, B, C, M, N, K)
other/int8-gemm.js:79
↓ 1 callersMethodnewFusedInstance
( seq_length, n_embd, attentionDotProductScale, n_head, head_size, inputBuffer, qW
instructions.js:985
↓ 1 callersMethodnewFusedInstance
( seq_length, n_embd, attentionDotProductScale, n_head, head_size, inputBuffer, qW
condensed/condensed.js:992
↓ 1 callersMethodnewInstance
(rows, cols, shared, bufA, bufB)
other/scratchpad.js:94
↓ 1 callersMethodnewInstance
(row, col, inputBuffer)
other/test.js:7
↓ 1 callersFunctionreshapeRecursively
(flatArray, shape)
other/validation/validation.js:169
↓ 1 callersFunctionrun
()
other/int8-gemm.js:91
↓ 1 callersMethodrun
(idx)
model.js:104
↓ 1 callersMethodrun
(idx)
condensed/condensed.js:1536
↓ 1 callersFunctionrunGPTValidation
( device, queue, seq_length, vocab_size, n_embd, n_heads, n_layers, attentionDotProductScale,
other/validation/validation.js:1
↓ 1 callersFunctionsampleFromDistribution
(probs)
condensed/condensed.js:37
↓ 1 callersFunctionsave_model_args_to_json
(model, folder_name)
other/conversion_scripts/convert_pretrained_pytorch.py:40
↓ 1 callersFunctionsave_model_args_to_json
(checkpoint, folder_name)
other/conversion_scripts/convert_checkpoint_pytorch.py:25
↓ 1 callersFunctionsave_weights_to_bin_files
(checkpoint, folder_name)
other/conversion_scripts/convert_checkpoint_pytorch.py:10
↓ 1 callersFunctionselectTopK
(probs, top_k)
globals.js:66
↓ 1 callersFunctionselectTopK
(probs, top_k)
condensed/condensed.js:56
↓ 1 callersMethodtest
()
other/scratchpad.js:380
↓ 1 callersMethodtest
()
other/test.js:368
↓ 1 callersMethodunloadBuffers
()
other/test.js:492
↓ 1 callersMethodupdateModelBuffer
()
visuals.js:48
↓ 1 callersMethodupdateUniforms
()
visuals.js:195
Methodbg
(types)
instructions.js:85
Methodbg
(types)
condensed/condensed.js:132
Methodbg
(types)
other/scratchpad.js:36
Methodbg
(types)
other/scratchpad.js:461
Methodconstructor
(folder, type)
model.js:2
Methodconstructor
()
instructions.js:8
Methodconstructor
()
instructions.js:142
Methodconstructor
()
instructions.js:323
Methodconstructor
()
instructions.js:388
Methodconstructor
()
instructions.js:554
Methodconstructor
()
instructions.js:670
Methodconstructor
()
instructions.js:752
Methodconstructor
()
instructions.js:831
Methodconstructor
()
instructions.js:956
Methodconstructor
()
tokenizer.js:2
Methodconstructor
()
tokenizer.js:26
Methodconstructor
()
tokenizer.js:50
Methodconstructor
(model)
visuals.js:5
Methodconstructor
()
condensed/condensed.js:97
Methodconstructor
()
condensed/condensed.js:168
Methodconstructor
()
condensed/condensed.js:352
Methodconstructor
()
condensed/condensed.js:419
Methodconstructor
()
condensed/condensed.js:589
Methodconstructor
()
condensed/condensed.js:709
Methodconstructor
()
condensed/condensed.js:792
Methodconstructor
()
condensed/condensed.js:835
Methodconstructor
()
condensed/condensed.js:962
Methodconstructor
()
condensed/condensed.js:1226
Methodconstructor
()
condensed/condensed.js:1250
Methodconstructor
()
condensed/condensed.js:1274
Methodconstructor
(folder, type)
condensed/condensed.js:1434
Methodconstructor
(device)
other/scratchpad.js:2
Methodconstructor
(device)
other/scratchpad.js:76
Methodconstructor
(folder, type, doAttentionCache = false)
other/scratchpad.js:329
Methodconstructor
()
other/test.js:2
Methodconstructor
()
other/test.js:27
Methodconstructor
()
other/test.js:175
Methodconstructor
()
other/test.js:255
Methodconstructor
(folder, type)
other/test.js:340
Methoddecode
(arr)
tokenizer.js:41
Methoddecode
(tokens)
tokenizer.js:111
Methoddecode
(arr)
condensed/condensed.js:1265
Methoddecode
(tokens)
condensed/condensed.js:1335
MethoddestroyBuffers
()
other/scratchpad.js:69
FunctiondestroyOperations
()
globals.js:25
Methodencode
(str)
tokenizer.js:37
Methodencode
(text)
tokenizer.js:91
Methodencode
(str)
condensed/condensed.js:1261
Methodencode
(text)
condensed/condensed.js:1315
FunctionformatAsMatrix
(floatArray, dimA, dimB)
globals.js:103
FunctionformatAsMatrix
(floatArray, dimA, dimB)
condensed/condensed.js:88
Methodgenerate
(prompt, max_new_tokens, top_k, temperature)
model.js:53
Methodgenerate
(prompt, max_new_tokens, top_k, temperature)
condensed/condensed.js:1487
MethodgetSimpleCausalMaskPipeline
()
other/test.js:33
MethodgetVocabSize
()
tokenizer.js:12
← previousnext →101–200 of 245, ranked by callers