query stringlengths 10 2k | document stringlengths 20 51.2k | metadata dict | negatives listlengths 0 101 | negative_scores listlengths 0 101 | document_score stringlengths 3 10 | document_rank stringclasses 102
values |
|---|---|---|---|---|---|---|
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 9 |
Sets list of entities to process. The rest will be ignored. Does not include IOB prefix on labels. | def setWhiteList(self, entities):
return self._set(whiteList=entities) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def update_entities(self, entities: List[str]) -> None:\n self._entities = entities or []",
"def entities(self, entities: List[Entity]):\n for entity in entities:\n if not isinstance(entity, Entity):\n raise Exception(\"object type is not na Entity: \" + str(type(entity)))... | [
"0.7132577",
"0.5992597",
"0.595249",
"0.58326995",
"0.5830311",
"0.576238",
"0.5603713",
"0.5598805",
"0.54966134",
"0.5466525",
"0.54228604",
"0.53924793",
"0.5337894",
"0.5213667",
"0.520731",
"0.5174646",
"0.5163064",
"0.51595616",
"0.51435465",
"0.51381904",
"0.51105016"... | 0.56475765 | 6 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 7 |
Sets max sentence length to process. | def setMaxSentenceLength(self, value):
return self._set(maxSentenceLength=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def set_max_sentence_length(self):\n new_max = int(self.set_max_senten... | [
"0.8489678",
"0.8489678",
"0.8360852",
"0.81547016",
"0.6910169",
"0.68543905",
"0.6735475",
"0.6735475",
"0.6735475",
"0.6735475",
"0.66796553",
"0.66796553",
"0.66796553",
"0.6576391",
"0.6575342",
"0.6413683",
"0.6413683",
"0.6388323",
"0.6384527",
"0.63248205",
"0.6309113... | 0.83578753 | 7 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 22 |
Sets max sentence length to process. | def setMaxSentenceLength(self, value):
return self._set(maxSentenceLength=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def set_max_sentence_length(self):\n new_max = int(self.set_max_senten... | [
"0.8489678",
"0.8489678",
"0.8360852",
"0.81547016",
"0.6910169",
"0.68543905",
"0.6735475",
"0.6735475",
"0.6735475",
"0.6735475",
"0.66796553",
"0.66796553",
"0.66796553",
"0.6576391",
"0.6575342",
"0.6413683",
"0.6413683",
"0.6388323",
"0.6384527",
"0.63248205",
"0.6309113... | 0.83578753 | 16 |
Sets the words to be filtered out, by default english stopwords from Spark ML. | def setStopWords(self, value):
return self._set(stopWords=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _remove_stopwords(self, words):\n new_words = []\n for word in words:\n if word not in stopwords.words('english'):\n new_words.append(word)\n return new_words",
"def remove_stopwords_fun(self):\n tokens = str(self.doc).split()\n cleaned_tokens = [t... | [
"0.74993956",
"0.7394735",
"0.73647225",
"0.7347408",
"0.7271938",
"0.72237605",
"0.72237605",
"0.72237605",
"0.72237605",
"0.7205177",
"0.7188219",
"0.7186901",
"0.7127036",
"0.7104148",
"0.70972687",
"0.7059176",
"0.70504814",
"0.6999618",
"0.6997511",
"0.6954166",
"0.69477... | 0.6836068 | 21 |
Sets the words to be overwritten. | def setStopWords(self, value):
return self._set(stopWords=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def set_words(self, words):\n\n self.words = words\n self.generate_letter_maps()\n self.word_set = set(self.words)",
"def words(self, words):\n self._words = words",
"def save(self, words):\n\t\t# TODO: Need to cap the network, expire old words/phrases\n\t\tinitial = None,\n\t\tall_... | [
"0.76925266",
"0.73511434",
"0.68824744",
"0.67542017",
"0.6660592",
"0.6606103",
"0.64998734",
"0.63681746",
"0.63094836",
"0.6280548",
"0.6260683",
"0.62563795",
"0.62459475",
"0.6222249",
"0.61522156",
"0.6134551",
"0.61290663",
"0.605695",
"0.6052728",
"0.6048332",
"0.600... | 0.0 | -1 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 15 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 19 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 26 |
Sets Learning Rate, by default 0.005 | def setLr(self, v):
self._set(lr=v)
return self | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def set_learning_rate(self, rate):\n self.SGD.set_learning_rate(rate)",
"def learning_rate(epoch):\n self.lr = self.lr / 1.00000001\n return self.lr",
"def get_learning_rate():\n return 0.00001",
"def adjust_lr(self):\n learning_rate = self.params.base_lr * (1 - float(s... | [
"0.7886247",
"0.7745351",
"0.772201",
"0.7547677",
"0.74695325",
"0.7341996",
"0.72804904",
"0.7257586",
"0.72054935",
"0.7197993",
"0.7197993",
"0.7168854",
"0.7168075",
"0.7165448",
"0.71572345",
"0.7146253",
"0.7144686",
"0.712755",
"0.712755",
"0.7124229",
"0.7103722",
... | 0.0 | -1 |
Sets dropout coefficient, by default 0.5 | def setDropout(self, v):
self._set(dropout=v)
return self | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dropout(self, dropout):\n if dropout >= 1.0:\n raise ValueError('The `dropout` must be < 1.')\n self._internal.set_dropout(float(dropout))",
"def _Dropout(self, name, drop_prob):\n return super()._Dropout(name, keep_prob=1.0 - drop_prob)",
"def reduce_dropout(self):\n def... | [
"0.75147825",
"0.6824134",
"0.6460586",
"0.63710445",
"0.63389176",
"0.6188605",
"0.6121765",
"0.6098714",
"0.60861874",
"0.6030407",
"0.59752667",
"0.5960652",
"0.5734258",
"0.5727301",
"0.57217026",
"0.56848127",
"0.5672794",
"0.56437826",
"0.56215125",
"0.55980515",
"0.559... | 0.6871847 | 2 |
Sets whether to use stdout in addition to Spark logs, by default False | def setEnableOutputLogs(self, value):
return self._set(enableOutputLogs=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def enable(self):\n self.out = StringIO()\n self._stdout = sys.stdout\n sys.stdout = self.out",
"def logToStdout(timestamp=False):\n logs['console'] = MyLogObserver(sys.stdout)\n if not timestamp:\n logs['console'].timeFormat = \"\" #get rid of that\n sys.stdout = StdioKabob(... | [
"0.6138982",
"0.6015468",
"0.5881054",
"0.58156484",
"0.57892025",
"0.57335365",
"0.57088214",
"0.56638145",
"0.566254",
"0.5651247",
"0.56092674",
"0.5602751",
"0.56024593",
"0.5598726",
"0.5515736",
"0.5502019",
"0.54881865",
"0.5483371",
"0.5471253",
"0.54628986",
"0.54064... | 0.5848976 | 4 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 31 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 29 |
Sets max sentence length to process. | def setMaxSentenceLength(self, value):
return self._set(maxSentenceLength=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def set_max_sentence_length(self):\n new_max = int(self.set_max_senten... | [
"0.8489678",
"0.8489678",
"0.8360852",
"0.81547016",
"0.6910169",
"0.68543905",
"0.6735475",
"0.6735475",
"0.6735475",
"0.6735475",
"0.66796553",
"0.66796553",
"0.66796553",
"0.6576391",
"0.6575342",
"0.6413683",
"0.6413683",
"0.6388323",
"0.6384527",
"0.63248205",
"0.6309113... | 0.83578753 | 25 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 28 |
Sets max sentence length to process. | def setMaxSentenceLength(self, value):
return self._set(maxSentenceLength=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def set_max_sentence_length(self):\n new_max = int(self.set_max_senten... | [
"0.8489678",
"0.8489678",
"0.8360852",
"0.81547016",
"0.6910169",
"0.68543905",
"0.6735475",
"0.6735475",
"0.6735475",
"0.6735475",
"0.66796553",
"0.66796553",
"0.66796553",
"0.6576391",
"0.6575342",
"0.6413683",
"0.6413683",
"0.6388323",
"0.6384527",
"0.63248205",
"0.6309113... | 0.83578753 | 15 |
Sets maximum number of candidates for every word. | def setMaxCandidates(self, candidates):
return self._set(maxCandidates=candidates) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fit(self, words):\n ### part of 5.2\n chars = set()\n for word in words:\n if len(word) > self.max_wordlen:\n self.max_wordlen = len(word)\n chars.update(word)\n if self.maxlen is not None:\n self.max_wordlen = self.maxlen\n sel... | [
"0.65612817",
"0.62022734",
"0.6166345",
"0.61324894",
"0.6090677",
"0.5963363",
"0.5935029",
"0.5894108",
"0.5868693",
"0.5710952",
"0.56880486",
"0.56821865",
"0.5658974",
"0.5634988",
"0.5605552",
"0.55838007",
"0.5537492",
"0.55082643",
"0.5501302",
"0.5492959",
"0.549295... | 0.6727732 | 1 |
Sets initial learning rate for the LM. | def setInitialRate(self, rate):
return self._set(initialRate=rate) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def set_learning_rate(self, rate):\n self.SGD.set_learning_rate(rate)",
"def initialize_learning_rate(self):\n\n if (self.FLAGS.learning_rate_decay is \"exponential\"):\n self.learning_rate = tf.train.exponential_decay(\n self.FLAGS.learning_rate,\n ... | [
"0.7728387",
"0.75694364",
"0.7166219",
"0.7166219",
"0.7123951",
"0.70903367",
"0.7077547",
"0.7053552",
"0.6993663",
"0.6982098",
"0.6941704",
"0.6845105",
"0.6826645",
"0.68258303",
"0.6822837",
"0.6759016",
"0.6746256",
"0.67354405",
"0.671679",
"0.671679",
"0.6696198",
... | 0.72082955 | 2 |
Sets final learning rate for the LM. | def setFinalRate(self, rate):
return self._set(finalRate=rate) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def adjust_lr(self):\n learning_rate = self.params.base_lr * (1 - float(self.epoch) / self.params.num_epoch) ** self.params.power\n for param_group in self.opt.param_groups:\n param_group['lr'] = learning_rate\n print('Change learning rate into %f' % (learning_rate))\n self.s... | [
"0.7833487",
"0.7688447",
"0.75641257",
"0.74618244",
"0.7308685",
"0.7218036",
"0.7218036",
"0.7191731",
"0.71628785",
"0.7162187",
"0.71615756",
"0.71557564",
"0.71405244",
"0.71274793",
"0.71120393",
"0.70637417",
"0.70607007",
"0.70603126",
"0.70404094",
"0.6980391",
"0.6... | 0.6912941 | 24 |
Sets min number of times a token should appear to be included in vocab. | def setMinCount(self, count):
return self._set(minCount=count) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def build_vocab(self, min_count=3):\n word2count = defaultdict(int)\n for sentence in self.tokenized_corpus:\n for word in sentence:\n word2count[word] += 1\n\n word2dict = {}\n word2dict['PAD'] = {'id': 0}\n word2dict['UNK'] = {'id': 1}\n for wor... | [
"0.64786226",
"0.62171227",
"0.6110297",
"0.5969809",
"0.59688324",
"0.5876537",
"0.5869071",
"0.57894665",
"0.5696694",
"0.5683438",
"0.5679878",
"0.567904",
"0.5643868",
"0.5625989",
"0.5625989",
"0.55974966",
"0.5581818",
"0.55698854",
"0.5558417",
"0.55567145",
"0.5556437... | 0.0 | -1 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 39 |
Sets maximum number of candidates for every word. | def setMaxCandidates(self, candidates):
return self._set(maxCandidates=candidates) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fit(self, words):\n ### part of 5.2\n chars = set()\n for word in words:\n if len(word) > self.max_wordlen:\n self.max_wordlen = len(word)\n chars.update(word)\n if self.maxlen is not None:\n self.max_wordlen = self.maxlen\n sel... | [
"0.65612817",
"0.62022734",
"0.6166345",
"0.61324894",
"0.6090677",
"0.5963363",
"0.5935029",
"0.5894108",
"0.5868693",
"0.5710952",
"0.56880486",
"0.56821865",
"0.5658974",
"0.5634988",
"0.5605552",
"0.55838007",
"0.5537492",
"0.55082643",
"0.5501302",
"0.5492959",
"0.549295... | 0.6727732 | 0 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 37 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 34 |
Sets Learning Rate, by default 0.005 | def setLr(self, v):
self._set(lr=v)
return self | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def set_learning_rate(self, rate):\n self.SGD.set_learning_rate(rate)",
"def learning_rate(epoch):\n self.lr = self.lr / 1.00000001\n return self.lr",
"def get_learning_rate():\n return 0.00001",
"def adjust_lr(self):\n learning_rate = self.params.base_lr * (1 - float(s... | [
"0.7886247",
"0.7745351",
"0.772201",
"0.7547677",
"0.74695325",
"0.7341996",
"0.72804904",
"0.7257586",
"0.72054935",
"0.7197993",
"0.7197993",
"0.7168854",
"0.7168075",
"0.7165448",
"0.71572345",
"0.7146253",
"0.7144686",
"0.712755",
"0.712755",
"0.7124229",
"0.7103722",
... | 0.0 | -1 |
Sets dropout coefficient, by default 0.5. | def setDropout(self, v):
self._set(dropout=v)
return self | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dropout(self, dropout):\n if dropout >= 1.0:\n raise ValueError('The `dropout` must be < 1.')\n self._internal.set_dropout(float(dropout))",
"def _Dropout(self, name, drop_prob):\n return super()._Dropout(name, keep_prob=1.0 - drop_prob)",
"def set_drop_rate(self, drop_rate=0.0)... | [
"0.74401724",
"0.6599109",
"0.6288559",
"0.6223161",
"0.6138355",
"0.6060847",
"0.59498876",
"0.591671",
"0.584302",
"0.5831263",
"0.5802445",
"0.5768129",
"0.56373876",
"0.55592215",
"0.55451894",
"0.5474174",
"0.5460874",
"0.5435045",
"0.5423101",
"0.5395062",
"0.5371357",
... | 0.68939245 | 3 |
Sets whether to use stdout in addition to Spark logs, by default False. | def setEnableOutputLogs(self, value):
return self._set(enableOutputLogs=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def enable(self):\n self.out = StringIO()\n self._stdout = sys.stdout\n sys.stdout = self.out",
"def setEnableOutputLogs(self, v):\n return self._set(enableOutputLogs=v)",
"def logToStdout(timestamp=False):\n logs['console'] = MyLogObserver(sys.stdout)\n if not timestamp:\n ... | [
"0.625057",
"0.60649985",
"0.59921265",
"0.590379",
"0.5868902",
"0.58132875",
"0.580797",
"0.5750399",
"0.5697567",
"0.5687111",
"0.5673425",
"0.56369936",
"0.5593075",
"0.55734223",
"0.5555929",
"0.5551917",
"0.55395275",
"0.55261093",
"0.5512869",
"0.54802465",
"0.5461263"... | 0.6049015 | 4 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 10 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 8 |
Sets name of column for data labels. | def setLabelColumn(self, v):
return self._set(labelColumn=v) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def set_column_name(self, name):\r\n self.column_name = name",
"def set_column_name(self, name):\r\n self.column_name = name",
"def column_name(self, label):\n self.output_label = label\n return self",
"def _update_column_name(self, column, idx, old_name, name):\n dtype = s... | [
"0.7711343",
"0.7711343",
"0.74903476",
"0.70832473",
"0.7029037",
"0.7029037",
"0.7029037",
"0.7029037",
"0.6838743",
"0.6631946",
"0.6574716",
"0.6557649",
"0.64363885",
"0.6297389",
"0.6184849",
"0.6166829",
"0.6135585",
"0.61154836",
"0.611353",
"0.6105123",
"0.606296",
... | 0.7224172 | 3 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, v):
return self._set(configProtoBytes=v) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, b):\n return self._set(configProtoBytes=b)",
"def setConfigProtoBytes(self, b):\n return self._set(configProtoBytes=b)",
"def setConfigProtoBytes(self, b):\n return self._set(configProtoBytes=b)",
"def setConfigProtoBytes(self, b):\n return self._set(... | [
"0.7518328",
"0.7518328",
"0.7518328",
"0.7518328",
"0.7518328",
"0.7518328",
"0.7518328",
"0.7518328",
"0.7518328",
"0.7518328",
"0.7518328",
"0.7518328",
"0.7518328",
"0.7518328",
"0.7518328",
"0.7518328",
"0.7518328",
"0.7518328",
"0.7518328",
"0.7518328",
"0.7518328",
"... | 0.75618696 | 0 |
Sets Learning Rate, by default 0.001. | def setLr(self, v):
self._set(lr=v)
return self | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def set_learning_rate(self, rate):\n self.SGD.set_learning_rate(rate)",
"def learning_rate(epoch):\n self.lr = self.lr / 1.00000001\n return self.lr",
"def get_learning_rate():\n return 0.00001",
"def adjust_lr(self):\n learning_rate = self.params.base_lr * (1 - float(s... | [
"0.79922676",
"0.76068604",
"0.7550042",
"0.7423539",
"0.7380186",
"0.72877944",
"0.71704733",
"0.717002",
"0.71413094",
"0.71413094",
"0.7134791",
"0.7103761",
"0.70970416",
"0.7069047",
"0.70606893",
"0.70606893",
"0.70531285",
"0.7052301",
"0.7050756",
"0.70486426",
"0.703... | 0.0 | -1 |
Sets whether to use stdout in addition to Spark logs, by default False. | def setEnableOutputLogs(self, v):
return self._set(enableOutputLogs=v) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def enable(self):\n self.out = StringIO()\n self._stdout = sys.stdout\n sys.stdout = self.out",
"def setEnableOutputLogs(self, value):\n return self._set(enableOutputLogs=value)",
"def setEnableOutputLogs(self, value):\n return self._set(enableOutputLogs=value)",
"def setEn... | [
"0.625057",
"0.6049015",
"0.6049015",
"0.6049015",
"0.59921265",
"0.590379",
"0.5868902",
"0.58132875",
"0.580797",
"0.5750399",
"0.5697567",
"0.5687111",
"0.5673425",
"0.56369936",
"0.5593075",
"0.55734223",
"0.5555929",
"0.5551917",
"0.55395275",
"0.55261093",
"0.5512869",
... | 0.60649985 | 1 |
Sets minimum threshold for each label to be accepted, by default 0.5. | def setThreshold(self, v):
self._set(threshold=v)
return self | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def set_min_confidence(self, new_min):\n self.__min_confidence = new_min",
"def setThresholdLabel(self, p):\n return self._set(thresholdLabel=p)",
"def setThresholdLabel(self, p):\n return self._set(thresholdLabel=p)",
"def setThresholdLabel(self, p):\n return self._set(thresholdL... | [
"0.6404427",
"0.6380047",
"0.6380047",
"0.6380047",
"0.6334516",
"0.61264294",
"0.6118512",
"0.6109543",
"0.59333885",
"0.587119",
"0.58547825",
"0.58340955",
"0.58170986",
"0.5811305",
"0.5787962",
"0.5747208",
"0.56999826",
"0.5683784",
"0.5674601",
"0.56251186",
"0.5601572... | 0.58676827 | 13 |
Sets minimum threshold for each label to be accepted, by default 0.5. | def setThreshold(self, v):
self._set(threshold=v)
return self | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def set_min_confidence(self, new_min):\n self.__min_confidence = new_min",
"def setThresholdLabel(self, p):\n return self._set(thresholdLabel=p)",
"def setThresholdLabel(self, p):\n return self._set(thresholdLabel=p)",
"def setThresholdLabel(self, p):\n return self._set(thresholdL... | [
"0.6404427",
"0.6380047",
"0.6380047",
"0.6380047",
"0.6334516",
"0.61264294",
"0.6118512",
"0.6109543",
"0.59333885",
"0.587119",
"0.58547825",
"0.58340955",
"0.58170986",
"0.5811305",
"0.5787962",
"0.5747208",
"0.56999826",
"0.5683784",
"0.5674601",
"0.56251186",
"0.5601572... | 0.58676827 | 12 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 5 |
Sets maximum Ngrams a keyword should have, by default 3. | def setMaxNGrams(self, value):
return self._set(maxNGrams=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def maximumKeywordSet(self):\n return 4",
"def setNKeywords(self, value):\n return self._set(nKeywords=value)",
"def sized_ngrams(self, size):\n return self.__sized_ngrams(size, ())",
"def sized_ngrams(self, size):\n return self.root.sized_ngrams(size)",
"def set_max_sentence_le... | [
"0.68895805",
"0.6147288",
"0.610185",
"0.6090871",
"0.60224706",
"0.6017053",
"0.5963934",
"0.5963934",
"0.5963934",
"0.5963934",
"0.5963934",
"0.5963934",
"0.5963934",
"0.5963934",
"0.5963934",
"0.5963934",
"0.5963934",
"0.5963934",
"0.5963934",
"0.5963934",
"0.5963934",
... | 0.6209219 | 1 |
Sets the words to be filtered out, by default english stop words from Spark ML. | def setStopWords(self, value):
return self._set(stopWords=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _remove_stopwords(self, words):\n new_words = []\n for word in words:\n if word not in stopwords.words('english'):\n new_words.append(word)\n return new_words",
"def remove_stopwords_fun(self):\n tokens = str(self.doc).split()\n cleaned_tokens = [t... | [
"0.742489",
"0.737094",
"0.73505664",
"0.7262945",
"0.71704006",
"0.7149008",
"0.7122045",
"0.7122045",
"0.7122045",
"0.7122045",
"0.70834655",
"0.7068305",
"0.7060435",
"0.70417154",
"0.6992656",
"0.6958551",
"0.6934335",
"0.6883509",
"0.68808395",
"0.686738",
"0.68164575",
... | 0.67344844 | 24 |
Gets the words to be filtered out, by default english stop words from Spark ML. Returns List[str] The words to be filtered out | def getStopWords(self):
return self.getOrDefault(self.stopWords) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def stopword_filter(words):\n new_words = []\n for w in words:\n if w in stopwords.words(\"german\"): continue\n else: new_words += [w]\n return new_words",
"def remove_stop_words(self, content):\n stop_words = set(stopwords.words('english'))\n words = nltk.word_tokenize(cont... | [
"0.8178309",
"0.7656875",
"0.76348186",
"0.7632958",
"0.7622416",
"0.75970715",
"0.7581963",
"0.7569867",
"0.756166",
"0.756166",
"0.756166",
"0.756166",
"0.75593483",
"0.75578445",
"0.7539399",
"0.750663",
"0.7505488",
"0.7455483",
"0.7407489",
"0.7407489",
"0.7403775",
"0... | 0.6808112 | 82 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 16 |
Sets minimum length of the sequence to be generated. | def setMinOutputLength(self, value):
return self._set(minOutputLength=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setMinLength(self, value):\n return self._set(minLength=value)",
"def setMinLength(self, value):\n return self._set(minLength=value)",
"def setMinLength(self, value):\n return self._set(minLength=value)",
"def setMinLength(self, value):\n return self._set(minLength=value)",
... | [
"0.72301304",
"0.72301304",
"0.72301304",
"0.72301304",
"0.7109453",
"0.7083925",
"0.67660934",
"0.66888845",
"0.6635175",
"0.6566798",
"0.6498164",
"0.64897525",
"0.64824986",
"0.6419169",
"0.6393876",
"0.63645357",
"0.63483065",
"0.6234562",
"0.6214494",
"0.62058073",
"0.61... | 0.70598656 | 7 |
Sets maximum length of output text. | def setMaxOutputLength(self, value):
return self._set(maxOutputLength=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def set_max_sentence_length(self):\n new_max = int(self.set_max_sentence.get())\n cur_min = self.min_sentence_length\n\n if new_max > cur_min:\n self.max_sentence_length = new_max\n else:\n old_max = self.max_sentence_length\n old_max_var = tk.StringVar(... | [
"0.76438797",
"0.7224288",
"0.7224288",
"0.7106958",
"0.7106958",
"0.7106958",
"0.7106958",
"0.7106958",
"0.7106958",
"0.7106958",
"0.7106958",
"0.7106958",
"0.7106958",
"0.7106958",
"0.7106958",
"0.7106958",
"0.7106958",
"0.7106958",
"0.7106958",
"0.7106958",
"0.7106958",
... | 0.8116591 | 1 |
Sets size of ngrams that can only occur once. If set to int > 0, all ngrams of that size can only occur once. | def setNoRepeatNgramSize(self, value):
return self._set(noRepeatNgramSize=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sized_ngrams(self, size):\n return self.__sized_ngrams(size, ())",
"def sized_ngrams(self, size):\n return self.root.sized_ngrams(size)",
"def sized_ngrams_with_ele(self, target, size):\n return self.__sized_ngrams_with_ele(target, size, (), False)",
"def sized_ngrams_with_ele(self, ... | [
"0.6985705",
"0.6568407",
"0.6108986",
"0.6051465",
"0.60421574",
"0.60348934",
"0.59227365",
"0.5921151",
"0.5893946",
"0.5817044",
"0.58017254",
"0.5752732",
"0.56904835",
"0.5687905",
"0.5618103",
"0.5603635",
"0.5585382",
"0.55335814",
"0.55265516",
"0.55059046",
"0.54672... | 0.7424706 | 0 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 18 |
Sets the maximum length for decoder outputs (target language texts), by default 40. | def setMaxOutputLength(self, value):
return self._set(maxOutputLength=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def set_max_sentence_length(self):\n new_max = int(self.set_max_sentence.get())\n cur_min = self.min_sentence_length\n\n if new_max > cur_min:\n self.max_sentence_length = new_max\n else:\n old_max = self.max_sentence_length\n old_max_var = tk.StringVar(... | [
"0.6769554",
"0.6557833",
"0.6387187",
"0.6387187",
"0.6370592",
"0.63697124",
"0.63636523",
"0.636155",
"0.6345362",
"0.6311451",
"0.6307636",
"0.6304798",
"0.6274372",
"0.6274372",
"0.6274372",
"0.6274372",
"0.6274372",
"0.6274372",
"0.6274372",
"0.6274372",
"0.6274372",
... | 0.71778065 | 2 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 27 |
Sets max sentence length to process. | def setMaxSentenceLength(self, value):
return self._set(maxSentenceLength=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def set_max_sentence_length(self):\n new_max = int(self.set_max_senten... | [
"0.8489678",
"0.8489678",
"0.8360852",
"0.81547016",
"0.6910169",
"0.68543905",
"0.6735475",
"0.6735475",
"0.6735475",
"0.6735475",
"0.66796553",
"0.66796553",
"0.66796553",
"0.6576391",
"0.6575342",
"0.6413683",
"0.6413683",
"0.6388323",
"0.6384527",
"0.63248205",
"0.6309113... | 0.83578753 | 14 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 32 |
Sets max sentence length to process. | def setMaxSentenceLength(self, value):
return self._set(maxSentenceLength=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def set_max_sentence_length(self):\n new_max = int(self.set_max_senten... | [
"0.8489678",
"0.8489678",
"0.8360852",
"0.81547016",
"0.6910169",
"0.68543905",
"0.6735475",
"0.6735475",
"0.6735475",
"0.6735475",
"0.66796553",
"0.66796553",
"0.66796553",
"0.6576391",
"0.6575342",
"0.6413683",
"0.6413683",
"0.6388323",
"0.6384527",
"0.63248205",
"0.6309113... | 0.83578753 | 13 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 33 |
Sets max sentence length to process. | def setMaxSentenceLength(self, value):
return self._set(maxSentenceLength=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def set_max_sentence_length(self):\n new_max = int(self.set_max_senten... | [
"0.8489678",
"0.8489678",
"0.8360852",
"0.81547016",
"0.6910169",
"0.68543905",
"0.6735475",
"0.6735475",
"0.6735475",
"0.6735475",
"0.66796553",
"0.66796553",
"0.66796553",
"0.6576391",
"0.6575342",
"0.6413683",
"0.6413683",
"0.6388323",
"0.6384527",
"0.63248205",
"0.6309113... | 0.83578753 | 26 |
Sets whether to find paths between entities. | def setExplodeEntities(self, value):
return self._set(explodeEntities=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def set_paths(self, paths):\n self._paths = paths\n self._paths_set = True",
"def set_paths(self, paths):\n self.paths = paths",
"def paths_set(self):\n return self._paths_set",
"def paths(self, paths):\n\n self._paths = paths",
"def paths(self, source, target):\n ... | [
"0.62458056",
"0.57950485",
"0.5495942",
"0.5444068",
"0.52946144",
"0.5254811",
"0.5237299",
"0.5204385",
"0.52023447",
"0.51911265",
"0.51390266",
"0.510925",
"0.5106231",
"0.5103516",
"0.5078467",
"0.5028923",
"0.50287247",
"0.50247157",
"0.49999756",
"0.49856964",
"0.4969... | 0.0 | -1 |
Sets Maximum sentence size that the annotator will process, by default 1000. Above this, the sentence is skipped. | def setMaxSentenceSize(self, value):
return self._set(maxSentenceSize=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setMaxSentenceLength(self, value):\n return self._set(maxSentenceLength=value)",
"def setMaxSentenceLength(self, value):\n return self._set(maxSentenceLength=value)",
"def setMaxSentenceLength(self, value):\n return self._set(maxSentenceLength=value)",
"def setMaxSentenceLength(self,... | [
"0.72298384",
"0.72298384",
"0.72298384",
"0.72298384",
"0.72298384",
"0.72298384",
"0.72298384",
"0.72298384",
"0.72298384",
"0.72298384",
"0.72298384",
"0.72298384",
"0.72298384",
"0.72298384",
"0.72298384",
"0.72298384",
"0.72298384",
"0.72298384",
"0.72298384",
"0.72298384"... | 0.8111964 | 0 |
Sets Minimum sentence size that the annotator will process, by default 2. Below this, the sentence is skipped. | def setMinSentenceSize(self, value):
return self._set(minSentenceSize=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setMaxSentenceSize(self, value):\n return self._set(maxSentenceSize=value)",
"def set_min_sentence_length(self):\n new_min = int(self.set_min_sentence.get())\n cur_max = self.max_sentence_length\n\n if new_min < cur_max:\n self.min_sentence_length = new_min\n els... | [
"0.70051783",
"0.6677099",
"0.6423181",
"0.62268186",
"0.6099125",
"0.6099125",
"0.6099125",
"0.6099125",
"0.6099125",
"0.6099125",
"0.6099125",
"0.6099125",
"0.6099125",
"0.6099125",
"0.6099125",
"0.6099125",
"0.6099125",
"0.6099125",
"0.6099125",
"0.6099125",
"0.6099125",
... | 0.8017803 | 0 |
Sets delimiter symbol used for path output. | def setDelimiter(self, value):
return self._set(delimiter=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def set_separator(self, separator):\n self._separator = separator",
"def setDelimiter(self, value):\n if len(value) > 1:\n raise Exception(\"Delimiter should have length == 1\")\n return self._set(delimiter=value)",
"def get_path_sep(self) -> str:\n return self._path_sep"... | [
"0.7027743",
"0.69993854",
"0.66096604",
"0.63934046",
"0.6387135",
"0.6200371",
"0.6116756",
"0.6109039",
"0.6092743",
"0.6078478",
"0.6051992",
"0.6032626",
"0.597657",
"0.5969671",
"0.5939828",
"0.59351516",
"0.5886412",
"0.5823393",
"0.5782528",
"0.5777926",
"0.57575697",... | 0.7275403 | 0 |
Returns labels used to train this model | def getClasses(self):
return self._call_java("getClasses") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def train_labels(self):\n return self._train_labels",
"def get_train_labels(self):\n raise NotImplementedError",
"def get_labels(self):\n return self.labels",
"def get_labels(model):\n return model._labels",
"def get_labels(model):\n return model._labels",
"def get_labe... | [
"0.87055945",
"0.8630082",
"0.7926736",
"0.7918763",
"0.7918763",
"0.7918763",
"0.7918763",
"0.7868222",
"0.7861747",
"0.7804594",
"0.77882135",
"0.7786394",
"0.7762736",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7678056",
"0.7666861",
... | 0.0 | -1 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 30 |
Sets max sentence length to process, by default 128. | def setMaxSentenceLength(self, value):
return self._set(maxSentenceLength=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceSize(self, value):\n return self._set(maxSentenceSiz... | [
"0.8123694",
"0.8123694",
"0.8111426",
"0.7868658",
"0.6736564",
"0.66611046",
"0.66611046",
"0.66611046",
"0.65857756",
"0.6577836",
"0.6577836",
"0.6577836",
"0.6577836",
"0.6531549",
"0.6494815",
"0.6442197",
"0.64406",
"0.6436367",
"0.6324801",
"0.6312985",
"0.6308857",
... | 0.81601447 | 15 |
Returns labels used to train this model | def getClasses(self):
return self._call_java("getClasses") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def train_labels(self):\n return self._train_labels",
"def get_train_labels(self):\n raise NotImplementedError",
"def get_labels(self):\n return self.labels",
"def get_labels(model):\n return model._labels",
"def get_labels(model):\n return model._labels",
"def get_labe... | [
"0.87055945",
"0.8630082",
"0.7926736",
"0.7918763",
"0.7918763",
"0.7918763",
"0.7918763",
"0.7868222",
"0.7861747",
"0.7804594",
"0.77882135",
"0.7786394",
"0.7762736",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7678056",
"0.7666861",
... | 0.0 | -1 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 40 |
Sets max sentence length to process, by default 128. | def setMaxSentenceLength(self, value):
return self._set(maxSentenceLength=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceSize(self, value):\n return self._set(maxSentenceSiz... | [
"0.8123694",
"0.8123694",
"0.8111426",
"0.7868658",
"0.6736564",
"0.66611046",
"0.66611046",
"0.66611046",
"0.65857756",
"0.6577836",
"0.6577836",
"0.6577836",
"0.6577836",
"0.6531549",
"0.6494815",
"0.6442197",
"0.64406",
"0.6436367",
"0.6324801",
"0.6312985",
"0.6308857",
... | 0.81601447 | 22 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 41 |
Sets max sentence length to process, by default 1024. | def setMaxSentenceLength(self, value):
return self._set(maxSentenceLength=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setMaxSentenceSize(self, value):\n return self._set(maxSentenceSize=value)",
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenc... | [
"0.8304476",
"0.8260487",
"0.8260487",
"0.7964902",
"0.6972557",
"0.67950445",
"0.67950445",
"0.67950445",
"0.67950445",
"0.6776469",
"0.6776469",
"0.6776469",
"0.66414946",
"0.65955025",
"0.65683657",
"0.6544963",
"0.65443164",
"0.6383833",
"0.6356335",
"0.63404274",
"0.6335... | 0.8287314 | 18 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 38 |
Sets max sentence length to process. | def setMaxSentenceLength(self, value):
return self._set(maxSentenceLength=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def set_max_sentence_length(self):\n new_max = int(self.set_max_senten... | [
"0.8489678",
"0.8489678",
"0.8360852",
"0.81547016",
"0.6910169",
"0.68543905",
"0.6735475",
"0.6735475",
"0.6735475",
"0.6735475",
"0.66796553",
"0.66796553",
"0.66796553",
"0.6576391",
"0.6575342",
"0.6413683",
"0.6413683",
"0.6388323",
"0.6384527",
"0.63248205",
"0.6309113... | 0.83578753 | 21 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 36 |
Sets max sentence length to process. | def setMaxSentenceLength(self, value):
return self._set(maxSentenceLength=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def set_max_sentence_length(self):\n new_max = int(self.set_max_senten... | [
"0.8489678",
"0.8489678",
"0.8360852",
"0.81547016",
"0.6910169",
"0.68543905",
"0.6735475",
"0.6735475",
"0.6735475",
"0.6735475",
"0.66796553",
"0.66796553",
"0.66796553",
"0.6576391",
"0.6575342",
"0.6413683",
"0.6413683",
"0.6388323",
"0.6384527",
"0.63248205",
"0.6309113... | 0.83578753 | 20 |
Returns labels used to train this model | def getClasses(self):
return self._call_java("getClasses") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def train_labels(self):\n return self._train_labels",
"def get_train_labels(self):\n raise NotImplementedError",
"def get_labels(self):\n return self.labels",
"def get_labels(model):\n return model._labels",
"def get_labels(model):\n return model._labels",
"def get_labe... | [
"0.87055945",
"0.8630082",
"0.7926736",
"0.7918763",
"0.7918763",
"0.7918763",
"0.7918763",
"0.7868222",
"0.7861747",
"0.7804594",
"0.77882135",
"0.7786394",
"0.7762736",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7678056",
"0.7666861",
... | 0.0 | -1 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 35 |
Sets max sentence length to process, by default 128. | def setMaxSentenceLength(self, value):
return self._set(maxSentenceLength=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceSize(self, value):\n return self._set(maxSentenceSiz... | [
"0.8123694",
"0.8123694",
"0.8111426",
"0.7868658",
"0.6736564",
"0.66611046",
"0.66611046",
"0.66611046",
"0.65857756",
"0.6577836",
"0.6577836",
"0.6577836",
"0.6577836",
"0.6531549",
"0.6494815",
"0.6442197",
"0.64406",
"0.6436367",
"0.6324801",
"0.6312985",
"0.6308857",
... | 0.81601447 | 17 |
Returns labels used to train this model | def getClasses(self):
return self._call_java("getClasses") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def train_labels(self):\n return self._train_labels",
"def get_train_labels(self):\n raise NotImplementedError",
"def get_labels(self):\n return self.labels",
"def get_labels(model):\n return model._labels",
"def get_labels(model):\n return model._labels",
"def get_labe... | [
"0.87055945",
"0.8630082",
"0.7926736",
"0.7918763",
"0.7918763",
"0.7918763",
"0.7918763",
"0.7868222",
"0.7861747",
"0.7804594",
"0.77882135",
"0.7786394",
"0.7762736",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7678056",
"0.7666861",
... | 0.0 | -1 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 25 |
Sets max sentence length to process, by default 128. | def setMaxSentenceLength(self, value):
return self._set(maxSentenceLength=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceSize(self, value):\n return self._set(maxSentenceSiz... | [
"0.8123694",
"0.8123694",
"0.8111426",
"0.7868658",
"0.6736564",
"0.66611046",
"0.66611046",
"0.66611046",
"0.65857756",
"0.6577836",
"0.6577836",
"0.6577836",
"0.6577836",
"0.6531549",
"0.6494815",
"0.6442197",
"0.64406",
"0.6436367",
"0.6324801",
"0.6312985",
"0.6308857",
... | 0.81601447 | 23 |
Returns labels used to train this model | def getClasses(self):
return self._call_java("getClasses") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def train_labels(self):\n return self._train_labels",
"def get_train_labels(self):\n raise NotImplementedError",
"def get_labels(self):\n return self.labels",
"def get_labels(model):\n return model._labels",
"def get_labels(model):\n return model._labels",
"def get_labe... | [
"0.87055945",
"0.8630082",
"0.7926736",
"0.7918763",
"0.7918763",
"0.7918763",
"0.7918763",
"0.7868222",
"0.7861747",
"0.7804594",
"0.77882135",
"0.7786394",
"0.7762736",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7678056",
"0.7666861",
... | 0.0 | -1 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 23 |
Sets max sentence length to process, by default 128. | def setMaxSentenceLength(self, value):
return self._set(maxSentenceLength=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceSize(self, value):\n return self._set(maxSentenceSiz... | [
"0.8123694",
"0.8123694",
"0.8111426",
"0.7868658",
"0.6736564",
"0.66611046",
"0.66611046",
"0.66611046",
"0.65857756",
"0.6577836",
"0.6577836",
"0.6577836",
"0.6577836",
"0.6531549",
"0.6494815",
"0.6442197",
"0.64406",
"0.6436367",
"0.6324801",
"0.6312985",
"0.6308857",
... | 0.81601447 | 19 |
Returns labels used to train this model | def getClasses(self):
return self._call_java("getClasses") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def train_labels(self):\n return self._train_labels",
"def get_train_labels(self):\n raise NotImplementedError",
"def get_labels(self):\n return self.labels",
"def get_labels(model):\n return model._labels",
"def get_labels(model):\n return model._labels",
"def get_labe... | [
"0.87055945",
"0.8630082",
"0.7926736",
"0.7918763",
"0.7918763",
"0.7918763",
"0.7918763",
"0.7868222",
"0.7861747",
"0.7804594",
"0.77882135",
"0.7786394",
"0.7762736",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7678056",
"0.7666861",
... | 0.0 | -1 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 6 |
Sets max sentence length to process, by default 128. | def setMaxSentenceLength(self, value):
return self._set(maxSentenceLength=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceSize(self, value):\n return self._set(maxSentenceSiz... | [
"0.8123694",
"0.8123694",
"0.8111426",
"0.7868658",
"0.6736564",
"0.66611046",
"0.66611046",
"0.66611046",
"0.65857756",
"0.6577836",
"0.6577836",
"0.6577836",
"0.6577836",
"0.6531549",
"0.6494815",
"0.6442197",
"0.64406",
"0.6436367",
"0.6324801",
"0.6312985",
"0.6308857",
... | 0.81601447 | 0 |
Returns labels used to train this model | def getClasses(self):
return self._call_java("getClasses") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def train_labels(self):\n return self._train_labels",
"def get_train_labels(self):\n raise NotImplementedError",
"def get_labels(self):\n return self.labels",
"def get_labels(model):\n return model._labels",
"def get_labels(model):\n return model._labels",
"def get_labe... | [
"0.87055945",
"0.8630082",
"0.7926736",
"0.7918763",
"0.7918763",
"0.7918763",
"0.7918763",
"0.7868222",
"0.7861747",
"0.7804594",
"0.77882135",
"0.7786394",
"0.7762736",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7678056",
"0.7666861",
... | 0.0 | -1 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 11 |
Sets max sentence length to process, by default 128. | def setMaxSentenceLength(self, value):
return self._set(maxSentenceLength=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceSize(self, value):\n return self._set(maxSentenceSiz... | [
"0.8123694",
"0.8123694",
"0.8111426",
"0.7868658",
"0.6736564",
"0.66611046",
"0.66611046",
"0.66611046",
"0.65857756",
"0.6577836",
"0.6577836",
"0.6577836",
"0.6577836",
"0.6531549",
"0.6494815",
"0.6442197",
"0.64406",
"0.6436367",
"0.6324801",
"0.6312985",
"0.6308857",
... | 0.81601447 | 1 |
Returns labels used to train this model | def getClasses(self):
return self._call_java("getClasses") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def train_labels(self):\n return self._train_labels",
"def get_train_labels(self):\n raise NotImplementedError",
"def get_labels(self):\n return self.labels",
"def get_labels(model):\n return model._labels",
"def get_labels(model):\n return model._labels",
"def get_labe... | [
"0.87055945",
"0.8630082",
"0.7926736",
"0.7918763",
"0.7918763",
"0.7918763",
"0.7918763",
"0.7868222",
"0.7861747",
"0.7804594",
"0.77882135",
"0.7786394",
"0.7762736",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7678056",
"0.7666861",
... | 0.0 | -1 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 3 |
Sets max sentence length to process, by default 128. | def setMaxSentenceLength(self, value):
return self._set(maxSentenceLength=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceSize(self, value):\n return self._set(maxSentenceSiz... | [
"0.8123694",
"0.8123694",
"0.8111426",
"0.7868658",
"0.6736564",
"0.66611046",
"0.66611046",
"0.66611046",
"0.65857756",
"0.6577836",
"0.6577836",
"0.6577836",
"0.6577836",
"0.6531549",
"0.6494815",
"0.6442197",
"0.64406",
"0.6436367",
"0.6324801",
"0.6312985",
"0.6308857",
... | 0.81601447 | 2 |
Sets minCount, the minimum number of times a token must appear | def setMinCount(self, minCount):
return self._set(minCount=minCount) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setMinCount(self, count):\n return self._set(minCount=count)",
"def min_count(request) -> int:\n return request.param",
"def compute_optimal_token_minimum(token_counts) -> int:\n q1, q3 = compute_quartiles(token_counts)\n iqr = q3 - q1\n low_threshold = q1 - 1.5 * iqr\n return low_thres... | [
"0.6783607",
"0.62797415",
"0.6237415",
"0.62136716",
"0.61635566",
"0.61593914",
"0.59757274",
"0.59580743",
"0.5875767",
"0.580098",
"0.57416725",
"0.57416725",
"0.57416725",
"0.57416725",
"0.5740358",
"0.5729719",
"0.5729719",
"0.5705471",
"0.55790925",
"0.55095774",
"0.54... | 0.6640353 | 1 |
Returns labels used to train this model | def getClasses(self):
return self._call_java("getClasses") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def train_labels(self):\n return self._train_labels",
"def get_train_labels(self):\n raise NotImplementedError",
"def get_labels(self):\n return self.labels",
"def get_labels(model):\n return model._labels",
"def get_labels(model):\n return model._labels",
"def get_labe... | [
"0.87055945",
"0.8630082",
"0.7926736",
"0.7918763",
"0.7918763",
"0.7918763",
"0.7918763",
"0.7868222",
"0.7861747",
"0.7804594",
"0.77882135",
"0.7786394",
"0.7762736",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7678056",
"0.7666861",
... | 0.0 | -1 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 12 |
Sets max sentence length to process, by default 128. | def setMaxSentenceLength(self, value):
return self._set(maxSentenceLength=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceSize(self, value):\n return self._set(maxSentenceSiz... | [
"0.8123694",
"0.8123694",
"0.8111426",
"0.7868658",
"0.6736564",
"0.66611046",
"0.66611046",
"0.66611046",
"0.65857756",
"0.6577836",
"0.6577836",
"0.6577836",
"0.6577836",
"0.6531549",
"0.6494815",
"0.6442197",
"0.64406",
"0.6436367",
"0.6324801",
"0.6312985",
"0.6308857",
... | 0.81601447 | 3 |
Returns labels used to train this model | def getClasses(self):
return self._call_java("getClasses") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def train_labels(self):\n return self._train_labels",
"def get_train_labels(self):\n raise NotImplementedError",
"def get_labels(self):\n return self.labels",
"def get_labels(model):\n return model._labels",
"def get_labels(model):\n return model._labels",
"def get_labe... | [
"0.87055945",
"0.8630082",
"0.7926736",
"0.7918763",
"0.7918763",
"0.7918763",
"0.7918763",
"0.7868222",
"0.7861747",
"0.7804594",
"0.77882135",
"0.7786394",
"0.7762736",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7678056",
"0.7666861",
... | 0.0 | -1 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 4 |
Sets max sentence length to process, by default 128. | def setMaxSentenceLength(self, value):
return self._set(maxSentenceLength=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceSize(self, value):\n return self._set(maxSentenceSiz... | [
"0.8123694",
"0.8123694",
"0.8111426",
"0.7868658",
"0.6736564",
"0.66611046",
"0.66611046",
"0.66611046",
"0.65857756",
"0.6577836",
"0.6577836",
"0.6577836",
"0.6577836",
"0.6531549",
"0.6494815",
"0.6442197",
"0.64406",
"0.6436367",
"0.6324801",
"0.6312985",
"0.6308857",
... | 0.81601447 | 9 |
Returns labels used to train this model | def getClasses(self):
return self._call_java("getClasses") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def train_labels(self):\n return self._train_labels",
"def get_train_labels(self):\n raise NotImplementedError",
"def get_labels(self):\n return self.labels",
"def get_labels(model):\n return model._labels",
"def get_labels(model):\n return model._labels",
"def get_labe... | [
"0.87055945",
"0.8630082",
"0.7926736",
"0.7918763",
"0.7918763",
"0.7918763",
"0.7918763",
"0.7868222",
"0.7861747",
"0.7804594",
"0.77882135",
"0.7786394",
"0.7762736",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7678056",
"0.7666861",
... | 0.0 | -1 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 21 |
Sets max sentence length to process, by default 128. | def setMaxSentenceLength(self, value):
return self._set(maxSentenceLength=value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceLength(self, maxSentenceLength):\n return self._set(maxSentenceLength=maxSentenceLength)",
"def setMaxSentenceSize(self, value):\n return self._set(maxSentenceSiz... | [
"0.8123694",
"0.8123694",
"0.8111426",
"0.7868658",
"0.6736564",
"0.66611046",
"0.66611046",
"0.66611046",
"0.65857756",
"0.6577836",
"0.6577836",
"0.6577836",
"0.6577836",
"0.6531549",
"0.6494815",
"0.6442197",
"0.64406",
"0.6436367",
"0.6324801",
"0.6312985",
"0.6308857",
... | 0.81601447 | 10 |
Returns labels used to train this model | def getClasses(self):
return self._call_java("getClasses") | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def train_labels(self):\n return self._train_labels",
"def get_train_labels(self):\n raise NotImplementedError",
"def get_labels(self):\n return self.labels",
"def get_labels(model):\n return model._labels",
"def get_labels(model):\n return model._labels",
"def get_labe... | [
"0.87055945",
"0.8630082",
"0.7926736",
"0.7918763",
"0.7918763",
"0.7918763",
"0.7918763",
"0.7868222",
"0.7861747",
"0.7804594",
"0.77882135",
"0.7786394",
"0.7762736",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7738323",
"0.7678056",
"0.7666861",
... | 0.0 | -1 |
Sets configProto from tensorflow, serialized into byte array. | def setConfigProtoBytes(self, b):
return self._set(configProtoBytes=b) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def setConfigProtoBytes(self, v):\n return self._set(configProtoBytes=v)",
"def make_config_proto(c):\n # tensorflow config\n use_gpu = os.environ.get('use_gpu', c.get('tf.config.use_gpu', c.get('use_gpu', 1)))\n cfg = tf.ConfigProto(device_count={'GPU': use_gpu})\n\n # scan config for tf conf... | [
"0.75618696",
"0.6219305",
"0.6167628",
"0.59814763",
"0.59055257",
"0.5844697",
"0.5599306",
"0.55863786",
"0.5412146",
"0.53233427",
"0.5217989",
"0.52129155",
"0.51678354",
"0.51494646",
"0.50938296",
"0.5053427",
"0.50138324",
"0.49860623",
"0.4972503",
"0.49635026",
"0.4... | 0.7518328 | 20 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.