E-commerce_stock_inquiry / dataset_loader.py
ghengx
init
cdbe5c1
raw
history blame contribute delete
337 Bytes
from huggingface_hub import Repository
from huggingface_hub import login
import os
def load_dataset():
login(token = os.environ['HUB_TOKEN'])
repo = Repository(
local_dir="agent_function",
repo_type="dataset",
clone_from="gheng/savoir_group",
token=True
)
repo.git_pull()
load_dataset()