XiaSheng commited on
Commit
8d03871
·
verified ·
1 Parent(s): 2bce5b0

Initial upload of FreeChunk model with custom code

Browse files
Files changed (1) hide show
  1. 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