MCPcopy Create free account

hub / github.com/KoboldAI/KoboldAI-Client / functions

Functions1,813 in github.com/KoboldAI/KoboldAI-Client

Functionget_input_embeddings_module_name
(model: PreTrainedModel)
utils.py:581
Functionget_layers_module_names
(model: PreTrainedModel)
utils.py:565
Functionget_message
(msg)
aiserver.py:3593
Functionget_missing_module_names
(model: PreTrainedModel, names: List[str])
utils.py:597
Functionget_model
--- get: summary: Retrieve the current model string description: |-2 Gets the current model string, which is shown in the titl
aiserver.py:7835
Functionget_num_shards
(filename)
utils.py:545
Methodget_original_key
(key)
prompt_tuner.py:761
Functionget_rng_seed
()
tpu_mtj_backend.py:62
Functionget_rng_state
()
tpu_mtj_backend.py:74
Functionget_sharded_checkpoint_num_tensors
(pretrained_model_name_or_path, filename, cache_dir=None, force_download=False, proxies=None, resume_download=
utils.py:555
Functionget_story
--- get: summary: Retrieve the entire story tags: - story description: |-2 Returns the entire story currently sh
aiserver.py:8160
Functionget_story_end
--- get: summary: Retrieve the last action of the story tags: - story description: |-2 Returns the last action o
aiserver.py:7958
Functionget_story_end_num
--- get: summary: Retrieve the num of the last action of the story tags: - story description: |-2 Returns the `n
aiserver.py:7994
Functionget_story_end_text
--- get: summary: Retrieve the text of the last action of the story tags: - story description: |-2 Returns the t
aiserver.py:8030
Functionget_story_num
--- get: summary: Retrieve a story chunk tags: - story description: |-2 Returns information about a story chunk
aiserver.py:8237
Functionget_story_num_text
--- get: summary: Retrieve the text of a story chunk tags: - story description: |-2 Returns the text inside a st
aiserver.py:8285
Functionget_story_nums
--- get: summary: Retrieve a list of the nums of the chunks in the current story tags: - story description: |-2
aiserver.py:8185
Functionget_story_nums_num
--- get: summary: Determine whether or not there is a story chunk with the given num tags: - story parameters: -
aiserver.py:8210
Functionget_version
--- get: summary: Current API version tags: - info description: |-2 Returns the version of the API that you are
aiserver.py:7726
Functionget_version_latest
--- get: summary: Latest API version tags: - info description: |-2 Returns the latest API version available.
aiserver.py:7748
Functionget_version_list
--- get: summary: List API versions tags: - info description: |-2 Returns a list of available API versions sorte
aiserver.py:7770
Functionget_world_info
--- get: summary: Retrieve all world info entries tags: - world_info description: |-2 Returns all world info ent
aiserver.py:8535
Functionget_world_info_folders
--- get: summary: Retrieve all world info folders tags: - world_info description: |-2 Returns details about all
aiserver.py:8633
Functionget_world_info_folders_folder_uid_uids_entry_uid
--- get: summary: Determine whether or not there is a world info entry with the given UID in the world info folder with the given UID
aiserver.py:8868
Functionget_world_info_folders_none
--- get: summary: Retrieve all world info entries not in a folder tags: - world_info description: |-2 Returns al
aiserver.py:8681
Functionget_world_info_folders_none_uids
--- get: summary: Retrieve the UIDs of all world info entries not in a folder tags: - world_info description: |-2
aiserver.py:8710
Functionget_world_info_folders_none_uids_uid
--- get: summary: Determine whether or not there is a world info entry with the given UID that is not in a world info folder tags:
aiserver.py:8739
Functionget_world_info_folders_uid
--- get: summary: Retrieve all world info entries in the given folder tags: - world_info parameters: - name: uid
aiserver.py:8766
Functionget_world_info_folders_uid_name
--- get: summary: Retrieve the name of the world info folder with the given UID tags: - world_info parameters: -
aiserver.py:8903
Functionget_world_info_folders_uid_uids
--- get: summary: Retrieve the UIDs of all world info entries in the given folder tags: - world_info parameters:
aiserver.py:8817
Functionget_world_info_folders_uids
--- get: summary: Retrieve the UIDs all world info folders tags: - world_info description: |-2 Returns the `uid`
aiserver.py:8657
Functionget_world_info_uid
--- get: summary: Retrieve information about the world info entry with the given UID tags: - world_info parameters:
aiserver.py:8995
Functionget_world_info_uid_comment
--- get: summary: Retrieve the comment of the world info entry with the given UID tags: - world_info parameters:
aiserver.py:9037
Functionget_world_info_uid_constant
--- get: summary: Retrieve the constant mode state of the world info entry with the given UID tags: - world_info paramet
aiserver.py:9497
Functionget_world_info_uid_content
--- get: summary: Retrieve the content of the world info entry with the given UID tags: - world_info parameters:
aiserver.py:9129
Functionget_world_info_uid_key
--- get: summary: Retrieve the keys or primary keys of the world info entry with the given UID tags: - world_info parame
aiserver.py:9221
Functionget_world_info_uid_keysecondary
--- get: summary: Retrieve the secondary keys of the world info entry with the given UID tags: - world_info parameters:
aiserver.py:9313
Functionget_world_info_uid_selective
--- get: summary: Retrieve the selective mode state of the world info entry with the given UID tags: - world_info parame
aiserver.py:9405
Functionget_world_info_uids
--- get: summary: Retrieve the UIDs of all world info entries tags: - world_info description: |-2 Returns in a s
aiserver.py:8571
Functionget_world_info_uids_uid
--- get: summary: Determine whether or not there is a world info entry with the given UID tags: - world_info parameters:
aiserver.py:8606
Functiongetdirpath
(dir, title)
fileops.py:50
Functiongetloadpath
(dir, title, types)
fileops.py:31
Functiongetsavepath
(dir, title, types)
fileops.py:11
Functiongetspfiles
(model_dimension: int)
fileops.py:145
Functiongetstoryfiles
()
fileops.py:86
Functiongetusfiles
(long_desc=False)
fileops.py:179
Functionh
(t,e)
static/bootstrap.min.js:6
Functionhandler
(e)
aiserver.py:550
Functionhe
static/swagger-ui/swagger-ui.js:2
Functionhighlighted
()
static/swagger-ui/swagger-ui-bundle.js:2
Functionhn
()
static/swagger-ui/swagger-ui.js:2
Functionhttp_get
Download remote file. Do not gobble up errors.
aiserver.py:1764
Functionhttp_get
Download remote file. Do not gobble up errors.
prompt_tuner.py:81
Functioni
()
static/jquery-ui.sortable.min.js:6
Functionindex
()
aiserver.py:2836
Functioninfer_dynamic
( context: np.array, numseqs=1, gen_len=80, soft_embeddings: Optional[np.array] = None, so
tpu_mtj_backend.py:824
Functioninfer_static
( context: np.array, top_p=0.9, temp=0.5, top_k=0, tfs=1.0, typical=1.0, top_a=0.0
tpu_mtj_backend.py:857
Functioninner
(x: __T)
tpu_mtj_backend.py:136
Functioninstall
(e)
static/swagger-ui/swagger-ui-bundle.js:2
Functionir
static/swagger-ui/swagger-ui.js:2
FunctionisShownKeyFromUrlHashArray
(e,t)
static/swagger-ui/swagger-ui.js:2
FunctionisShownKeyFromUrlHashArray
(e,t)
static/swagger-ui/swagger-ui-bundle.js:2
Functionis_init_log
(record)
logger.py:31
Functionis_msg_log
(record)
logger.py:38
Functionis_stderr_log
(record)
logger.py:45
Functionis_stdout_log
(record)
logger.py:24
Functionje
static/swagger-ui/swagger-ui.js:2
Functionji
(e,t)
static/swagger-ui/swagger-ui-bundle.js:2
Methodkaiming_size
(self)
prompt_tuner.py:452
Functionke
(e)
static/swagger-ui/swagger-ui.js:2
Functionki
(e,t,r)
static/swagger-ui/swagger-ui-bundle.js:2
Functionlayernorm_init
(self, *args, device=None, **kwargs)
torch_lazy_loader.py:316
Functionlazy_load_callback
(model_dict: Dict[str, Union[torch_lazy_loader.LazyTensor, torch.Tensor]], f, **_)
aiserver.py:2349
Methodlazy_load_callback
(model_dict: Dict[str, Union[torch_lazy_loader.LazyTensor, torch.Tensor]], f, **_)
prompt_tuner.py:753
Methodlazy_load_spec
(self)
prompt_tuner.py:442
Functionlinear_init
(self, *args, device=None, **kwargs)
torch_lazy_loader.py:310
Methodload
(self, *args, **kwargs)
torch_lazy_loader.py:155
Functionload_callback
(filename, modulename)
aiserver.py:2968
Functionload_model
(path: str, driver_version="tpu_driver0.1_dev20210607", hf_checkpoint=False, **kwargs)
tpu_mtj_backend.py:1052
Functionlua_compute_context
(submission, entries, folders, kwargs)
aiserver.py:3063
Functionlua_decode
(tokens)
aiserver.py:3037
Functionlua_encode
(string)
aiserver.py:3050
Functionlua_folder_get_attr
(uid, k)
aiserver.py:3143
Functionlua_folder_set_attr
(uid, k, v)
aiserver.py:3154
Functionlua_get_attr
(uid, k)
aiserver.py:3104
Functionlua_get_authorsnote
()
aiserver.py:3345
Functionlua_get_authorsnotetemplate
()
aiserver.py:3360
Functionlua_get_genamt
()
aiserver.py:3169
Functionlua_get_memory
()
aiserver.py:3330
Functionlua_get_modelbackend
()
aiserver.py:3452
Functionlua_get_modeltype
()
aiserver.py:3423
Functionlua_get_numseqs
()
aiserver.py:3185
Functionlua_has_setting
(setting)
aiserver.py:3201
Functionlua_is_custommodel
()
aiserver.py:3465
Functionlua_print
(msg)
aiserver.py:3017
Functionlua_set_attr
(uid, k, v)
aiserver.py:3123
Functionlua_set_authorsnote
(m)
aiserver.py:3352
Functionlua_set_authorsnotetemplate
(m)
aiserver.py:3367
Functionlua_set_chunk
(k, v)
aiserver.py:3383
Functionlua_set_genamt
(genamt)
aiserver.py:3176
← previousnext →1,401–1,500 of 1,813, ranked by callers