mirror of
https://www.modelscope.cn/IndexTeam/Index-1.9B-32K.git
synced 2026-04-02 13:52:54 +08:00
Update README_zh.md
This commit is contained in:
@ -111,8 +111,8 @@ class IndexRotaryEmbedding(torch.nn.Module):
|
||||
self._set_cos_sin_cache(
|
||||
seq_len=self.max_position_embeddings, device=self.inv_freq.device, dtype=torch.get_default_dtype()
|
||||
)
|
||||
print("rope cache value:")
|
||||
self._show_rope_cache_info()
|
||||
#print("rope cache value:")
|
||||
#self._show_rope_cache_info()
|
||||
|
||||
def _show_rope_cache_info( self ):
|
||||
np.set_printoptions(precision=6, threshold=10, edgeitems=5, linewidth=200, suppress=True)
|
||||
|
||||
Reference in New Issue
Block a user