Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LHRLAB/ChatKBQA
/ types & classes
Types & classes
61 in github.com/LHRLAB/ChatKBQA
⨍
Functions
419
◇
Types & classes
61
↳
Endpoints
2
↓ 4 callers
Class
ChatModel
LLMs/LLaMA/src/llmtuner/chat/stream_chat.py:11
↓ 3 callers
Class
ChatCompletionResponseStreamChoice
LLMs/LLaMA/src/llmtuner/api/protocol.py:60
↓ 3 callers
Class
ChatCompletionStreamResponse
LLMs/LLaMA/src/llmtuner/api/protocol.py:81
↓ 3 callers
Class
DatasetAttr
LLMs/LLaMA/src/llmtuner/hparams/data_args.py:8
↓ 3 callers
Class
DeltaMessage
LLMs/LLaMA/src/llmtuner/api/protocol.py:38
↓ 2 callers
Class
AverageMeter
r""" Computes and stores the average and current value.
LLMs/LLaMA/src/llmtuner/extras/misc.py:10
↓ 2 callers
Class
IdentifiedEntity
An entity identified in some text.
entity_retrieval/aqqu_entity_linker.py:102
↓ 2 callers
Class
LogCallback
LLMs/LLaMA/src/llmtuner/extras/callbacks.py:42
↓ 2 callers
Class
Manager
LLMs/LLaMA/src/llmtuner/webui/manager.py:10
↓ 2 callers
Class
ParseError
parse_sparql_webqsp.py:9
↓ 2 callers
Class
ParseError
parse_sparql_cwq.py:7
↓ 2 callers
Class
SavePeftModelCallback
LLMs/LLaMA/src/llmtuner/extras/callbacks.py:20
↓ 2 callers
Class
WebChatModel
LLMs/LLaMA/src/llmtuner/webui/chat.py:11
↓ 1 callers
Class
AndNode
components/expr_parser.py:105
↓ 1 callers
Class
ArgNode
components/expr_parser.py:144
↓ 1 callers
Class
CastOutputToFloat
LLMs/LLaMA/src/llmtuner/tuner/core/utils.py:66
↓ 1 callers
Class
ChatCompletionResponse
LLMs/LLaMA/src/llmtuner/api/protocol.py:72
↓ 1 callers
Class
ChatCompletionResponseChoice
LLMs/LLaMA/src/llmtuner/api/protocol.py:54
↓ 1 callers
Class
ChatCompletionResponseUsage
LLMs/LLaMA/src/llmtuner/api/protocol.py:66
↓ 1 callers
Class
ChatMessage
LLMs/LLaMA/src/llmtuner/api/protocol.py:33
↓ 1 callers
Class
CompNode
components/expr_parser.py:153
↓ 1 callers
Class
ComputeMetrics
r""" Wraps the tokenizer into metric functions, used in Seq2SeqPeftTrainer.
LLMs/LLaMA/src/llmtuner/tuner/sft/metric.py:16
↓ 1 callers
Class
CountNode
components/expr_parser.py:129
↓ 1 callers
Class
CustomDPOTrainer
LLMs/LLaMA/src/llmtuner/tuner/dpo/trainer.py:14
↓ 1 callers
Class
CustomPPOTrainer
r""" Inherits PPOTrainer.
LLMs/LLaMA/src/llmtuner/tuner/ppo/trainer.py:26
↓ 1 callers
Class
CustomSeq2SeqTrainer
r""" Inherits PeftTrainer to compute generative metrics such as BLEU and ROUGE.
LLMs/LLaMA/src/llmtuner/tuner/sft/trainer.py:19
↓ 1 callers
Class
DPODataCollatorWithPadding
r""" Data collator for pairwise data.
LLMs/LLaMA/src/llmtuner/tuner/dpo/collator.py:8
↓ 1 callers
Class
DateValue
A date. It returns a different sparql name from a value or normal entity.
entity_retrieval/aqqu_entity_linker.py:78
↓ 1 callers
Class
EntityNode
components/expr_parser.py:168
↓ 1 callers
Class
FinetuningArguments
r""" Arguments pertaining to which techniques we are going to fine-tuning with.
LLMs/LLaMA/src/llmtuner/hparams/finetuning_args.py:7
↓ 1 callers
Class
GeneratingArguments
r""" Arguments pertaining to specify the decoding parameters.
LLMs/LLaMA/src/llmtuner/hparams/generating_args.py:6
↓ 1 callers
Class
JoinNode
components/expr_parser.py:136
↓ 1 callers
Class
LoggerHandler
LLMs/LLaMA/src/llmtuner/extras/logging.py:5
↓ 1 callers
Class
ModelCard
LLMs/LLaMA/src/llmtuner/api/protocol.py:18
↓ 1 callers
Class
ModelList
LLMs/LLaMA/src/llmtuner/api/protocol.py:28
↓ 1 callers
Class
PairwiseDataCollatorWithPadding
r""" Data collator for pairwise data.
LLMs/LLaMA/src/llmtuner/tuner/rm/collator.py:8
↓ 1 callers
Class
PairwiseTrainer
r""" Inherits PeftTrainer to compute pairwise loss.
LLMs/LLaMA/src/llmtuner/tuner/rm/trainer.py:17
↓ 1 callers
Class
Parser
parse_sparql_webqsp.py:13
↓ 1 callers
Class
Parser
parse_sparql_cwq.py:11
↓ 1 callers
Class
RNode
components/expr_parser.py:117
↓ 1 callers
Class
Runner
LLMs/LLaMA/src/llmtuner/webui/runner.py:20
↓ 1 callers
Class
SchemaNode
components/expr_parser.py:175
↓ 1 callers
Class
ValNode
components/expr_parser.py:182
Class
ASTNode
components/expr_parser.py:19
Class
ChatCompletionRequest
LLMs/LLaMA/src/llmtuner/api/protocol.py:43
Class
DataArguments
r""" Arguments pertaining to what data we are going to input our model for training and evaluation.
LLMs/LLaMA/src/llmtuner/hparams/data_args.py:25
Class
Entity
An entity. There are different types of entities inheriting from this class, e.g., knowledge base entities and values.
entity_retrieval/aqqu_entity_linker.py:11
Class
EntityLinker
entity_retrieval/aqqu_entity_linker.py:150
Class
EntitySurfaceIndexMemory
A memory based index for finding entities. Remember to delete the old _mid_vocab and _surface_index if updated the file (or choose a different pre
entity_retrieval/surface_index_memory.py:17
Class
Finish
LLMs/LLaMA/src/llmtuner/api/protocol.py:13
Class
GeneralArguments
r""" Arguments pertaining to which stage we are going to perform.
LLMs/LLaMA/src/llmtuner/hparams/general_args.py:6
Class
KBEntity
A KB entity.
entity_retrieval/aqqu_entity_linker.py:30
Class
LFCandidate
components/dataset_utils.py:16
Class
ListDataset
components/dataset_utils.py:3
Class
Llama2Template
LLMs/LLaMA/src/llmtuner/extras/template.py:155
Class
LlamaFlashAttention2
LLMs/LLaMA/src/llmtuner/extras/patches/llama_patch.py:108
Class
LlamaShiftShortAttention
LLMs/LLaMA/src/llmtuner/extras/patches/llama_patch.py:19
Class
ModelArguments
r""" Arguments pertaining to which model/config/tokenizer we are going to fine-tune.
LLMs/LLaMA/src/llmtuner/hparams/model_args.py:7
Class
Role
LLMs/LLaMA/src/llmtuner/api/protocol.py:7
Class
Template
LLMs/LLaMA/src/llmtuner/extras/template.py:15
Class
Value
A value. Also has a name identical to its value.
entity_retrieval/aqqu_entity_linker.py:55