![]() |
VOOZH | about |
The CData ODBC Driver for Hugging Face enables access to live data from Hugging Face under the ODBC standard, allowing you work with Hugging Face data in a wide variety of BI, reporting, and ETL tools and directly, using familiar SQL queries. This article shows how to connect to Hugging Face data as a generic ODBC Data Provider and create charts, reports, and dashboards based on Hugging Face data in Dundas BI.
HuggingFace Hub uses token-based authentication to enable access to its API. The API provides access to machine learning models, datasets, spaces, papers, and other resources on the HuggingFace Hub platform.
To authenticate to HuggingFace Hub, you will need to provide an API Key (Access Token). To obtain your access token:
After obtaining your access token, set the following connection properties:
Profile=C:\profiles\HuggingFace.apip;ProfileSettings='APIKey=hf_xxxxxxxxxxxxxxxxxxxx';
When you configure the DSN, you may also want to set the Max Rows connection property. This will limit the number of rows returned, which is especially helpful for improving performance when designing reports and visualizations.
You are now ready to create a dashboard with Hugging Face data.
Connect to live data from Hugging Face with the API Driver
Connect to Hugging Face