Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/google-research/language
/ functions
Functions
6,154 in github.com/google-research/language
⨍
Functions
6,154
◇
Types & classes
800
↳
Endpoints
12
Function
get_inference_wrapper
Construct and return InferenceWrapper.
language/compgen/csl/model/inference/inference_utils.py:39
Function
get_init_inputs
Initialize model inputs.
language/gscan/xattn_model/train_utils.py:41
Method
get_initializers
Tensorflow initializers for all relation parameters. Returns: a list of Tensorflow ops.
language/nql/nql/__init__.py:1232
Method
get_initializers
Tensorflow initializers for all relation parameters. Returns: a list of Tensorflow ops.
language/nql/nql/dist.py:352
Function
get_input_embeddings
Returns tensor representing inputs for the given batch.
language/xsp/model/embeddings.py:94
Method
get_input_fn
Return an input_fn which accepts a generator.
language/labs/drkit/bert_utils.py:181
Method
get_input_fn
Return an input_fn which accepts a generator.
language/labs/drkit/bert_utils_v2.py:176
Method
get_input_fn
Return an input_fn which accepts a generator.
language/labs/drkit/hotpotqa/demo.py:517
Method
get_input_fn
Return an input_fn which accepts a generator.
language/labs/drkit/hotpotqa/demo.py:739
Function
get_input_mask
Returns input mask for input to BERT model.
language/xsp/model/bert_utils.py:26
Function
get_labels
Returns labels dict given DecodeSteps.
language/xsp/model/decode_utils.py:186
Method
get_labels
See base class.
language/bert_extraction/steal_bert_classifier/models/run_classifier_membership.py:236
Method
get_labels
See base class.
language/bert_extraction/steal_bert_classifier/models/run_classifier_membership.py:292
Method
get_labels
See base class.
language/bert_extraction/steal_bert_classifier/models/run_classifier_distillation.py:232
Method
get_labels
See base class.
language/bert_extraction/steal_bert_classifier/models/run_classifier_distillation.py:284
Method
get_labels
See base class.
language/bert_extraction/steal_bert_classifier/models/run_classifier.py:258
Method
get_labels
See base class.
language/bert_extraction/steal_bert_classifier/models/run_classifier.py:285
Method
get_labels
See base class.
language/bert_extraction/steal_bert_classifier/models/run_classifier.py:334
Method
get_labels
See base class.
language/bert_extraction/steal_bert_classifier/models/run_classifier.py:373
Method
get_labels
See base class.
language/bert_extraction/steal_bert_classifier/models/run_classifier.py:417
Method
get_labels
See base class.
language/bert_extraction/steal_bert_classifier/models/run_classifier.py:467
Method
get_labels
See base class.
language/bert_extraction/steal_bert_classifier/models/run_classifier.py:536
Method
get_labels
Gets the list of labels for this data set.
language/conpono/evals/classifier_utils.py:102
Method
get_labels
See base class.
language/conpono/evals/classifier_utils.py:143
Method
get_labels
See base class.
language/conpono/evals/classifier_utils.py:200
Method
get_labels
See base class.
language/conpono/evals/classifier_utils.py:241
Method
get_labels
See base class.
language/conpono/evals/classifier_utils.py:283
Method
get_labels
See base class.
language/conpono/evals/classifier_utils.py:325
Method
get_labels
See base class.
language/conpono/evals/classifier_utils.py:366
Method
get_labels
See base class.
language/conpono/evals/classifier_utils.py:414
Method
get_labels
See base class.
language/conpono/evals/classifier_utils.py:455
Method
get_labels
See base class.
language/conpono/evals/classifier_utils.py:496
Method
get_labels
See base class.
language/conpono/evals/classifier_utils.py:528
Method
get_labels
See base class.
language/conpono/evals/classifier_utils.py:570
Method
get_labels
Gets the list of labels for this data set.
language/conpono/evals/run_classifier.py:200
Method
get_labels
See base class.
language/conpono/evals/run_classifier.py:258
Method
get_labels
See base class.
language/conpono/evals/run_classifier.py:282
Method
get_labels
See base class.
language/conpono/evals/run_classifier.py:322
Method
get_labels
See base class.
language/conpono/evals/run_classifier.py:362
Method
get_labels
See base class.
language/conpono/evals/run_classifier.py:431
Method
get_labels
Gets the list of labels for this data set.
language/conpono/evals/run_concat_classifier.py:205
Method
get_labels
See base class.
language/conpono/evals/run_concat_classifier.py:263
Method
get_labels
See base class.
language/conpono/evals/run_concat_classifier.py:287
Method
get_labels
See base class.
language/conpono/evals/run_concat_classifier.py:327
Method
get_labels
See base class.
language/conpono/evals/run_concat_classifier.py:367
Method
get_labels
See base class.
language/conpono/evals/run_concat_classifier.py:436
Method
get_last_hist_node
(node)
language/search_agents/muzero/types.py:378
Function
get_learning_rate
Get learning rate schedule.
language/gscan/xattn_model/train_utils.py:99
Function
get_length
(original_sequence, thief_lengths_pool, lengths_scheme)
language/bert_extraction/steal_bert_classifier/data_generation/preprocess_util.py:100
Function
get_lengths_pool
(sents_data)
language/bert_extraction/steal_bert_classifier/data_generation/preprocess_util.py:88
Method
get_lir_examples
(examples)
language/compir/dataset_parsers/dataset_parser.py:117
Function
get_masked_lm_output
Get loss and log probs for the masked LM.
language/conpono/cpc/bilin_model_builder.py:85
Function
get_masked_lm_output
Get loss and log probs for the masked LM.
language/conpono/cpc/model_builder.py:142
Function
get_masked_lm_output
Get loss and log probs for the masked LM.
language/conpono/reconstruct/model_builder.py:183
Function
get_merged_node
Return node corresponding to all parses.
language/compgen/nqg/model/parser/data/parsing_utils.py:132
Function
get_metrics
Rouge-metrics. Args: predictions: prediction to be evaluated. prediction_len: lengths of the predictions. labels: reference sentences.
language/labs/exemplar_decoding/utils/rouge_utils.py:189
Function
get_model_checkpoint
Select a checkpoint to use for a given model directory. Args: model_dir: the directory containing the target model Raises: ValueError: if
language/boolq/utils/py_utils.py:66
Method
get_name_to_features
Return feature dict for decoding purposes. See BaseTask for details.
language/mentionmemory/tasks/mention_classifier_task.py:201
Method
get_name_to_features
Return feature dict for decoding purposes. See BaseTask.
language/mentionmemory/tasks/example_task.py:111
Method
get_name_to_features
Return feature dict for decoding purposes. See BaseTask.
language/mentionmemory/tasks/entity_qa_task.py:31
Method
get_name_to_features
Return feature dict for decoding purposes. See BaseTask for details.
language/mentionmemory/tasks/relation_classifier_task.py:332
Method
get_name_to_features
Return feature dict for decoding purposes. See BaseTask.
language/mentionmemory/tasks/text_classifier.py:257
Method
get_name_to_features
Return feature dict for decoding purposes. See BaseTask.
language/mentionmemory/tasks/mention_encoder_task.py:182
Function
get_nearest_neighbour
Get the nearest neighbour for every vector in source from reference.
language/bert_extraction/steal_bert_classifier/embedding_perturbations/embedding_util.py:219
Function
get_nonzero_ids
Get k ids of nonzero values in the v_hot vector. If less than k nonzero values exist, pad with -1. Args: v_hot: v hot vector (batch_size, di
language/emql/util.py:142
Function
get_nq_server
()
language/search_agents/muzero/server.py:31
Function
get_num_common_unique_items
Get the number of unique entity IDs shared between samples in the batch. The function produces two matrices `num_common_ids_between_samples` of sha
language/mentionmemory/utils/mention_utils.py:119
Method
get_oracle_neighbors
Look-up the neighbors in the oracle table.
language/multivec/preprocessing/create_training_data.py:733
Method
get_original_num_labels
(self)
language/bert_extraction/steal_bert_classifier/models/run_classifier_membership.py:240
Method
get_original_num_labels
(self)
language/bert_extraction/steal_bert_classifier/models/run_classifier_membership.py:296
Function
get_output_vocab_embeddings_table
Returns the embedding table used for the target sequence.
language/xsp/model/embeddings.py:136
Function
get_page_sentence
()
language/serene/web_api.py:34
Function
get_parser
Gets the parser that corresponds to a specific dataset.
language/compir/utils/dataset_parser_utils.py:32
Method
get_passage_marker
Returns a marker for the start of passage `i`. Args: i: The passage index. This method will be called to create the strings that w
language/canine/tydiqa/tydi_tokenization_interface.py:50
Function
get_pattern_dataset
Generates a dataset of sequences of patterns and retrieval targets. Args: n: Number of examples num_patterns: Number of unique patterns in
language/labs/memory/synthetic_dataset.py:153
Function
get_predictions
Returns predictions dict given DecodeSteps.
language/xsp/model/decode_utils.py:193
Function
get_predictor
Build a text classifier predictor. See orqa_model for details.
language/orqa/models/text_classifier_model.py:205
Function
get_predictor
Build a ORQA predictor. Can't use SavedModel here due to the py_func.
language/orqa/models/orqa_model.py:530
Method
get_qry_embeddings
Run BERT to get features for queries. Args: qrys: List of list of tokens. ents: List of list of tokens. Returns: st_embedd
language/labs/drkit/bert_utils_v2.py:289
Function
get_random_span
Get random subspan from text token sequence, following heuristics. Heuristics: 1) Should not start or end mid-wordpiece. 2) Must contain at
language/capwap/utils/text_utils.py:182
Function
get_registered_encoder
Takes in encoder name and returns corresponding encoder from registry.
language/mentionmemory/encoders/encoder_registry.py:62
Function
get_registered_task
Takes in task name and returns corresponding task from registry.
language/mentionmemory/tasks/task_registry.py:60
Function
get_retrieval_examples
Make retrieval examples.
language/orqa/datasets/ict_dataset.py:22
Method
get_rir_examples
(examples)
language/compir/dataset_parsers/dataset_parser.py:87
Function
get_rule_unifiers
Returns `rule_c` that can be combined with `rule_b` to equal `rule_a`. Here we interpret rules as functions over strings, with arity equal to the
language/compgen/csl/induction/unification_utils.py:427
Function
get_sampler_wrapper
Construct and return SamplerWrapper.
language/compgen/csl/augment/sampler_utils.py:30
Method
get_scores_unstable
Same as get_scores but is less numerically stable.
language/compgen/csl/model/weighted_model.py:130
Function
get_sent_dict
Get decontextualized sentences from a decontext label.
language/decontext/eval_util.py:76
Method
get_sequence_output
(self)
language/bert_extraction/steal_bert_classifier/embedding_perturbations/embedding_util.py:109
Function
get_source_len
(keys_to_tensors)
language/xsp/model/input_utils.py:30
Function
get_source_len_fn
(key)
language/xsp/model/input_utils.py:28
Function
get_spacy_frost_processor_fn
Gets Spacy Frost processor.
language/frost/spacy_frost_annotator_lib.py:32
Function
get_sql_spans_from_query
Get list of SqlSpan tuples from NLToSQLExample object.
language/xsp/data_preprocessing/abstract_sql_converters.py:263
Function
get_squad_question_starters
()
language/bert_extraction/steal_bert_qa/data_generation/preprocess_util.py:24
Function
get_stopwords
()
language/capwap/utils/nltk_utils.py:28
Method
get_subj_rel_to_objects
Merges conjuncts that share the same subject and relation.
language/compir/dataset_parsers/cfq_parser.py:82
Function
get_subtable_parent_format
Convert subtable to PARENT format. Do not include section text.
language/totto/table_to_text_utils.py:68
Function
get_summary_writer
(write_dir)
language/compgen/csl/common/writer_utils.py:20
Function
get_symbolic_dataset
Generates a dataset of sequences of key-value pairs and retrieval targets. Args: n: Number of examples num_pairs: Number of pairs in each s
language/labs/memory/synthetic_dataset.py:194
Method
get_symbols
Retrieve all symbols for a given type. Args: type_name: string name of declared type Returns: a list of symbols of the given typ
language/nql/nql/__init__.py:1646
← previous
next →
4,101–4,200 of 6,154, ranked by callers