Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KoboldAI/KoboldAI-Client
/ functions
Functions
1,813 in github.com/KoboldAI/KoboldAI-Client
⨍
Functions
1,813
◇
Types & classes
475
↳
Endpoints
63
Function
get_input_embeddings_module_name
(model: PreTrainedModel)
utils.py:581
Function
get_layers_module_names
(model: PreTrainedModel)
utils.py:565
Function
get_message
(msg)
aiserver.py:3593
Function
get_missing_module_names
(model: PreTrainedModel, names: List[str])
utils.py:597
Function
get_model
--- get: summary: Retrieve the current model string description: |-2 Gets the current model string, which is shown in the titl
aiserver.py:7835
Function
get_num_shards
(filename)
utils.py:545
Method
get_original_key
(key)
prompt_tuner.py:761
Function
get_rng_seed
()
tpu_mtj_backend.py:62
Function
get_rng_state
()
tpu_mtj_backend.py:74
Function
get_sharded_checkpoint_num_tensors
(pretrained_model_name_or_path, filename, cache_dir=None, force_download=False, proxies=None, resume_download=
utils.py:555
Function
get_story
--- get: summary: Retrieve the entire story tags: - story description: |-2 Returns the entire story currently sh
aiserver.py:8160
Function
get_story_end
--- get: summary: Retrieve the last action of the story tags: - story description: |-2 Returns the last action o
aiserver.py:7958
Function
get_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
Function
get_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
Function
get_story_num
--- get: summary: Retrieve a story chunk tags: - story description: |-2 Returns information about a story chunk
aiserver.py:8237
Function
get_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
Function
get_story_nums
--- get: summary: Retrieve a list of the nums of the chunks in the current story tags: - story description: |-2
aiserver.py:8185
Function
get_story_nums_num
--- get: summary: Determine whether or not there is a story chunk with the given num tags: - story parameters: -
aiserver.py:8210
Function
get_version
--- get: summary: Current API version tags: - info description: |-2 Returns the version of the API that you are
aiserver.py:7726
Function
get_version_latest
--- get: summary: Latest API version tags: - info description: |-2 Returns the latest API version available.
aiserver.py:7748
Function
get_version_list
--- get: summary: List API versions tags: - info description: |-2 Returns a list of available API versions sorte
aiserver.py:7770
Function
get_world_info
--- get: summary: Retrieve all world info entries tags: - world_info description: |-2 Returns all world info ent
aiserver.py:8535
Function
get_world_info_folders
--- get: summary: Retrieve all world info folders tags: - world_info description: |-2 Returns details about all
aiserver.py:8633
Function
get_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
Function
get_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
Function
get_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
Function
get_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
Function
get_world_info_folders_uid
--- get: summary: Retrieve all world info entries in the given folder tags: - world_info parameters: - name: uid
aiserver.py:8766
Function
get_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
Function
get_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
Function
get_world_info_folders_uids
--- get: summary: Retrieve the UIDs all world info folders tags: - world_info description: |-2 Returns the `uid`
aiserver.py:8657
Function
get_world_info_uid
--- get: summary: Retrieve information about the world info entry with the given UID tags: - world_info parameters:
aiserver.py:8995
Function
get_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
Function
get_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
Function
get_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
Function
get_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
Function
get_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
Function
get_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
Function
get_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
Function
get_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
Function
getdirpath
(dir, title)
fileops.py:50
Function
getloadpath
(dir, title, types)
fileops.py:31
Function
getsavepath
(dir, title, types)
fileops.py:11
Function
getspfiles
(model_dimension: int)
fileops.py:145
Function
getstoryfiles
()
fileops.py:86
Function
getusfiles
(long_desc=False)
fileops.py:179
Function
h
(t,e)
static/bootstrap.min.js:6
Function
handler
(e)
aiserver.py:550
Function
he
static/swagger-ui/swagger-ui.js:2
Function
highlighted
()
static/swagger-ui/swagger-ui-bundle.js:2
Function
hn
()
static/swagger-ui/swagger-ui.js:2
Function
http_get
Download remote file. Do not gobble up errors.
aiserver.py:1764
Function
http_get
Download remote file. Do not gobble up errors.
prompt_tuner.py:81
Function
i
()
static/jquery-ui.sortable.min.js:6
Function
index
()
aiserver.py:2836
Function
infer_dynamic
( context: np.array, numseqs=1, gen_len=80, soft_embeddings: Optional[np.array] = None, so
tpu_mtj_backend.py:824
Function
infer_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
Function
inner
(x: __T)
tpu_mtj_backend.py:136
Function
install
(e)
static/swagger-ui/swagger-ui-bundle.js:2
Function
ir
static/swagger-ui/swagger-ui.js:2
Function
isShownKeyFromUrlHashArray
(e,t)
static/swagger-ui/swagger-ui.js:2
Function
isShownKeyFromUrlHashArray
(e,t)
static/swagger-ui/swagger-ui-bundle.js:2
Function
is_init_log
(record)
logger.py:31
Function
is_msg_log
(record)
logger.py:38
Function
is_stderr_log
(record)
logger.py:45
Function
is_stdout_log
(record)
logger.py:24
Function
je
static/swagger-ui/swagger-ui.js:2
Function
ji
(e,t)
static/swagger-ui/swagger-ui-bundle.js:2
Method
kaiming_size
(self)
prompt_tuner.py:452
Function
ke
(e)
static/swagger-ui/swagger-ui.js:2
Function
ki
(e,t,r)
static/swagger-ui/swagger-ui-bundle.js:2
Function
layernorm_init
(self, *args, device=None, **kwargs)
torch_lazy_loader.py:316
Function
lazy_load_callback
(model_dict: Dict[str, Union[torch_lazy_loader.LazyTensor, torch.Tensor]], f, **_)
aiserver.py:2349
Method
lazy_load_callback
(model_dict: Dict[str, Union[torch_lazy_loader.LazyTensor, torch.Tensor]], f, **_)
prompt_tuner.py:753
Method
lazy_load_spec
(self)
prompt_tuner.py:442
Function
linear_init
(self, *args, device=None, **kwargs)
torch_lazy_loader.py:310
Method
load
(self, *args, **kwargs)
torch_lazy_loader.py:155
Function
load_callback
(filename, modulename)
aiserver.py:2968
Function
load_model
(path: str, driver_version="tpu_driver0.1_dev20210607", hf_checkpoint=False, **kwargs)
tpu_mtj_backend.py:1052
Function
lua_compute_context
(submission, entries, folders, kwargs)
aiserver.py:3063
Function
lua_decode
(tokens)
aiserver.py:3037
Function
lua_encode
(string)
aiserver.py:3050
Function
lua_folder_get_attr
(uid, k)
aiserver.py:3143
Function
lua_folder_set_attr
(uid, k, v)
aiserver.py:3154
Function
lua_get_attr
(uid, k)
aiserver.py:3104
Function
lua_get_authorsnote
()
aiserver.py:3345
Function
lua_get_authorsnotetemplate
()
aiserver.py:3360
Function
lua_get_genamt
()
aiserver.py:3169
Function
lua_get_memory
()
aiserver.py:3330
Function
lua_get_modelbackend
()
aiserver.py:3452
Function
lua_get_modeltype
()
aiserver.py:3423
Function
lua_get_numseqs
()
aiserver.py:3185
Function
lua_has_setting
(setting)
aiserver.py:3201
Function
lua_is_custommodel
()
aiserver.py:3465
Function
lua_print
(msg)
aiserver.py:3017
Function
lua_set_attr
(uid, k, v)
aiserver.py:3123
Function
lua_set_authorsnote
(m)
aiserver.py:3352
Function
lua_set_authorsnotetemplate
(m)
aiserver.py:3367
Function
lua_set_chunk
(k, v)
aiserver.py:3383
Function
lua_set_genamt
(genamt)
aiserver.py:3176
← previous
next →
1,401–1,500 of 1,813, ranked by callers