AQIT 0.1.0
Loading...
Searching...
No Matches
aquin.compute.hf_llm_shim.HfLlmShim Member List

This is the complete list of members for aquin.compute.hf_llm_shim.HfLlmShim, including all inherited members.

__call__(self, torch.Tensor tokens)aquin.compute.hf_llm_shim.HfLlmShim
__init__(self, Any hf_model, Any tokenizer, *, str hf_name, int n_layers, int d_model, int n_heads)aquin.compute.hf_llm_shim.HfLlmShim
_backboneaquin.compute.hf_llm_shim.HfLlmShimprotected
_embedaquin.compute.hf_llm_shim.HfLlmShimprotected
_final_normaquin.compute.hf_llm_shim.HfLlmShimprotected
_forward_logits(self, torch.Tensor tokens)aquin.compute.hf_llm_shim.HfLlmShimprotected
_hooks_from_filter(self, Any names_filter)aquin.compute.hf_llm_shim.HfLlmShimprotected
_layersaquin.compute.hf_llm_shim.HfLlmShimprotected
_lm_headaquin.compute.hf_llm_shim.HfLlmShimprotected
_unembedaquin.compute.hf_llm_shim.HfLlmShimprotected
blocks(self)aquin.compute.hf_llm_shim.HfLlmShim
cfgaquin.compute.hf_llm_shim.HfLlmShim
deviceaquin.compute.hf_llm_shim.HfLlmShim
eval(self)aquin.compute.hf_llm_shim.HfLlmShim
from_pretrained(cls, str hf_name, dict[str, Any] cfg, *, torch.dtype dtype, str device, dict[str, Any]|None hf_kwargs=None)aquin.compute.hf_llm_shim.HfLlmShim
hf_modelaquin.compute.hf_llm_shim.HfLlmShim
ln_final(self)aquin.compute.hf_llm_shim.HfLlmShim
named_parameters(self, str prefix="", bool recurse=True)aquin.compute.hf_llm_shim.HfLlmShim
parameters(self, bool recurse=True)aquin.compute.hf_llm_shim.HfLlmShim
run_with_cache(self, torch.Tensor tokens, Any names_filter=None, str|None return_type="logits")aquin.compute.hf_llm_shim.HfLlmShim
run_with_hooks(self, torch.Tensor tokens, list[tuple[str, Callable[..., torch.Tensor]]]|None fwd_hooks=None, str|None return_type="logits")aquin.compute.hf_llm_shim.HfLlmShim
to(self, str|torch.device device)aquin.compute.hf_llm_shim.HfLlmShim
to_string(self, Any tokens)aquin.compute.hf_llm_shim.HfLlmShim
to_tokens(self, str|torch.Tensor text, bool prepend_bos=False)aquin.compute.hf_llm_shim.HfLlmShim
tokenizeraquin.compute.hf_llm_shim.HfLlmShim
unembed(self)aquin.compute.hf_llm_shim.HfLlmShim
W_E(self)aquin.compute.hf_llm_shim.HfLlmShim
W_U(self)aquin.compute.hf_llm_shim.HfLlmShim