MCPcopy Create free account

hub / github.com/LHRLAB/ChatKBQA / types & classes

Types & classes61 in github.com/LHRLAB/ChatKBQA

↓ 4 callersClassChatModel
LLMs/LLaMA/src/llmtuner/chat/stream_chat.py:11
↓ 3 callersClassChatCompletionResponseStreamChoice
LLMs/LLaMA/src/llmtuner/api/protocol.py:60
↓ 3 callersClassChatCompletionStreamResponse
LLMs/LLaMA/src/llmtuner/api/protocol.py:81
↓ 3 callersClassDatasetAttr
LLMs/LLaMA/src/llmtuner/hparams/data_args.py:8
↓ 3 callersClassDeltaMessage
LLMs/LLaMA/src/llmtuner/api/protocol.py:38
↓ 2 callersClassAverageMeter
r""" Computes and stores the average and current value.
LLMs/LLaMA/src/llmtuner/extras/misc.py:10
↓ 2 callersClassIdentifiedEntity
An entity identified in some text.
entity_retrieval/aqqu_entity_linker.py:102
↓ 2 callersClassLogCallback
LLMs/LLaMA/src/llmtuner/extras/callbacks.py:42
↓ 2 callersClassManager
LLMs/LLaMA/src/llmtuner/webui/manager.py:10
↓ 2 callersClassParseError
parse_sparql_webqsp.py:9
↓ 2 callersClassParseError
parse_sparql_cwq.py:7
↓ 2 callersClassSavePeftModelCallback
LLMs/LLaMA/src/llmtuner/extras/callbacks.py:20
↓ 2 callersClassWebChatModel
LLMs/LLaMA/src/llmtuner/webui/chat.py:11
↓ 1 callersClassAndNode
components/expr_parser.py:105
↓ 1 callersClassArgNode
components/expr_parser.py:144
↓ 1 callersClassCastOutputToFloat
LLMs/LLaMA/src/llmtuner/tuner/core/utils.py:66
↓ 1 callersClassChatCompletionResponse
LLMs/LLaMA/src/llmtuner/api/protocol.py:72
↓ 1 callersClassChatCompletionResponseChoice
LLMs/LLaMA/src/llmtuner/api/protocol.py:54
↓ 1 callersClassChatCompletionResponseUsage
LLMs/LLaMA/src/llmtuner/api/protocol.py:66
↓ 1 callersClassChatMessage
LLMs/LLaMA/src/llmtuner/api/protocol.py:33
↓ 1 callersClassCompNode
components/expr_parser.py:153
↓ 1 callersClassComputeMetrics
r""" Wraps the tokenizer into metric functions, used in Seq2SeqPeftTrainer.
LLMs/LLaMA/src/llmtuner/tuner/sft/metric.py:16
↓ 1 callersClassCountNode
components/expr_parser.py:129
↓ 1 callersClassCustomDPOTrainer
LLMs/LLaMA/src/llmtuner/tuner/dpo/trainer.py:14
↓ 1 callersClassCustomPPOTrainer
r""" Inherits PPOTrainer.
LLMs/LLaMA/src/llmtuner/tuner/ppo/trainer.py:26
↓ 1 callersClassCustomSeq2SeqTrainer
r""" Inherits PeftTrainer to compute generative metrics such as BLEU and ROUGE.
LLMs/LLaMA/src/llmtuner/tuner/sft/trainer.py:19
↓ 1 callersClassDPODataCollatorWithPadding
r""" Data collator for pairwise data.
LLMs/LLaMA/src/llmtuner/tuner/dpo/collator.py:8
↓ 1 callersClassDateValue
A date. It returns a different sparql name from a value or normal entity.
entity_retrieval/aqqu_entity_linker.py:78
↓ 1 callersClassEntityNode
components/expr_parser.py:168
↓ 1 callersClassFinetuningArguments
r""" Arguments pertaining to which techniques we are going to fine-tuning with.
LLMs/LLaMA/src/llmtuner/hparams/finetuning_args.py:7
↓ 1 callersClassGeneratingArguments
r""" Arguments pertaining to specify the decoding parameters.
LLMs/LLaMA/src/llmtuner/hparams/generating_args.py:6
↓ 1 callersClassJoinNode
components/expr_parser.py:136
↓ 1 callersClassLoggerHandler
LLMs/LLaMA/src/llmtuner/extras/logging.py:5
↓ 1 callersClassModelCard
LLMs/LLaMA/src/llmtuner/api/protocol.py:18
↓ 1 callersClassModelList
LLMs/LLaMA/src/llmtuner/api/protocol.py:28
↓ 1 callersClassPairwiseDataCollatorWithPadding
r""" Data collator for pairwise data.
LLMs/LLaMA/src/llmtuner/tuner/rm/collator.py:8
↓ 1 callersClassPairwiseTrainer
r""" Inherits PeftTrainer to compute pairwise loss.
LLMs/LLaMA/src/llmtuner/tuner/rm/trainer.py:17
↓ 1 callersClassParser
parse_sparql_webqsp.py:13
↓ 1 callersClassParser
parse_sparql_cwq.py:11
↓ 1 callersClassRNode
components/expr_parser.py:117
↓ 1 callersClassRunner
LLMs/LLaMA/src/llmtuner/webui/runner.py:20
↓ 1 callersClassSchemaNode
components/expr_parser.py:175
↓ 1 callersClassValNode
components/expr_parser.py:182
ClassASTNode
components/expr_parser.py:19
ClassChatCompletionRequest
LLMs/LLaMA/src/llmtuner/api/protocol.py:43
ClassDataArguments
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
ClassEntity
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
ClassEntityLinker
entity_retrieval/aqqu_entity_linker.py:150
ClassEntitySurfaceIndexMemory
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
ClassFinish
LLMs/LLaMA/src/llmtuner/api/protocol.py:13
ClassGeneralArguments
r""" Arguments pertaining to which stage we are going to perform.
LLMs/LLaMA/src/llmtuner/hparams/general_args.py:6
ClassKBEntity
A KB entity.
entity_retrieval/aqqu_entity_linker.py:30
ClassLFCandidate
components/dataset_utils.py:16
ClassListDataset
components/dataset_utils.py:3
ClassLlama2Template
LLMs/LLaMA/src/llmtuner/extras/template.py:155
ClassLlamaFlashAttention2
LLMs/LLaMA/src/llmtuner/extras/patches/llama_patch.py:108
ClassLlamaShiftShortAttention
LLMs/LLaMA/src/llmtuner/extras/patches/llama_patch.py:19
ClassModelArguments
r""" Arguments pertaining to which model/config/tokenizer we are going to fine-tune.
LLMs/LLaMA/src/llmtuner/hparams/model_args.py:7
ClassRole
LLMs/LLaMA/src/llmtuner/api/protocol.py:7
ClassTemplate
LLMs/LLaMA/src/llmtuner/extras/template.py:15
ClassValue
A value. Also has a name identical to its value.
entity_retrieval/aqqu_entity_linker.py:55