MCPcopy Create free account

hub / github.com/google-research/language / types & classes

Types & classes800 in github.com/google-research/language

↓ 35 callersClassSQLAction
Describes a single generation action for a SQL query.
language/xsp/data_preprocessing/sql_utils.py:105
↓ 21 callersClassNonterminal
Nonterminal symbol.
language/gscan/data/grammar.py:30
↓ 13 callersClassNQExprProvenance
Information on how a NeuralQueryExpression was constructed. Attributes: operation: A text description of the operation. inner: The nested o
language/nql/nql/__init__.py:1895
↓ 11 callersClassInputExample
A single training/test example for simple sequence classification.
language/conpono/evals/classifier_utils.py:28
↓ 10 callersClassParseError
language/xsp/data_preprocessing/sql_parsing.py:29
↓ 10 callersClassParseError
This exception indicates an unexpected condition during parsing.
language/xsp/data_preprocessing/abstract_sql.py:94
↓ 8 callersClassInputExample
A single training/test example for simple sequence classification.
language/bert_extraction/steal_bert_classifier/models/run_classifier.py:135
↓ 8 callersClassInputExample
A single training/test example for simple sequence classification.
language/conpono/evals/run_classifier.py:135
↓ 8 callersClassInputExample
A single training/test example for simple sequence classification.
language/conpono/evals/run_concat_classifier.py:140
↓ 8 callersClassSchemaEntityCopy
A copy action from the schema.
language/xsp/data_preprocessing/sql_utils.py:82
↓ 7 callersClassExample
language/compir/dataset_parsers/dataset_parser.py:22
↓ 7 callersClassInputToken
language/xsp/data_preprocessing/convert_to_tfrecords.py:76
↓ 7 callersClassLexicalRule
Rule of form Non-Terminal -> Terminal.
language/gscan/data/grammar.py:153
↓ 7 callersClassLogicalForm
Logical form class supports object relation.
language/gscan/data/grammar.py:80
↓ 7 callersClassRelationNameError
The relation is undefined or invalid. Attributes: relation_name: The relation that is not defined. message: An explanation of the error
language/nql/nql/__init__.py:75
↓ 7 callersClassTrippyBuilder
language/nql/nql/util_test.py:107
↓ 6 callersClassLinear
Linear map: sum_i(args[i] * W[i]), where W[i] is a variable. Args: args: a 2D Tensor or a list of 2D, batch, n, Tensors. output_size: int,
language/labs/exemplar_decoding/models/linear.py:33
↓ 6 callersClassUnsupportedSqlError
For SQL queries that are not supported in Abstract SQL.
language/xsp/data_preprocessing/abstract_sql.py:99
↓ 5 callersClassBertInputs
A namedtuple that groups together all BERT inputs.
language/conpono/reconstruct/preprocess.py:431
↓ 5 callersClassExample
A single training/test example for QA.
language/labs/drkit/input_fns.py:27
↓ 5 callersClassFeatureWriter
Writes InputFeature to TF example file.
language/labs/drkit/input_fns.py:91
↓ 5 callersClassFeatureWriter
Writes InputFeature to TF example file.
language/labs/drkit/run_dualencoder_lsf.py:2019
↓ 5 callersClassInvertibleDelimiterRange
Helper class for generating / detecting delimiters within a fixed range. Attributes: constructor: An invertible delimiter constructor. star
language/fruit/rendering_utils.py:133
↓ 5 callersClassNLToSQLExample
Contains both inputs and outputs for a NL to SQL example.
language/xsp/data_preprocessing/nl_to_sql_example.py:61
↓ 5 callersClassSentence
A delimited sentence w/ entity id & evidence metadata.
language/fruit/rendering_utils.py:242
↓ 5 callersClassSimpleConfigObject
language/canine/config_utils_test.py:28
↓ 5 callersClassWordpiece
Contains wordpiece information as a substring of an utterance.
language/xsp/data_preprocessing/language_utils.py:22
↓ 4 callersClassInputFeatures
A single set of features of data.
language/conpono/evals/classifier_utils.py:62
↓ 4 callersClassInvertibleDelimiterConstructor
Creates / detects indexed renderables that delimit fields within text. Attributes: fstring: A format string with a `uid` field used to create t
language/fruit/rendering_utils.py:88
↓ 4 callersClassMyAttention
Based on wrapper of tf.contrib.seq2seq.LuongAttention. Allows to use a customized mask.
language/labs/exemplar_decoding/models/attention.py:308
↓ 4 callersClassMyClass
language/canine/tensor_contracts_test.py:208
↓ 4 callersClassNpWrapper
NP Wrapper rule.
language/gscan/data/grammar.py:236
↓ 4 callersClassOutputAction
language/xsp/data_preprocessing/convert_to_tfrecords.py:84
↓ 4 callersClassOutputWrapper
Based on tensorflow.contrib.rnn.OutputProjectionWrapper.
language/labs/exemplar_decoding/models/output_wrapper.py:28
↓ 4 callersClassParseError
language/xsp/data_preprocessing/abstract_sql_converters.py:29
↓ 4 callersClassTerm
Term class that supports location in predicate.
language/gscan/data/grammar.py:111
↓ 4 callersClassTypeNameError
The type is undefined. Attributes: type_name: The type that is not defined. message: An explanation of the error
language/nql/nql/__init__.py:38
↓ 4 callersClassUsesProperties
language/canine/config_utils_test.py:48
↓ 3 callersClassDatabaseTable
Contains information about a table in a database.
language/xsp/data_preprocessing/schema_utils.py:75
↓ 3 callersClassFeatureWriter
Writes InputFeature to TF example file.
language/bert_extraction/steal_bert_qa/models/run_squad_membership.py:686
↓ 3 callersClassRuleApplicationNode
Represents an anchored rule application.
language/compgen/csl/model/data/parsing_utils.py:86
↓ 3 callersClassSquadExample
A single training/test example for simple sequence classification. For examples without an answer, the start and end position are -1.
language/labs/drkit/run_dualencoder_lsf.py:375
↓ 3 callersClassTableColumn
Contains information about column in a database table.
language/xsp/data_preprocessing/schema_utils.py:29
↓ 3 callersClassTerminal
Terminal symbol.
language/gscan/data/grammar.py:46
↓ 3 callersClassTransformerOutput
Transformer output layer. Attributes: hidden_size: <int32>[1]. hidden_dropout_rate: <int32>[1]. layer_norm_eps: <float32>[1]. kerne
language/gscan/xattn_model/model/layers.py:271
↓ 2 callersClassAggregationNode
Represents an aggregation over multiple nodes.
language/compgen/csl/model/data/parsing_utils.py:66
↓ 2 callersClassAggregationNode
Represents an aggregation over multiple nodes.
language/compgen/nqg/model/parser/data/parsing_utils.py:44
↓ 2 callersClassBeamState
Holds beam search state data.
language/gscan/xattn_model/model/decode.py:127
↓ 2 callersClassBertModel
See modeling.BertModel.
language/labs/drkit/run_dualencoder_qa.py:210
↓ 2 callersClassBertModel
See modeling.BertModel.
language/labs/drkit/run_dualencoder_lsf.py:264
↓ 2 callersClassClaimPrediction
language/serene/analysis.py:77
↓ 2 callersClassDp
DP rule.
language/gscan/data/grammar.py:224
↓ 2 callersClassEntityNameError
The entity is undefined and cannot be mapped onto the unknown id. Attributes: entity_name: The entity that is not defined. type_name: The t
language/nql/nql/__init__.py:55
↓ 2 callersClassFastPredict
Class to prevent re-initialization of Estimator when predicting.
language/labs/drkit/hotpotqa/demo.py:305
↓ 2 callersClassFeatureWriter
Writes InputFeature to TF example file.
language/labs/drkit/hotpotqa/answer_extractor.py:1180
↓ 2 callersClassFeatureWriter
Writes InputFeature to TF example file.
language/bert_extraction/steal_bert_qa/models/run_squad.py:1071
↓ 2 callersClassFeatureWriter
Writes InputFeature to TF example file.
language/conpono/evals/run_squad.py:1058
↓ 2 callersClassHyperAttention
Implements Luong-style (multiplicative) attention scoring. This attention has two forms. The first is standard Luong attention, as described in:
language/labs/exemplar_decoding/models/attention.py:386
↓ 2 callersClassIndexKey
language/serene/wiki_index.py:52
↓ 2 callersClassInputExample
A single training/test example for simple sequence classification.
language/bert_extraction/steal_bert_classifier/models/run_classifier_membership.py:132
↓ 2 callersClassInputExample
A single training/test example for simple sequence classification.
language/bert_extraction/steal_bert_classifier/models/run_classifier_distillation.py:135
↓ 2 callersClassInputFeatures
A single set of features of data.
language/bert_extraction/steal_bert_classifier/models/run_classifier_membership.py:166
↓ 2 callersClassInputFeatures
A single set of features of data.
language/bert_extraction/steal_bert_classifier/models/run_classifier_distillation.py:169
↓ 2 callersClassInputFeatures
A single set of features of data.
language/bert_extraction/steal_bert_classifier/models/run_classifier.py:169
↓ 2 callersClassInputFeatures
A single set of features of data.
language/conpono/evals/run_classifier.py:169
↓ 2 callersClassInputFeatures
A single set of features of data.
language/conpono/evals/run_concat_classifier.py:174
↓ 2 callersClassInsufficientGPUError
Not enough GPU available as requested by the user. Attributes: requested_gpu: The number of GPUs requested by the user. available_gpu: The
language/nql/nql/dist.py:35
↓ 2 callersClassJointRule
Represents a QCFG rule with type annotations based on target CFG.
language/compgen/csl/augment/joint_sampler.py:45
↓ 2 callersClassMIPSConfig
Hyperparameters for the QA model.
language/labs/drkit/run_multihop_follow.py:281
↓ 2 callersClassMaskingError
language/realm/featurization.py:397
↓ 2 callersClassModel
Wraps rule application scores.
language/compgen/csl/model/weighted_model.py:146
↓ 2 callersClassModel
(DEPRECATED) Help for building Estimator-friendly NQL models. To use this, subclass it, and implement config_* methods, so as to define a procedu
language/nql/nql/util.py:30
↓ 2 callersClassNp
NP rule.
language/gscan/data/grammar.py:254
↓ 2 callersClassPaddingInputExample
Fake example so the num input examples is a multiple of the batch size. When running eval/predict on the TPU, we need to pad the number of examples
language/bert_extraction/steal_bert_classifier/models/run_classifier_membership.py:153
↓ 2 callersClassPaddingInputExample
Fake example so the num input examples is a multiple of the batch size. When running eval/predict on the TPU, we need to pad the number of examples
language/bert_extraction/steal_bert_classifier/models/run_classifier_distillation.py:156
↓ 2 callersClassPaddingInputExample
Fake example so the num input examples is a multiple of the batch size. When running eval/predict on the TPU, we need to pad the number of examples
language/bert_extraction/steal_bert_classifier/models/run_classifier.py:156
↓ 2 callersClassPaddingInputExample
Fake example so the num input examples is a multiple of the batch size. When running eval/predict on the TPU, we need to pad the number of examples
language/conpono/evals/run_classifier.py:156
↓ 2 callersClassPaddingInputExample
Fake example so the num input examples is a multiple of the batch size. When running eval/predict on the TPU, we need to pad the number of examples
language/conpono/evals/run_concat_classifier.py:161
↓ 2 callersClassProcessArticles
Read and process a Wikipedia JSONL dump.
language/fruit/beam_pipelines.py:139
↓ 2 callersClassQueryAdjustment
One single adjustment to the query.
language/search_agents/muzero/state_tree.py:51
↓ 2 callersClassRule
Represents a string-formatted CFG rule.
language/compgen/nqg/tasks/spider/sql_parser.py:34
↓ 2 callersClassRuleApplicationNode
Represents an anchored rule application.
language/compgen/nqg/model/parser/data/parsing_utils.py:61
↓ 2 callersClassScore
Evaluation of a single example pair.
language/diffqg/metrics.py:38
↓ 2 callersClassScoreSummary
language/question_answering/bert_joint/run_nq.py:1117
↓ 2 callersClassScoredPair
language/diffqg/metrics.py:66
↓ 2 callersClassSlotCollection
Encode a frame with slot-fillers, grouped by slot.
language/templama/sling2facts.py:225
↓ 2 callersClassTFCheckpointNotFoundError
language/bert_extraction/steal_bert_classifier/utils/model_diff_dataset.py:63
↓ 2 callersClassTokenizationError
language/realm/featurization.py:551
↓ 2 callersClassTokenizer
A simple tokenizer.
language/gscan/xattn_model/dataset/preprocess.py:161
↓ 2 callersClassTrainingInstance
A single training instance (sentence pair).
language/conpono/create_pretrain_data/preprocessing_utils.py:26
↓ 2 callersClassTransformerIntermediate
Transformer interdediate layer after self-attention. Attributes: intermediate_size: <int32>[1]. hidden_act: <int32>[1]. kernel_init: In
language/gscan/xattn_model/model/layers.py:236
↓ 2 callersClassTrieNode
Represents a node in a generic Trie data structure.
language/compgen/csl/cky/cfg_parser.py:34
↓ 2 callersClassTrieNode
Represents a node in a generic Trie data structure.
language/compgen/nqg/common/cky/trie_utils.py:30
↓ 2 callersClassTypeCompatibilityError
Two types are not compatible for use in an operation. Attributes: type_name1: The name of type 1. type_name2: The name of type 2. opera
language/nql/nql/__init__.py:92
↓ 2 callersClassVocabulary
Object that maps words in string form to indices. Code adapted from https://github.com/LauraRuis/multimodal_seq2seq_gSCAN/blob/ master/seq2seq/
language/gscan/xattn_model/dataset/preprocess.py:69
↓ 2 callersClassVpIntransitive
Intransitive VP rule.
language/gscan/data/grammar.py:196
↓ 2 callersClassVpTransitive
Transitive VP rule.
language/gscan/data/grammar.py:210
↓ 2 callersClassWinoDictAnswer
Container for all the parts in WinoDict answer.
language/wino_dict/utils.py:153
↓ 2 callersClassWinogradExample
language/wino_dict/utils.py:141
↓ 2 callersClass_Context
Contains information that we might want to print out in error messages.
language/canine/tensor_contracts.py:109
next →1–100 of 800, ranked by callers