Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/google-research/language
/ types & classes
Types & classes
800 in github.com/google-research/language
⨍
Functions
6,154
◇
Types & classes
800
↳
Endpoints
12
↓ 35 callers
Class
SQLAction
Describes a single generation action for a SQL query.
language/xsp/data_preprocessing/sql_utils.py:105
↓ 21 callers
Class
Nonterminal
Nonterminal symbol.
language/gscan/data/grammar.py:30
↓ 13 callers
Class
NQExprProvenance
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 callers
Class
InputExample
A single training/test example for simple sequence classification.
language/conpono/evals/classifier_utils.py:28
↓ 10 callers
Class
ParseError
language/xsp/data_preprocessing/sql_parsing.py:29
↓ 10 callers
Class
ParseError
This exception indicates an unexpected condition during parsing.
language/xsp/data_preprocessing/abstract_sql.py:94
↓ 8 callers
Class
InputExample
A single training/test example for simple sequence classification.
language/bert_extraction/steal_bert_classifier/models/run_classifier.py:135
↓ 8 callers
Class
InputExample
A single training/test example for simple sequence classification.
language/conpono/evals/run_classifier.py:135
↓ 8 callers
Class
InputExample
A single training/test example for simple sequence classification.
language/conpono/evals/run_concat_classifier.py:140
↓ 8 callers
Class
SchemaEntityCopy
A copy action from the schema.
language/xsp/data_preprocessing/sql_utils.py:82
↓ 7 callers
Class
Example
language/compir/dataset_parsers/dataset_parser.py:22
↓ 7 callers
Class
InputToken
language/xsp/data_preprocessing/convert_to_tfrecords.py:76
↓ 7 callers
Class
LexicalRule
Rule of form Non-Terminal -> Terminal.
language/gscan/data/grammar.py:153
↓ 7 callers
Class
LogicalForm
Logical form class supports object relation.
language/gscan/data/grammar.py:80
↓ 7 callers
Class
RelationNameError
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 callers
Class
TrippyBuilder
language/nql/nql/util_test.py:107
↓ 6 callers
Class
Linear
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 callers
Class
UnsupportedSqlError
For SQL queries that are not supported in Abstract SQL.
language/xsp/data_preprocessing/abstract_sql.py:99
↓ 5 callers
Class
BertInputs
A namedtuple that groups together all BERT inputs.
language/conpono/reconstruct/preprocess.py:431
↓ 5 callers
Class
Example
A single training/test example for QA.
language/labs/drkit/input_fns.py:27
↓ 5 callers
Class
FeatureWriter
Writes InputFeature to TF example file.
language/labs/drkit/input_fns.py:91
↓ 5 callers
Class
FeatureWriter
Writes InputFeature to TF example file.
language/labs/drkit/run_dualencoder_lsf.py:2019
↓ 5 callers
Class
InvertibleDelimiterRange
Helper class for generating / detecting delimiters within a fixed range. Attributes: constructor: An invertible delimiter constructor. star
language/fruit/rendering_utils.py:133
↓ 5 callers
Class
NLToSQLExample
Contains both inputs and outputs for a NL to SQL example.
language/xsp/data_preprocessing/nl_to_sql_example.py:61
↓ 5 callers
Class
Sentence
A delimited sentence w/ entity id & evidence metadata.
language/fruit/rendering_utils.py:242
↓ 5 callers
Class
SimpleConfigObject
language/canine/config_utils_test.py:28
↓ 5 callers
Class
Wordpiece
Contains wordpiece information as a substring of an utterance.
language/xsp/data_preprocessing/language_utils.py:22
↓ 4 callers
Class
InputFeatures
A single set of features of data.
language/conpono/evals/classifier_utils.py:62
↓ 4 callers
Class
InvertibleDelimiterConstructor
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 callers
Class
MyAttention
Based on wrapper of tf.contrib.seq2seq.LuongAttention. Allows to use a customized mask.
language/labs/exemplar_decoding/models/attention.py:308
↓ 4 callers
Class
MyClass
language/canine/tensor_contracts_test.py:208
↓ 4 callers
Class
NpWrapper
NP Wrapper rule.
language/gscan/data/grammar.py:236
↓ 4 callers
Class
OutputAction
language/xsp/data_preprocessing/convert_to_tfrecords.py:84
↓ 4 callers
Class
OutputWrapper
Based on tensorflow.contrib.rnn.OutputProjectionWrapper.
language/labs/exemplar_decoding/models/output_wrapper.py:28
↓ 4 callers
Class
ParseError
language/xsp/data_preprocessing/abstract_sql_converters.py:29
↓ 4 callers
Class
Term
Term class that supports location in predicate.
language/gscan/data/grammar.py:111
↓ 4 callers
Class
TypeNameError
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 callers
Class
UsesProperties
language/canine/config_utils_test.py:48
↓ 3 callers
Class
DatabaseTable
Contains information about a table in a database.
language/xsp/data_preprocessing/schema_utils.py:75
↓ 3 callers
Class
FeatureWriter
Writes InputFeature to TF example file.
language/bert_extraction/steal_bert_qa/models/run_squad_membership.py:686
↓ 3 callers
Class
RuleApplicationNode
Represents an anchored rule application.
language/compgen/csl/model/data/parsing_utils.py:86
↓ 3 callers
Class
SquadExample
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 callers
Class
TableColumn
Contains information about column in a database table.
language/xsp/data_preprocessing/schema_utils.py:29
↓ 3 callers
Class
Terminal
Terminal symbol.
language/gscan/data/grammar.py:46
↓ 3 callers
Class
TransformerOutput
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 callers
Class
AggregationNode
Represents an aggregation over multiple nodes.
language/compgen/csl/model/data/parsing_utils.py:66
↓ 2 callers
Class
AggregationNode
Represents an aggregation over multiple nodes.
language/compgen/nqg/model/parser/data/parsing_utils.py:44
↓ 2 callers
Class
BeamState
Holds beam search state data.
language/gscan/xattn_model/model/decode.py:127
↓ 2 callers
Class
BertModel
See modeling.BertModel.
language/labs/drkit/run_dualencoder_qa.py:210
↓ 2 callers
Class
BertModel
See modeling.BertModel.
language/labs/drkit/run_dualencoder_lsf.py:264
↓ 2 callers
Class
ClaimPrediction
language/serene/analysis.py:77
↓ 2 callers
Class
Dp
DP rule.
language/gscan/data/grammar.py:224
↓ 2 callers
Class
EntityNameError
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 callers
Class
FastPredict
Class to prevent re-initialization of Estimator when predicting.
language/labs/drkit/hotpotqa/demo.py:305
↓ 2 callers
Class
FeatureWriter
Writes InputFeature to TF example file.
language/labs/drkit/hotpotqa/answer_extractor.py:1180
↓ 2 callers
Class
FeatureWriter
Writes InputFeature to TF example file.
language/bert_extraction/steal_bert_qa/models/run_squad.py:1071
↓ 2 callers
Class
FeatureWriter
Writes InputFeature to TF example file.
language/conpono/evals/run_squad.py:1058
↓ 2 callers
Class
HyperAttention
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 callers
Class
IndexKey
language/serene/wiki_index.py:52
↓ 2 callers
Class
InputExample
A single training/test example for simple sequence classification.
language/bert_extraction/steal_bert_classifier/models/run_classifier_membership.py:132
↓ 2 callers
Class
InputExample
A single training/test example for simple sequence classification.
language/bert_extraction/steal_bert_classifier/models/run_classifier_distillation.py:135
↓ 2 callers
Class
InputFeatures
A single set of features of data.
language/bert_extraction/steal_bert_classifier/models/run_classifier_membership.py:166
↓ 2 callers
Class
InputFeatures
A single set of features of data.
language/bert_extraction/steal_bert_classifier/models/run_classifier_distillation.py:169
↓ 2 callers
Class
InputFeatures
A single set of features of data.
language/bert_extraction/steal_bert_classifier/models/run_classifier.py:169
↓ 2 callers
Class
InputFeatures
A single set of features of data.
language/conpono/evals/run_classifier.py:169
↓ 2 callers
Class
InputFeatures
A single set of features of data.
language/conpono/evals/run_concat_classifier.py:174
↓ 2 callers
Class
InsufficientGPUError
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 callers
Class
JointRule
Represents a QCFG rule with type annotations based on target CFG.
language/compgen/csl/augment/joint_sampler.py:45
↓ 2 callers
Class
MIPSConfig
Hyperparameters for the QA model.
language/labs/drkit/run_multihop_follow.py:281
↓ 2 callers
Class
MaskingError
language/realm/featurization.py:397
↓ 2 callers
Class
Model
Wraps rule application scores.
language/compgen/csl/model/weighted_model.py:146
↓ 2 callers
Class
Model
(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 callers
Class
Np
NP rule.
language/gscan/data/grammar.py:254
↓ 2 callers
Class
PaddingInputExample
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 callers
Class
PaddingInputExample
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 callers
Class
PaddingInputExample
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 callers
Class
PaddingInputExample
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 callers
Class
PaddingInputExample
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 callers
Class
ProcessArticles
Read and process a Wikipedia JSONL dump.
language/fruit/beam_pipelines.py:139
↓ 2 callers
Class
QueryAdjustment
One single adjustment to the query.
language/search_agents/muzero/state_tree.py:51
↓ 2 callers
Class
Rule
Represents a string-formatted CFG rule.
language/compgen/nqg/tasks/spider/sql_parser.py:34
↓ 2 callers
Class
RuleApplicationNode
Represents an anchored rule application.
language/compgen/nqg/model/parser/data/parsing_utils.py:61
↓ 2 callers
Class
Score
Evaluation of a single example pair.
language/diffqg/metrics.py:38
↓ 2 callers
Class
ScoreSummary
language/question_answering/bert_joint/run_nq.py:1117
↓ 2 callers
Class
ScoredPair
language/diffqg/metrics.py:66
↓ 2 callers
Class
SlotCollection
Encode a frame with slot-fillers, grouped by slot.
language/templama/sling2facts.py:225
↓ 2 callers
Class
TFCheckpointNotFoundError
language/bert_extraction/steal_bert_classifier/utils/model_diff_dataset.py:63
↓ 2 callers
Class
TokenizationError
language/realm/featurization.py:551
↓ 2 callers
Class
Tokenizer
A simple tokenizer.
language/gscan/xattn_model/dataset/preprocess.py:161
↓ 2 callers
Class
TrainingInstance
A single training instance (sentence pair).
language/conpono/create_pretrain_data/preprocessing_utils.py:26
↓ 2 callers
Class
TransformerIntermediate
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 callers
Class
TrieNode
Represents a node in a generic Trie data structure.
language/compgen/csl/cky/cfg_parser.py:34
↓ 2 callers
Class
TrieNode
Represents a node in a generic Trie data structure.
language/compgen/nqg/common/cky/trie_utils.py:30
↓ 2 callers
Class
TypeCompatibilityError
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 callers
Class
Vocabulary
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 callers
Class
VpIntransitive
Intransitive VP rule.
language/gscan/data/grammar.py:196
↓ 2 callers
Class
VpTransitive
Transitive VP rule.
language/gscan/data/grammar.py:210
↓ 2 callers
Class
WinoDictAnswer
Container for all the parts in WinoDict answer.
language/wino_dict/utils.py:153
↓ 2 callers
Class
WinogradExample
language/wino_dict/utils.py:141
↓ 2 callers
Class
_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