Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DAMO-NLP-SG/multilingual_analysis
/ functions
Functions
1,603 in github.com/DAMO-NLP-SG/multilingual_analysis
⨍
Functions
1,603
◇
Types & classes
462
↳
Endpoints
11
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_detection/transformers/generation/logits_process.py:1116
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_detection/transformers/generation/logits_process.py:1335
Method
__call__
r""" Args: input_ids (`torch.LongTensor` of shape `(batch_size, sequence_length)`): Indices of input sequence toke
neuron_detection/transformers/generation/logits_process.py:1439
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_detection/transformers/generation/logits_process.py:1524
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_detection/transformers/generation/logits_process.py:1580
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_detection/transformers/generation/logits_process.py:1599
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_detection/transformers/generation/logits_process.py:1697
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_detection/transformers/generation/logits_process.py:1743
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_detection/transformers/generation/logits_process.py:1791
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_detection/transformers/generation/logits_process.py:1834
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_detection/transformers/generation/logits_process.py:1859
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_detection/transformers/generation/logits_process.py:1955
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_detection/transformers/generation/logits_process.py:2038
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_detection/transformers/generation/logits_process.py:2111
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_detection/transformers/generation/logits_process.py:2155
Method
__call__
(self, input_ids, scores)
neuron_detection/transformers/generation/logits_process.py:2277
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_detection/transformers/generation/logits_process.py:2321
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_detection/transformers/generation/logits_process.py:2458
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
neuron_detection/transformers/generation/stopping_criteria.py:53
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
neuron_detection/transformers/generation/stopping_criteria.py:74
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
neuron_detection/transformers/generation/stopping_criteria.py:111
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
neuron_detection/transformers/generation/stopping_criteria.py:134
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
neuron_detection/transformers/generation/stopping_criteria.py:410
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
neuron_detection/transformers/generation/stopping_criteria.py:486
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
neuron_detection/transformers/generation/stopping_criteria.py:505
Method
__call__
TF method for processing logits.
neuron_detection/transformers/generation/tf_logits_process.py:57
Method
__call__
TF method for warping logits.
neuron_detection/transformers/generation/tf_logits_process.py:68
Method
__call__
(self, input_ids: tf.Tensor, scores: tf.Tensor, cur_len: int, **kwargs)
neuron_detection/transformers/generation/tf_logits_process.py:83
Method
__call__
(self, input_ids: tf.Tensor, scores: tf.Tensor, cur_len: int)
neuron_detection/transformers/generation/tf_logits_process.py:113
Method
__call__
(self, input_ids: tf.Tensor, scores: tf.Tensor, cur_len: int)
neuron_detection/transformers/generation/tf_logits_process.py:138
Method
__call__
(self, input_ids: tf.Tensor, scores: tf.Tensor, cur_len: int)
neuron_detection/transformers/generation/tf_logits_process.py:170
Method
__call__
(self, input_ids: tf.Tensor, scores: tf.Tensor, cur_len: int)
neuron_detection/transformers/generation/tf_logits_process.py:228
Method
__call__
(self, input_ids: tf.Tensor, scores: tf.Tensor, cur_len: int)
neuron_detection/transformers/generation/tf_logits_process.py:280
Method
__call__
(self, input_ids: tf.Tensor, scores: tf.Tensor, cur_len: int)
neuron_detection/transformers/generation/tf_logits_process.py:367
Method
__call__
(self, input_ids: tf.Tensor, scores: tf.Tensor, cur_len: int)
neuron_detection/transformers/generation/tf_logits_process.py:427
Method
__call__
(self, input_ids: tf.Tensor, scores: tf.Tensor, cur_len: int)
neuron_detection/transformers/generation/tf_logits_process.py:462
Method
__call__
(self, input_ids: tf.Tensor, scores: tf.Tensor, cur_len: int)
neuron_detection/transformers/generation/tf_logits_process.py:495
Method
__call__
(self, input_ids: tf.Tensor, scores: tf.Tensor, cur_len: int)
neuron_detection/transformers/generation/tf_logits_process.py:522
Method
__call__
(self, input_ids: tf.Tensor, scores: tf.Tensor, cur_len: int)
neuron_detection/transformers/generation/tf_logits_process.py:542
Method
__call__
(self, input_ids: tf.Tensor, scores: tf.Tensor, cur_len: int)
neuron_detection/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_detection/transformers/generation/watermarking.py:190
Method
__call__
(self, hidden_states)
neuron_detection/transformers/models/llama/modeling_flax_llama.py:160
Method
__call__
(self, key, query, position_ids)
neuron_detection/transformers/models/llama/modeling_flax_llama.py:178
Method
__call__
( self, hidden_states, attention_mask, position_ids, deterministic: bo
neuron_detection/transformers/models/llama/modeling_flax_llama.py:265
Method
__call__
(self, hidden_states)
neuron_detection/transformers/models/llama/modeling_flax_llama.py:358
Method
__call__
( self, hidden_states, attention_mask=None, position_ids=None, determi
neuron_detection/transformers/models/llama/modeling_flax_llama.py:376
Method
__call__
( self, input_ids, attention_mask=None, position_ids=None, params: dic
neuron_detection/transformers/models/llama/modeling_flax_llama.py:471
Method
__call__
( self, hidden_states, attention_mask=None, position_ids=None, determi
neuron_detection/transformers/models/llama/modeling_flax_llama.py:551
Method
__call__
( self, input_ids, attention_mask=None, position_ids=None, determinist
neuron_detection/transformers/models/llama/modeling_flax_llama.py:603
Method
__call__
( self, input_ids, attention_mask=None, position_ids=None, determinist
neuron_detection/transformers/models/llama/modeling_flax_llama.py:676
Method
__call__
(self, hidden_states)
neuron_detection/transformers/models/mistral/modeling_flax_mistral.py:139
Method
__call__
(self, key, query, position_ids)
neuron_detection/transformers/models/mistral/modeling_flax_mistral.py:158
Method
__call__
(self, hidden_states)
neuron_detection/transformers/models/mistral/modeling_flax_mistral.py:187
Method
__call__
( self, hidden_states: jnp.ndarray, attention_mask: Optional[jnp.ndarray] = None,
neuron_detection/transformers/models/mistral/modeling_flax_mistral.py:285
Method
__call__
( self, hidden_states, attention_mask=None, position_ids=None, determi
neuron_detection/transformers/models/mistral/modeling_flax_mistral.py:364
Method
__call__
( self, input_ids, attention_mask=None, position_ids=None, params: dic
neuron_detection/transformers/models/mistral/modeling_flax_mistral.py:459
Method
__call__
( self, hidden_states, attention_mask=None, position_ids=None, determi
neuron_detection/transformers/models/mistral/modeling_flax_mistral.py:540
Method
__call__
( self, input_ids, attention_mask=None, position_ids=None, determinist
neuron_detection/transformers/models/mistral/modeling_flax_mistral.py:593
Method
__call__
( self, input_ids, attention_mask=None, position_ids=None, determinist
neuron_detection/transformers/models/mistral/modeling_flax_mistral.py:667
Method
__call__
Flax method for processing logits.
neuron_deactivate/transformers/generation/flax_logits_process.py:55
Method
__call__
Flax method for warping logits.
neuron_deactivate/transformers/generation/flax_logits_process.py:66
Method
__call__
(self, input_ids: jnp.ndarray, scores: jnp.ndarray, cur_len: int, **kwargs)
neuron_deactivate/transformers/generation/flax_logits_process.py:81
Method
__call__
(self, input_ids: jnp.ndarray, scores: jnp.ndarray, cur_len: int)
neuron_deactivate/transformers/generation/flax_logits_process.py:111
Method
__call__
(self, input_ids: jnp.ndarray, scores: jnp.ndarray, cur_len: int)
neuron_deactivate/transformers/generation/flax_logits_process.py:140
Method
__call__
(self, input_ids: jnp.ndarray, scores: jnp.ndarray, cur_len: int)
neuron_deactivate/transformers/generation/flax_logits_process.py:180
Method
__call__
(self, input_ids: jnp.ndarray, scores: jnp.ndarray, cur_len: int)
neuron_deactivate/transformers/generation/flax_logits_process.py:207
Method
__call__
(self, input_ids: jnp.ndarray, scores: jnp.ndarray, cur_len: int)
neuron_deactivate/transformers/generation/flax_logits_process.py:232
Method
__call__
(self, input_ids: jnp.ndarray, scores: jnp.ndarray, cur_len: int)
neuron_deactivate/transformers/generation/flax_logits_process.py:263
Method
__call__
(self, input_ids, scores, cur_len: int)
neuron_deactivate/transformers/generation/flax_logits_process.py:289
Method
__call__
(self, input_ids: jnp.ndarray, scores: jnp.ndarray, cur_len: int)
neuron_deactivate/transformers/generation/flax_logits_process.py:310
Method
__call__
(self, input_ids: jnp.ndarray, scores: jnp.ndarray, cur_len: int)
neuron_deactivate/transformers/generation/flax_logits_process.py:338
Method
__call__
(self, input_ids, scores, cur_len)
neuron_deactivate/transformers/generation/flax_logits_process.py:398
Method
__call__
(self, input_ids: jnp.ndarray, scores: jnp.ndarray, cur_len: int)
neuron_deactivate/transformers/generation/flax_logits_process.py:523
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:49
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:59
Method
__call__
r""" Args: input_ids (`torch.LongTensor` of shape `(batch_size, sequence_length)`): Indices of input sequence toke
neuron_deactivate/transformers/generation/logits_process.py:72
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:155
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:225
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:297
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:346
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:401
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:463
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:523
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:588
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:673
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:752
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:835
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:964
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:1025
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:1116
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:1335
Method
__call__
r""" Args: input_ids (`torch.LongTensor` of shape `(batch_size, sequence_length)`): Indices of input sequence toke
neuron_deactivate/transformers/generation/logits_process.py:1439
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:1524
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:1580
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:1599
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:1697
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:1743
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:1791
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:1834
Method
__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor)
neuron_deactivate/transformers/generation/logits_process.py:1859
← previous
next →
601–700 of 1,603, ranked by callers