Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tele-AI/Telechat
/ functions
Functions
680 in github.com/Tele-AI/Telechat
⨍
Functions
680
◇
Types & classes
127
↳
Endpoints
2
Method
_convert_id_to_token
Converts an index (integer) in a token (str) using the vocab.
models/12B/tokenization_telechat.py:90
Method
_convert_id_to_token
Converts an index (integer) in a token (str) using the vocab.
models/12B-V2_8bit/tokenization_telechat.py:90
Method
_convert_id_to_token
Converts an index (integer) in a token (str) using the vocab.
models/12B_8bit/tokenization_telechat.py:90
Method
_convert_id_to_token
Converts an index (integer) in a token (str) using the vocab.
models/12B-V2/tokenization_telechat.py:90
Method
_convert_token_to_id
Converts a token (str) in an id using the vocab.
models/12B_4bit/tokenization_telechat.py:86
Method
_convert_token_to_id
Converts a token (str) in an id using the vocab.
models/12B/tokenization_telechat.py:86
Method
_convert_token_to_id
Converts a token (str) in an id using the vocab.
models/12B-V2_8bit/tokenization_telechat.py:86
Method
_convert_token_to_id
Converts a token (str) in an id using the vocab.
models/12B_8bit/tokenization_telechat.py:86
Method
_convert_token_to_id
Converts a token (str) in an id using the vocab.
models/12B-V2/tokenization_telechat.py:86
Method
_init_weights
Initialize the weights.
models/7B_8bit/modeling_telechat.py:575
Method
_init_weights
Initialize the weights.
models/12B_4bit/modeling_telechat.py:575
Method
_init_weights
Initialize the weights.
models/7B/modeling_telechat.py:575
Method
_init_weights
Initialize the weights.
models/12B/modeling_telechat.py:575
Method
_init_weights
Initialize the weights.
models/7B_4bit/modeling_telechat.py:575
Method
_init_weights
Initialize the weights.
models/12B-V2_8bit/modeling_telechat.py:575
Method
_init_weights
Initialize the weights.
models/12B_8bit/modeling_telechat.py:575
Method
_init_weights
Initialize the weights.
models/12B-V2/modeling_telechat.py:575
Method
_set_gradient_checkpointing
(self, module: nn.Module, value: bool = False)
models/7B_8bit/modeling_telechat.py:591
Method
_set_gradient_checkpointing
(self, module: nn.Module, value: bool = False)
models/12B_4bit/modeling_telechat.py:591
Method
_set_gradient_checkpointing
(self, module: nn.Module, value: bool = False)
models/7B/modeling_telechat.py:591
Method
_set_gradient_checkpointing
(self, module: nn.Module, value: bool = False)
models/12B/modeling_telechat.py:591
Method
_set_gradient_checkpointing
(self, module: nn.Module, value: bool = False)
models/7B_4bit/modeling_telechat.py:591
Method
_set_gradient_checkpointing
(self, module: nn.Module, value: bool = False)
models/12B-V2_8bit/modeling_telechat.py:591
Method
_set_gradient_checkpointing
(self, module: nn.Module, value: bool = False)
models/12B_8bit/modeling_telechat.py:591
Method
_set_gradient_checkpointing
(self, module: nn.Module, value: bool = False)
models/12B-V2/modeling_telechat.py:591
Method
_tokenize
Returns a tokenized string.
models/12B_4bit/tokenization_telechat.py:82
Method
_tokenize
Returns a tokenized string.
models/12B/tokenization_telechat.py:82
Method
_tokenize
Returns a tokenized string.
models/12B-V2_8bit/tokenization_telechat.py:82
Method
_tokenize
Returns a tokenized string.
models/12B_8bit/tokenization_telechat.py:82
Method
_tokenize
Returns a tokenized string.
models/12B-V2/tokenization_telechat.py:82
Method
append_left
(self, message)
models/7B_8bit/generation_utils.py:30
Method
append_left
(self, message)
models/12B_4bit/generation_utils.py:32
Method
append_left
(self, message)
models/7B/generation_utils.py:30
Method
append_left
(self, message)
models/12B/generation_utils.py:32
Method
append_left
(self, message)
models/7B_4bit/generation_utils.py:30
Method
append_left
(self, message)
models/12B-V2_8bit/generation_utils.py:32
Method
append_left
(self, message)
models/12B_8bit/generation_utils.py:32
Method
append_left
(self, message)
models/12B-V2/generation_utils.py:32
Function
apply_rotary_pos_emb_torch
(q, k, cos, sin, offset: int = 0)
models/7B_8bit/modeling_telechat.py:136
Function
apply_rotary_pos_emb_torch
(q, k, cos, sin, offset: int = 0)
models/12B_4bit/modeling_telechat.py:136
Function
apply_rotary_pos_emb_torch
(q, k, cos, sin, offset: int = 0)
models/7B/modeling_telechat.py:136
Function
apply_rotary_pos_emb_torch
(q, k, cos, sin, offset: int = 0)
models/12B/modeling_telechat.py:136
Function
apply_rotary_pos_emb_torch
(q, k, cos, sin, offset: int = 0)
models/7B_4bit/modeling_telechat.py:136
Function
apply_rotary_pos_emb_torch
(q, k, cos, sin, offset: int = 0)
models/12B-V2_8bit/modeling_telechat.py:136
Function
apply_rotary_pos_emb_torch
(q, k, cos, sin, offset: int = 0)
models/12B_8bit/modeling_telechat.py:136
Function
apply_rotary_pos_emb_torch
(q, k, cos, sin, offset: int = 0)
models/12B-V2/modeling_telechat.py:136
Method
backward
(ctx, grad_output: torch.Tensor)
models/7B_8bit/modeling_telechat.py:304
Method
backward
(ctx, grad_output: torch.Tensor)
models/12B_4bit/modeling_telechat.py:304
Method
backward
(ctx, grad_output: torch.Tensor)
models/12B/modeling_telechat.py:304
Method
backward
(ctx, grad_output: torch.Tensor)
models/7B_4bit/modeling_telechat.py:304
Method
backward
(ctx, grad_output: torch.Tensor)
models/12B-V2_8bit/modeling_telechat.py:304
Method
backward
(ctx, grad_output: torch.Tensor)
models/12B_8bit/modeling_telechat.py:304
Method
backward
(ctx, grad_output: torch.Tensor)
models/12B-V2/modeling_telechat.py:304
Method
build_inputs_with_special_tokens
(self, token_ids_0, token_ids_1=None)
models/12B_4bit/tokenization_telechat.py:141
Method
build_inputs_with_special_tokens
(self, token_ids_0, token_ids_1=None)
models/12B/tokenization_telechat.py:141
Method
build_inputs_with_special_tokens
(self, token_ids_0, token_ids_1=None)
models/12B-V2_8bit/tokenization_telechat.py:141
Method
build_inputs_with_special_tokens
(self, token_ids_0, token_ids_1=None)
models/12B_8bit/tokenization_telechat.py:141
Method
build_inputs_with_special_tokens
(self, token_ids_0, token_ids_1=None)
models/12B-V2/tokenization_telechat.py:141
Method
chat
Args: tokenizer: the tokenizer of telechat question: question which the model reply in this turn hi
models/7B_8bit/modeling_telechat.py:833
Method
chat
Args: tokenizer: the tokenizer of telechat question: question which the model reply in this turn histor
models/12B_4bit/modeling_telechat.py:833
Method
chat
Args: tokenizer: the tokenizer of telechat question: question which the model reply in this turn hi
models/12B/modeling_telechat.py:833
Method
chat
Args: tokenizer: the tokenizer of telechat question: question which the model reply in this turn hi
models/7B_4bit/modeling_telechat.py:833
Method
chat
Args: tokenizer: the tokenizer of telechat question: question which the model reply in this turn histor
models/12B-V2_8bit/modeling_telechat.py:833
Method
chat
Args: tokenizer: the tokenizer of telechat question: question which the model reply in this turn histor
models/12B_8bit/modeling_telechat.py:833
Method
chat
Args: tokenizer: the tokenizer of telechat question: question which the model reply in this turn histor
models/12B-V2/modeling_telechat.py:833
Function
clear_chat_history
()
service/web_demo.py:11
Method
compute_logits
(self, hidden_states: torch.Tensor, sampling_metadata: SamplingMetadata)
service/vllm_inf/telechat_12B.py:410
Method
convert_tokens_to_string
Converts a sequence of tokens (string) in a single string.
models/12B_4bit/tokenization_telechat.py:95
Method
convert_tokens_to_string
Converts a sequence of tokens (string) in a single string.
models/12B/tokenization_telechat.py:95
Method
convert_tokens_to_string
Converts a sequence of tokens (string) in a single string.
models/12B-V2_8bit/tokenization_telechat.py:95
Method
convert_tokens_to_string
Converts a sequence of tokens (string) in a single string.
models/12B_8bit/tokenization_telechat.py:95
Method
convert_tokens_to_string
Converts a sequence of tokens (string) in a single string.
models/12B-V2/tokenization_telechat.py:95
Method
create_custom_forward
(module)
models/7B_8bit/modeling_telechat.py:700
Method
create_custom_forward
(module)
models/12B_4bit/modeling_telechat.py:700
Method
create_custom_forward
(module)
models/7B/modeling_telechat.py:700
Method
create_custom_forward
(module)
models/12B/modeling_telechat.py:700
Method
create_custom_forward
(module)
models/7B_4bit/modeling_telechat.py:700
Method
create_custom_forward
(module)
models/12B-V2_8bit/modeling_telechat.py:700
Method
create_custom_forward
(module)
models/12B_8bit/modeling_telechat.py:700
Method
create_custom_forward
(module)
models/12B-V2/modeling_telechat.py:700
Method
create_token_type_ids_from_sequences
Creates a mask from the two sequences passed to be used in a sequence-pair classification task. An ALBERT sequence pair mask has the
models/12B_4bit/tokenization_telechat.py:189
Method
create_token_type_ids_from_sequences
Creates a mask from the two sequences passed to be used in a sequence-pair classification task. An ALBERT sequence pair mask has the
models/12B/tokenization_telechat.py:189
Method
create_token_type_ids_from_sequences
Creates a mask from the two sequences passed to be used in a sequence-pair classification task. An ALBERT sequence pair mask has the
models/12B-V2_8bit/tokenization_telechat.py:189
Method
create_token_type_ids_from_sequences
Creates a mask from the two sequences passed to be used in a sequence-pair classification task. An ALBERT sequence pair mask has the
models/12B_8bit/tokenization_telechat.py:189
Method
create_token_type_ids_from_sequences
Creates a mask from the two sequences passed to be used in a sequence-pair classification task. An ALBERT sequence pair mask has the
models/12B-V2/tokenization_telechat.py:189
Method
custom_forward
(*inputs)
models/7B_8bit/modeling_telechat.py:701
Method
custom_forward
(*inputs)
models/12B_4bit/modeling_telechat.py:701
Method
custom_forward
(*inputs)
models/7B/modeling_telechat.py:701
Method
custom_forward
(*inputs)
models/12B/modeling_telechat.py:701
Method
custom_forward
(*inputs)
models/7B_4bit/modeling_telechat.py:701
Method
custom_forward
(*inputs)
models/12B-V2_8bit/modeling_telechat.py:701
Method
custom_forward
(*inputs)
models/12B_8bit/modeling_telechat.py:701
Method
custom_forward
(*inputs)
models/12B-V2/modeling_telechat.py:701
Function
doc_gptDialog_v2
(item: dict)
service/telechat_service.py:108
Function
doc_gptDialog_v3
(item: dict, )
service/telechat_service.py:150
Method
end
Flushes any remaining cache and prints a newline to stdout.
models/7B_8bit/generation_utils.py:120
Method
end
Flushes any remaining cache and prints a newline to stdout.
models/12B_4bit/generation_utils.py:123
Method
end
Flushes any remaining cache and prints a newline to stdout.
models/7B/generation_utils.py:120
Method
end
Flushes any remaining cache and prints a newline to stdout.
models/12B/generation_utils.py:123
Method
end
Flushes any remaining cache and prints a newline to stdout.
models/7B_4bit/generation_utils.py:120
← previous
next →
401–500 of 680, ranked by callers