Sync from davanstrien/uv-scripts via hub-sync
Browse files- extract-entities.py +1 -2
extract-entities.py
CHANGED
|
@@ -43,13 +43,12 @@ row's `entities` is a list of dicts:
|
|
| 43 |
|
| 44 |
import argparse
|
| 45 |
import logging
|
| 46 |
-
import os
|
| 47 |
import sys
|
| 48 |
import time
|
| 49 |
from typing import Any, Dict, List
|
| 50 |
|
| 51 |
import torch
|
| 52 |
-
from datasets import
|
| 53 |
from huggingface_hub import DatasetCard
|
| 54 |
|
| 55 |
logging.basicConfig(
|
|
|
|
| 43 |
|
| 44 |
import argparse
|
| 45 |
import logging
|
|
|
|
| 46 |
import sys
|
| 47 |
import time
|
| 48 |
from typing import Any, Dict, List
|
| 49 |
|
| 50 |
import torch
|
| 51 |
+
from datasets import load_dataset
|
| 52 |
from huggingface_hub import DatasetCard
|
| 53 |
|
| 54 |
logging.basicConfig(
|