HowieHwong/TrustLLM

Fix docs: incorrect python code in example

sugatoray opened this issue ยท 1 comments

The following is available in docs/index.md and README.md. The import is incorrect.

image

Corrected vesrion:

Refer to:

def download_huggingface_dataset(dataset_name="TrustLLM/TrustLLM-dataset", save_path=None):

from trustllm.dataset_download import download_huggingface_dataset

download_huggingface_dataset(save_path='save_path')

๐Ÿ‘‰ I have fixed it and will soon push the change in a PR.