Hi experts, I have some basic question for dataset viewer. After reading List Parquet files, I’m not sure where to put, and to execute:
import requests
headers = {“Authorization”: f"Bearer {API_TOKEN}"}
API_URL = “https://datasets-server.huggingface.co/parquet?dataset=ibm/duorc”
def query():
response = requests.get(API_URL, headers=headers)
return response.json()
data = query()
Could anyone help clarify the exact steps with a bit more details?
Thanks,
Min