HowieHwong / TrustLLM

[ICML 2024] TrustLLM: Trustworthiness in Large Language Models
https://trustllmbenchmark.github.io/TrustLLM-Website/
MIT License
357 stars 30 forks source link

Fix docs: incorrect python code in example #1

Closed sugatoray closed 5 months ago

sugatoray commented 5 months ago

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

image

Corrected vesrion:

Refer to: https://github.com/HowieHwong/TrustLLM/blob/83ee0b9dff7588446b0522ff8d4d970974412aff/trustllm_pkg/trustllm/dataset_download.py#L4

from trustllm.dataset_download import download_huggingface_dataset

download_huggingface_dataset(save_path='save_path')

:point_right: I have fixed it and will soon push the change in a PR.

  • 2

sugatoray commented 5 months ago

cc: @HowieHwong, @nauyisu022