Using HuggingFace Datasets
To use a HuggingFace dataset in Unity, you need to configure the HuggingFace environment variable. If you need a HuggingFace model, check its availability at Unity AI Datasets. If the model is unavailable, please contact the Unity team.
Example
To load the Llama-3.2-3B model, which is stored at /datasets/ai/llama3
, set the HuggingFace environment variable accordingly:
$ export HF_HOME=/datasets/ai/llama3
See HuggingFace’s cache management documentation for more information.
For usage details, click the “Use this model” button on the HuggingFace model page.
