Initial upload of FreeChunk model with custom code
Browse files- modeling_freechunker.py +1 -1
modeling_freechunker.py
CHANGED
|
@@ -16,7 +16,7 @@
|
|
| 16 |
"""FreeChunker model: Modified from PyTorch XLM-RoBERTa model."""
|
| 17 |
from .utils import generate_shifted_matrix
|
| 18 |
import math
|
| 19 |
-
from typing import Optional, Tuple, Union
|
| 20 |
|
| 21 |
import torch
|
| 22 |
import torch.utils.checkpoint
|
|
|
|
| 16 |
"""FreeChunker model: Modified from PyTorch XLM-RoBERTa model."""
|
| 17 |
from .utils import generate_shifted_matrix
|
| 18 |
import math
|
| 19 |
+
from typing import List, Optional, Tuple, Union
|
| 20 |
|
| 21 |
import torch
|
| 22 |
import torch.utils.checkpoint
|