Update imports.py
Browse files- imports.py +5 -1
imports.py
CHANGED
@@ -20,7 +20,11 @@ from accelerate import Accelerator
|
|
20 |
import torch.nn as nn
|
21 |
import torch.nn.functional as F
|
22 |
import underthesea
|
23 |
-
|
24 |
from utils import *
|
25 |
from all_datasets import *
|
26 |
from model import *
|
|
|
|
|
|
|
|
|
|
|
|
20 |
import torch.nn as nn
|
21 |
import torch.nn.functional as F
|
22 |
import underthesea
|
|
|
23 |
from utils import *
|
24 |
from all_datasets import *
|
25 |
from model import *
|
26 |
+
|
27 |
+
from huggingface_hub import login
|
28 |
+
import PIL, fitz, pdf2image, re, unicodedata
|
29 |
+
from transformers import AutoProcessor, LayoutLMv3ForTokenClassification
|
30 |
+
from unidecode import unidecode
|