MCPcopy Create free account

hub / github.com/Conchylicultor/DeepQA / functions

Functions194 in github.com/Conchylicultor/DeepQA

↓ 1 callersMethoddetokenize
Slightly cleaner version of joining with spaces. Args: tokens (list<string>): the sentence to print Return: st
chatbot/textdata.py:552
↓ 1 callersMethodextractConversation
Extract the sample lines from the conversations Args: conversation (Obj): a conversation object containing the lines to extract
chatbot/textdata.py:433
↓ 1 callersFunctionf
(a,b)
chatbot_website/chatbot_interface/static/assets/js/respond.min.js:6
↓ 1 callersFunctionfa
(a)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:3
↓ 1 callersFunctionfb
(a,b)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:3
↓ 1 callersMethodfilesInDir
(self, dirname)
chatbot/corpus/opensubsdata.py:127
↓ 1 callersMethodfilterFromFull
Load the pre-processed full corpus and filter the vocabulary / sentences to match the given model options
chatbot/textdata.py:315
↓ 1 callersFunctiong
(a)
chatbot_website/chatbot_interface/static/assets/js/respond.min.js:6
↓ 1 callersFunctiongb
(a,b,c)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:3
↓ 1 callersMethodgenList
(self, tree)
chatbot/corpus/opensubsdata.py:62
↓ 1 callersMethodgetBatches
Prepare the batches for the current epoch Return: list<Batch>: Get a list of the batches for the next epoch
chatbot/textdata.py:206
↓ 1 callersMethodgetConversations
(self)
chatbot/corpus/ubuntudata.py:69
↓ 1 callersMethodgetDevice
Parse the argument to decide on which device run the model Return: str: The name of the device on which run the program
chatbot/chatbot.py:644
↓ 1 callersMethodgetWeights
Convenience method for some tf arguments
chatbot/model.py:58
↓ 1 callersMethodgetXML
(self, filepath)
chatbot/corpus/opensubsdata.py:119
↓ 1 callersMethodinitBot
Instantiate the chatbot for later use Should be called only once
chatbot_website/chatbot_interface/chatbotmanager.py:34
↓ 1 callersFunctionj
()
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:2
↓ 1 callersMethodloadConversations
Args: dirName (str): folder to load Return: array(question, answer): the extracted QA pairs
chatbot/corpus/opensubsdata.py:38
↓ 1 callersMethodloadConversations
Args: fileName (str): file to load field (set<str>): fields to extract Return: dict<dict<str>>: t
chatbot/corpus/cornelldata.py:71
↓ 1 callersMethodloadCorpus
Load/create the conversations data
chatbot/textdata.py:242
↓ 1 callersMethodloadEmbedding
Initialize embeddings with pre-trained word2vec vectors Will modify the embedding weights of the current loaded model Uses the Google
chatbot/chatbot.py:387
↓ 1 callersMethodloadLines
Args: fileName (str): file to load Return: list<dict<str>>: the extracted fields for each line
chatbot/corpus/ubuntudata.py:52
↓ 1 callersMethodloadLines
Args: fileName (str): file to load field (set<str>): fields to extract Return: dict<dict<str>>: t
chatbot/corpus/cornelldata.py:48
↓ 1 callersMethodloadLines
Args: fileName (str): file to load Return: list<dict<str>>: the extracted fields for each line
chatbot/corpus/scotusdata.py:39
↓ 1 callersMethodloadLines
Args: fileName (str): file to load
chatbot/corpus/lightweightdata.py:52
↓ 1 callersMethodloadModelParams
Load the some values associated with the current model, like the current globStep value For now, this function does not need to be called bef
chatbot/chatbot.py:514
↓ 1 callersFunctionmain
()
chatbot/trainner.py:26
↓ 1 callersFunctionmain
(argv)
data/embeddings/vec2bin.py:38
↓ 1 callersMethodmainTestInteractive
Try predicting the sentences that the user will enter in the console Args: sess: The current running session
chatbot/chatbot.py:313
↓ 1 callersMethodmainTrain
Training loop Args: sess: The current running session
chatbot/chatbot.py:220
↓ 1 callersMethodmakeLighter
Only keep a small fraction of the dataset, given by the ratio
chatbot/textdata.py:117
↓ 1 callersMethodmanagePreviousModel
Restore or reset the model, depending of the parameters If the destination directory already contains some file, it will handle the conflict
chatbot/chatbot.py:454
↓ 1 callersFunctionna
(a)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:2
↓ 1 callersFunctionp
(a,b,c)
chatbot_website/chatbot_interface/static/assets/js/html5shiv.js:4
↓ 1 callersMethodparseArgs
Parse the arguments from the given command line Args: args (list<str>): List of arguments to parse. If None, the default
chatbot/chatbot.py:79
↓ 1 callersMethodplayDataset
Print a random dialogue from the dataset
chatbot/textdata.py:617
↓ 1 callersMethodpredictTestset
Try predicting the sentences from the samples.txt file. The sentences are saved on the modelDir under the same name Args:
chatbot/chatbot.py:274
↓ 1 callersMethodsaveModelParams
Save the params of the model, like the current globStep value Warning: if you modify this function, make sure the changes mirror loadModelPar
chatbot/chatbot.py:588
↓ 1 callersMethodsentence2enco
Encode a sequence and return a batch as an input for the model Return: Batch: a batch object containing the sentence, or none if s
chatbot/textdata.py:581
↓ 1 callersMethodshuffle
Shuffle the training samples
chatbot/textdata.py:125
↓ 1 callersFunctiontqdm_wrap
Forward an iterable eventually wrapped around a tqdm decorator The iterable is only wrapped if the iterable contains enough elements Args:
chatbot/textdata.py:629
↓ 1 callersFunctionvec2bin
(input_path, output_path)
data/embeddings/vec2bin.py:12
↓ 1 callersFunctionx
()
chatbot_website/chatbot_interface/static/assets/js/respond.min.js:6
↓ 1 callersFunctionxa
(a,b,c,d,e,f)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:2
↓ 1 callersFunctionxb
(a,b,c,d)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:4
↓ 1 callersFunctiony
()
chatbot_website/chatbot_interface/static/assets/js/respond.min.js:6
↓ 1 callersFunctionya
(a)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:2
↓ 1 callersFunctionza
(a,b)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:2
FunctionB
(a,b)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:2
FunctionDa
(a)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:3
FunctionEa
(a)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:3
FunctionM
(a)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:2
FunctionN
(a)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:2
FunctionR
()
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:2
FunctionReconnectingWebSocket
(url, protocols, options)
chatbot_website/chatbot_interface/static/js/reconnecting-websocket.js:109
FunctionU
()
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:3
FunctionXa
(a,b,c,d,e)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:3
Method__call__
Project the output of the decoder into the vocabulary space Args: X (tf.Tensor): input value
chatbot/model.py:63
Method__init__
chatbot/chatbot.py:49
Method__init__
(self)
chatbot/textdata.py:40
Method__init__
Load all conversations Args: args: parameters of the model
chatbot/textdata.py:68
Method__init__
Args: shape: a tuple (input dim, output dim) scope (str): encapsulate variables dtype: the weights type
chatbot/model.py:31
Method__init__
Args: args: parameters of the model textData: the dataset object
chatbot/model.py:80
Method__init__
Args: dirName (string): directory where to load the corpus
chatbot/corpus/opensubsdata.py:24
Method__init__
Args: dirName (string): directory where to load the corpus
chatbot/corpus/ubuntudata.py:31
Method__init__
Args: dirName (string): directory where to load the corpus
chatbot/corpus/cornelldata.py:32
Method__init__
Args: dirName (string): directory where to load the corpus
chatbot/corpus/scotusdata.py:30
Method__init__
Args: lightweightFile (string): file containing our lightweight-formatted corpus
chatbot/corpus/lightweightdata.py:43
Functionaa
(a,b,c)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:2
Functionab
()
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:3
Methodcreate_rnn_cell
()
chatbot/model.py:143
MethoddaemonClose
A utility function to close the daemon when finish
chatbot/chatbot.py:380
Functioneb
(a,b,c)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:3
MethodgenNextSamples
Generator over the mini-batch training samples
chatbot/textdata.py:215
MethodgetConversations
(self)
chatbot/corpus/opensubsdata.py:59
MethodgetConversations
(self)
chatbot/corpus/cornelldata.py:102
MethodgetConversations
(self)
chatbot/corpus/scotusdata.py:57
MethodgetConversations
(self)
chatbot/corpus/lightweightdata.py:70
FunctionmainView
Main view which launch and handle the chatbot view Args: request (Obj): django request object
chatbot_website/chatbot_interface/views.py:3
MethodmergeSentences
Merge the sentences until the max sentence length is reached Also decrement id count for unused sentences. Args:
chatbot/textdata.py:320
MethodprintBatch
Print a complete batch, useful for debugging Args: batch (Batch): a batch object
chatbot/textdata.py:512
Functionra
()
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:2
Methodreplace_words
(words)
chatbot/textdata.py:394
MethodsampledSoftmax
(labels, inputs)
chatbot/model.py:123
MethodsetUp
(self)
testsuite.py:33
Methodtest_testing_all
(self)
testsuite.py:46
Methodtest_testing_daemon
(self)
testsuite.py:62
Methodtest_testing_interactive
(self)
testsuite.py:49
Methodtest_training_simple
(self)
testsuite.py:36
Methodtest_training_watson
(self)
testsuite.py:43
Functionv
(a,b)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:2
Functionws_connect
Called when a client try to open a WebSocket Args: message (Obj): object containing the client query
chatbot_website/chatbot_interface/consumer.py:24
Functionws_disconnect
Called when a client disconnect Args: message (Obj): object containing the client query
chatbot_website/chatbot_interface/consumer.py:66
Functionws_receive
Called when a client send a message Args: message (Obj): object containing the client query
chatbot_website/chatbot_interface/consumer.py:38
← previous101–194 of 194, ranked by callers