We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6aa38d commit d90c718Copy full SHA for d90c718
tests/test_main.py
@@ -0,0 +1,11 @@
1
+import pytest
2
+import torch
3
+from transformers import GPT2Tokenizer
4
+from src.main import (
5
+ LongRoPEModel,
6
+ load_data,
7
+ non_uniform_interpolation,
8
+ RoPEPositionalEncoding,
9
+ progressive_extension,
10
+ short_context_recovery,
11
+)
0 commit comments