Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Conchylicultor/DeepQA
/ functions
Functions
194 in github.com/Conchylicultor/DeepQA
⨍
Functions
194
◇
Types & classes
14
↓ 1 callers
Method
detokenize
Slightly cleaner version of joining with spaces. Args: tokens (list<string>): the sentence to print Return: st
chatbot/textdata.py:552
↓ 1 callers
Method
extractConversation
Extract the sample lines from the conversations Args: conversation (Obj): a conversation object containing the lines to extract
chatbot/textdata.py:433
↓ 1 callers
Function
f
(a,b)
chatbot_website/chatbot_interface/static/assets/js/respond.min.js:6
↓ 1 callers
Function
fa
(a)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:3
↓ 1 callers
Function
fb
(a,b)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:3
↓ 1 callers
Method
filesInDir
(self, dirname)
chatbot/corpus/opensubsdata.py:127
↓ 1 callers
Method
filterFromFull
Load the pre-processed full corpus and filter the vocabulary / sentences to match the given model options
chatbot/textdata.py:315
↓ 1 callers
Function
g
(a)
chatbot_website/chatbot_interface/static/assets/js/respond.min.js:6
↓ 1 callers
Function
gb
(a,b,c)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:3
↓ 1 callers
Method
genList
(self, tree)
chatbot/corpus/opensubsdata.py:62
↓ 1 callers
Method
getBatches
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 callers
Method
getConversations
(self)
chatbot/corpus/ubuntudata.py:69
↓ 1 callers
Method
getDevice
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 callers
Method
getWeights
Convenience method for some tf arguments
chatbot/model.py:58
↓ 1 callers
Method
getXML
(self, filepath)
chatbot/corpus/opensubsdata.py:119
↓ 1 callers
Method
initBot
Instantiate the chatbot for later use Should be called only once
chatbot_website/chatbot_interface/chatbotmanager.py:34
↓ 1 callers
Function
j
()
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:2
↓ 1 callers
Method
loadConversations
Args: dirName (str): folder to load Return: array(question, answer): the extracted QA pairs
chatbot/corpus/opensubsdata.py:38
↓ 1 callers
Method
loadConversations
Args: fileName (str): file to load field (set<str>): fields to extract Return: dict<dict<str>>: t
chatbot/corpus/cornelldata.py:71
↓ 1 callers
Method
loadCorpus
Load/create the conversations data
chatbot/textdata.py:242
↓ 1 callers
Method
loadEmbedding
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 callers
Method
loadLines
Args: fileName (str): file to load Return: list<dict<str>>: the extracted fields for each line
chatbot/corpus/ubuntudata.py:52
↓ 1 callers
Method
loadLines
Args: fileName (str): file to load field (set<str>): fields to extract Return: dict<dict<str>>: t
chatbot/corpus/cornelldata.py:48
↓ 1 callers
Method
loadLines
Args: fileName (str): file to load Return: list<dict<str>>: the extracted fields for each line
chatbot/corpus/scotusdata.py:39
↓ 1 callers
Method
loadLines
Args: fileName (str): file to load
chatbot/corpus/lightweightdata.py:52
↓ 1 callers
Method
loadModelParams
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 callers
Function
main
()
chatbot/trainner.py:26
↓ 1 callers
Function
main
(argv)
data/embeddings/vec2bin.py:38
↓ 1 callers
Method
mainTestInteractive
Try predicting the sentences that the user will enter in the console Args: sess: The current running session
chatbot/chatbot.py:313
↓ 1 callers
Method
mainTrain
Training loop Args: sess: The current running session
chatbot/chatbot.py:220
↓ 1 callers
Method
makeLighter
Only keep a small fraction of the dataset, given by the ratio
chatbot/textdata.py:117
↓ 1 callers
Method
managePreviousModel
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 callers
Function
na
(a)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:2
↓ 1 callers
Function
p
(a,b,c)
chatbot_website/chatbot_interface/static/assets/js/html5shiv.js:4
↓ 1 callers
Method
parseArgs
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 callers
Method
playDataset
Print a random dialogue from the dataset
chatbot/textdata.py:617
↓ 1 callers
Method
predictTestset
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 callers
Method
saveModelParams
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 callers
Method
sentence2enco
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 callers
Method
shuffle
Shuffle the training samples
chatbot/textdata.py:125
↓ 1 callers
Function
tqdm_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 callers
Function
vec2bin
(input_path, output_path)
data/embeddings/vec2bin.py:12
↓ 1 callers
Function
x
()
chatbot_website/chatbot_interface/static/assets/js/respond.min.js:6
↓ 1 callers
Function
xa
(a,b,c,d,e,f)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:2
↓ 1 callers
Function
xb
(a,b,c,d)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:4
↓ 1 callers
Function
y
()
chatbot_website/chatbot_interface/static/assets/js/respond.min.js:6
↓ 1 callers
Function
ya
(a)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:2
↓ 1 callers
Function
za
(a,b)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:2
Function
B
(a,b)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:2
Function
Da
(a)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:3
Function
Ea
(a)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:3
Function
M
(a)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:2
Function
N
(a)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:2
Function
R
()
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:2
Function
ReconnectingWebSocket
(url, protocols, options)
chatbot_website/chatbot_interface/static/js/reconnecting-websocket.js:109
Function
U
()
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:3
Function
Xa
(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
Function
aa
(a,b,c)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:2
Function
ab
()
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:3
Method
create_rnn_cell
()
chatbot/model.py:143
Method
daemonClose
A utility function to close the daemon when finish
chatbot/chatbot.py:380
Function
eb
(a,b,c)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:3
Method
genNextSamples
Generator over the mini-batch training samples
chatbot/textdata.py:215
Method
getConversations
(self)
chatbot/corpus/opensubsdata.py:59
Method
getConversations
(self)
chatbot/corpus/cornelldata.py:102
Method
getConversations
(self)
chatbot/corpus/scotusdata.py:57
Method
getConversations
(self)
chatbot/corpus/lightweightdata.py:70
Function
mainView
Main view which launch and handle the chatbot view Args: request (Obj): django request object
chatbot_website/chatbot_interface/views.py:3
Method
mergeSentences
Merge the sentences until the max sentence length is reached Also decrement id count for unused sentences. Args:
chatbot/textdata.py:320
Method
printBatch
Print a complete batch, useful for debugging Args: batch (Batch): a batch object
chatbot/textdata.py:512
Function
ra
()
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:2
Method
replace_words
(words)
chatbot/textdata.py:394
Method
sampledSoftmax
(labels, inputs)
chatbot/model.py:123
Method
setUp
(self)
testsuite.py:33
Method
test_testing_all
(self)
testsuite.py:46
Method
test_testing_daemon
(self)
testsuite.py:62
Method
test_testing_interactive
(self)
testsuite.py:49
Method
test_training_simple
(self)
testsuite.py:36
Method
test_training_watson
(self)
testsuite.py:43
Function
v
(a,b)
chatbot_website/chatbot_interface/static/js/jquery-3.1.0.min.js:2
Function
ws_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
Function
ws_disconnect
Called when a client disconnect Args: message (Obj): object containing the client query
chatbot_website/chatbot_interface/consumer.py:66
Function
ws_receive
Called when a client send a message Args: message (Obj): object containing the client query
chatbot_website/chatbot_interface/consumer.py:38
← previous
101–194 of 194, ranked by callers