Spaces:
Running
Running
Commit
·
d1de289
1
Parent(s):
c8aa1a4
fix imports
Browse files- relation_extraction.py +1 -0
relation_extraction.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
from gliner.multitask.base import GLiNERBasePipeline
|
2 |
from typing import Optional, List, Union
|
3 |
from datasets import load_dataset, Dataset
|
|
|
4 |
|
5 |
class CustomGLiNERRelationExtractor(GLiNERBasePipeline):
|
6 |
"""
|
|
|
1 |
from gliner.multitask.base import GLiNERBasePipeline
|
2 |
from typing import Optional, List, Union
|
3 |
from datasets import load_dataset, Dataset
|
4 |
+
from gliner import GLiNER
|
5 |
|
6 |
class CustomGLiNERRelationExtractor(GLiNERBasePipeline):
|
7 |
"""
|