MCPcopy Create free account

hub / github.com/DAMO-NLP-SG/multilingual_analysis / functions

Functions1,603 in github.com/DAMO-NLP-SG/multilingual_analysis

Method__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:1955
Method__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:2038
Method__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:2111
Method__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:2155
Method__call__
(self, input_ids, scores)
neuron_deactivate/transformers/generation/logits_process.py:2277
Method__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:2321
Method__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:2458
Method__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
neuron_deactivate/transformers/generation/stopping_criteria.py:55
Method__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
neuron_deactivate/transformers/generation/stopping_criteria.py:76
Method__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
neuron_deactivate/transformers/generation/stopping_criteria.py:113
Method__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
neuron_deactivate/transformers/generation/stopping_criteria.py:136
Method__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
neuron_deactivate/transformers/generation/stopping_criteria.py:412
Method__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
neuron_deactivate/transformers/generation/stopping_criteria.py:488
Method__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
neuron_deactivate/transformers/generation/stopping_criteria.py:508
Method__call__
TF method for processing logits.
neuron_deactivate/transformers/generation/tf_logits_process.py:57
Method__call__
TF method for warping logits.
neuron_deactivate/transformers/generation/tf_logits_process.py:68
Method__call__
(self, input_ids: tf.Tensor, scores: tf.Tensor, cur_len: int, **kwargs)
neuron_deactivate/transformers/generation/tf_logits_process.py:83
Method__call__
(self, input_ids: tf.Tensor, scores: tf.Tensor, cur_len: int)
neuron_deactivate/transformers/generation/tf_logits_process.py:113
Method__call__
(self, input_ids: tf.Tensor, scores: tf.Tensor, cur_len: int)
neuron_deactivate/transformers/generation/tf_logits_process.py:138
Method__call__
(self, input_ids: tf.Tensor, scores: tf.Tensor, cur_len: int)
neuron_deactivate/transformers/generation/tf_logits_process.py:170
Method__call__
(self, input_ids: tf.Tensor, scores: tf.Tensor, cur_len: int)
neuron_deactivate/transformers/generation/tf_logits_process.py:228
Method__call__
(self, input_ids: tf.Tensor, scores: tf.Tensor, cur_len: int)
neuron_deactivate/transformers/generation/tf_logits_process.py:280
Method__call__
(self, input_ids: tf.Tensor, scores: tf.Tensor, cur_len: int)
neuron_deactivate/transformers/generation/tf_logits_process.py:367
Method__call__
(self, input_ids: tf.Tensor, scores: tf.Tensor, cur_len: int)
neuron_deactivate/transformers/generation/tf_logits_process.py:427
Method__call__
(self, input_ids: tf.Tensor, scores: tf.Tensor, cur_len: int)
neuron_deactivate/transformers/generation/tf_logits_process.py:462
Method__call__
(self, input_ids: tf.Tensor, scores: tf.Tensor, cur_len: int)
neuron_deactivate/transformers/generation/tf_logits_process.py:495
Method__call__
(self, input_ids: tf.Tensor, scores: tf.Tensor, cur_len: int)
neuron_deactivate/transformers/generation/tf_logits_process.py:522
Method__call__
(self, input_ids: tf.Tensor, scores: tf.Tensor, cur_len: int)
neuron_deactivate/transformers/generation/tf_logits_process.py:542
Method__call__
(self, input_ids: tf.Tensor, scores: tf.Tensor, cur_len: int)
neuron_deactivate/transformers/generation/tf_logits_process.py:567
Method__call__
Args: input_ids (`torch.LongTensor`): The watermark generated text. It is advised to remove the p
neuron_deactivate/transformers/generation/watermarking.py:190
Method__call__
(self, hidden_states)
neuron_deactivate/transformers/models/llama/modeling_flax_llama.py:160
Method__call__
(self, key, query, position_ids)
neuron_deactivate/transformers/models/llama/modeling_flax_llama.py:178
Method__call__
( self, hidden_states, attention_mask, position_ids, deterministic: bo
neuron_deactivate/transformers/models/llama/modeling_flax_llama.py:265
Method__call__
(self, hidden_states)
neuron_deactivate/transformers/models/llama/modeling_flax_llama.py:358
Method__call__
( self, hidden_states, attention_mask=None, position_ids=None, determi
neuron_deactivate/transformers/models/llama/modeling_flax_llama.py:376
Method__call__
( self, input_ids, attention_mask=None, position_ids=None, params: dic
neuron_deactivate/transformers/models/llama/modeling_flax_llama.py:471
Method__call__
( self, hidden_states, attention_mask=None, position_ids=None, determi
neuron_deactivate/transformers/models/llama/modeling_flax_llama.py:551
Method__call__
( self, input_ids, attention_mask=None, position_ids=None, determinist
neuron_deactivate/transformers/models/llama/modeling_flax_llama.py:603
Method__call__
( self, input_ids, attention_mask=None, position_ids=None, determinist
neuron_deactivate/transformers/models/llama/modeling_flax_llama.py:676
Method__call__
(self, hidden_states)
neuron_deactivate/transformers/models/mistral/modeling_flax_mistral.py:139
Method__call__
(self, key, query, position_ids)
neuron_deactivate/transformers/models/mistral/modeling_flax_mistral.py:158
Method__call__
(self, hidden_states)
neuron_deactivate/transformers/models/mistral/modeling_flax_mistral.py:187
Method__call__
( self, hidden_states: jnp.ndarray, attention_mask: Optional[jnp.ndarray] = None,
neuron_deactivate/transformers/models/mistral/modeling_flax_mistral.py:285
Method__call__
( self, hidden_states, attention_mask=None, position_ids=None, determi
neuron_deactivate/transformers/models/mistral/modeling_flax_mistral.py:364
Method__call__
( self, input_ids, attention_mask=None, position_ids=None, params: dic
neuron_deactivate/transformers/models/mistral/modeling_flax_mistral.py:459
Method__call__
( self, hidden_states, attention_mask=None, position_ids=None, determi
neuron_deactivate/transformers/models/mistral/modeling_flax_mistral.py:540
Method__call__
( self, input_ids, attention_mask=None, position_ids=None, determinist
neuron_deactivate/transformers/models/mistral/modeling_flax_mistral.py:593
Method__call__
( self, input_ids, attention_mask=None, position_ids=None, determinist
neuron_deactivate/transformers/models/mistral/modeling_flax_mistral.py:667
Method__eq__
(self, other)
neuron_detection/transformers/generation/configuration_utils.py:441
Method__eq__
(self, other)
neuron_deactivate/transformers/generation/configuration_utils.py:458
Method__getstate__
(self)
neuron_detection/transformers/models/llama/tokenization_llama.py:212
Method__getstate__
(self)
neuron_deactivate/transformers/models/llama/tokenization_llama.py:212
Method__hash__
(self)
neuron_detection/transformers/generation/configuration_utils.py:438
Method__hash__
(self)
neuron_deactivate/transformers/generation/configuration_utils.py:455
Method__init__
(self, temperature: float)
neuron_detection/transformers/generation/flax_logits_process.py:105
Method__init__
(self, top_p: float, filter_value: float = -float("Inf"), min_tokens_to_keep: int = 1)
neuron_detection/transformers/generation/flax_logits_process.py:130
Method__init__
(self, top_k: int, filter_value: float = -float("Inf"), min_tokens_to_keep: int = 1)
neuron_detection/transformers/generation/flax_logits_process.py:173
Method__init__
(self, bos_token_id: int)
neuron_detection/transformers/generation/flax_logits_process.py:204
Method__init__
(self, max_length: int, eos_token_id: int)
neuron_detection/transformers/generation/flax_logits_process.py:228
Method__init__
(self, min_length: int, eos_token_id: int)
neuron_detection/transformers/generation/flax_logits_process.py:253
Method__init__
(self, begin_suppress_tokens, begin_index)
neuron_detection/transformers/generation/flax_logits_process.py:285
Method__init__
(self, suppress_tokens: list)
neuron_detection/transformers/generation/flax_logits_process.py:307
Method__init__
(self, force_token_map)
neuron_detection/transformers/generation/flax_logits_process.py:327
Method__init__
(self, generate_config, model_config, decoder_input_length)
neuron_detection/transformers/generation/flax_logits_process.py:381
Method__init__
(self, ngram_size: int)
neuron_detection/transformers/generation/flax_logits_process.py:471
Method__init__
(self, min_length: int, eos_token_id: Union[int, List[int], torch.Tensor], device: str = "cpu")
neuron_detection/transformers/generation/logits_process.py:142
Method__init__
( self, prompt_length_to_skip: int, min_new_tokens: int, eos_token_id: Union[i
neuron_detection/transformers/generation/logits_process.py:201
Method__init__
(self, temperature: float)
neuron_detection/transformers/generation/logits_process.py:284
Method__init__
(self, penalty: float)
neuron_detection/transformers/generation/logits_process.py:339
Method__init__
(self, penalty: float, encoder_input_ids: torch.LongTensor)
neuron_detection/transformers/generation/logits_process.py:393
Method__init__
(self, top_p: float, filter_value: float = -float("Inf"), min_tokens_to_keep: int = 1)
neuron_detection/transformers/generation/logits_process.py:451
Method__init__
(self, top_k: int, filter_value: float = -float("Inf"), min_tokens_to_keep: int = 1)
neuron_detection/transformers/generation/logits_process.py:515
Method__init__
(self, min_p: float, filter_value: float = -float("Inf"), min_tokens_to_keep: int = 1)
neuron_detection/transformers/generation/logits_process.py:578
Method__init__
(self, mass: float = 0.9, filter_value: float = -float("Inf"), min_tokens_to_keep: int = 1)
neuron_detection/transformers/generation/logits_process.py:661
Method__init__
(self, epsilon: float, filter_value: float = -float("Inf"), min_tokens_to_keep: int = 1)
neuron_detection/transformers/generation/logits_process.py:736
Method__init__
(self, ngram_size: int)
neuron_detection/transformers/generation/logits_process.py:958
Method__init__
(self, encoder_ngram_size: int, encoder_input_ids: torch.LongTensor)
neuron_detection/transformers/generation/logits_process.py:1013
Method__init__
(self, sequence_bias: Dict[Tuple[int], float])
neuron_detection/transformers/generation/logits_process.py:1106
Method__init__
( self, bad_words_ids: List[List[int]], eos_token_id: Optional[Union[int, List[int], torch.Tensor]] =
neuron_detection/transformers/generation/logits_process.py:1247
Method__init__
(self, prefix_allowed_tokens_fn: Callable[[int, torch.Tensor], List[int]], num_beams: int)
neuron_detection/transformers/generation/logits_process.py:1330
Method__init__
(self, diversity_penalty: float, num_beams: int, num_beam_groups: int)
neuron_detection/transformers/generation/logits_process.py:1426
Method__init__
(self, bos_token_id: int)
neuron_detection/transformers/generation/logits_process.py:1520
Method__init__
(self, max_length: int, eos_token_id: Union[int, List[int], torch.Tensor], device: str = "cpu")
neuron_detection/transformers/generation/logits_process.py:1567
Method__init__
( self, exponential_decay_length_penalty: Tuple[int, float], eos_token_id: Union[int,
neuron_detection/transformers/generation/logits_process.py:1678
Method__init__
(self, begin_suppress_tokens, begin_index, device: str = "cpu")
neuron_detection/transformers/generation/logits_process.py:1783
Method__init__
(self, suppress_tokens, device: str = "cpu")
neuron_detection/transformers/generation/logits_process.py:1830
Method__init__
(self, force_token_map: List[List[int]], _has_warned: Optional[bool] = False)
neuron_detection/transformers/generation/logits_process.py:1849
Method__init__
( self, generate_config, begin_index: Optional[int] = None, _detect_timestamp_
neuron_detection/transformers/generation/logits_process.py:1925
Method__init__
(self, no_speech_token: int, begin_index: int, scores_is_logprobs: bool = False)
neuron_detection/transformers/generation/logits_process.py:2008
Method__init__
(self, guidance_scale)
neuron_detection/transformers/generation/logits_process.py:2101
Method__init__
(self, input_start_len: int, semantic_vocab_size: int, codebook_size: int)
neuron_detection/transformers/generation/logits_process.py:2147
Method__init__
( self, guidance_scale: float, model, unconditional_ids: Optional[torch.LongTe
neuron_detection/transformers/generation/logits_process.py:2223
Method__init__
(self, eos_token_id: Union[int, List[int], torch.Tensor], min_eos_p: float, device: str = "cpu")
neuron_detection/transformers/generation/logits_process.py:2306
Method__init__
( self, vocab_size, device, greenlist_ratio: float = 0.25, bias: float
neuron_detection/transformers/generation/logits_process.py:2398
Method__init__
(self, token_ids: List[int])
neuron_detection/transformers/generation/beam_constraints.py:138
Method__init__
r""" A helper class that builds a trie with the words represented in `nested_token_ids`.
neuron_detection/transformers/generation/beam_constraints.py:205
Method__init__
(self, nested_token_ids: List[List[int]])
neuron_detection/transformers/generation/beam_constraints.py:271
Method__init__
(self, constraints: List[Constraint])
neuron_detection/transformers/generation/beam_constraints.py:360
Method__init__
(self, max_length: int, max_position_embeddings: Optional[int] = None)
neuron_detection/transformers/generation/stopping_criteria.py:69
Method__init__
(self, start_length: int, max_new_tokens: int)
neuron_detection/transformers/generation/stopping_criteria.py:99
← previousnext →701–800 of 1,603, ranked by callers