Follow HF_ENDPOINT environment variable
Former-commit-id: 22b36a3cfd2909cb624b1bb7385558eda504defe
This commit is contained in:
@@ -1,13 +1,17 @@
|
||||
import os
|
||||
import json
|
||||
import datasets
|
||||
from typing import List
|
||||
|
||||
_HF_ENDPOINT = os.getenv("_HF_ENDPOINT", "https://huggingface.co")
|
||||
|
||||
_DESCRIPTION = "Human preference data about helpfulness and harmlessness."
|
||||
|
||||
_CITATION = ""
|
||||
_HOMEPAGE = "https://huggingface.co/datasets/Anthropic/hh-rlhf"
|
||||
|
||||
_HOMEPAGE = f"{_HF_ENDPOINT}/datasets/Anthropic/hh-rlhf"
|
||||
_LICENSE = "mit"
|
||||
_URL = "https://huggingface.co/datasets/Anthropic/hh-rlhf/resolve/main/"
|
||||
_URL = f"{_HF_ENDPOINT}/datasets/Anthropic/hh-rlhf/resolve/main/"
|
||||
_URLS = {
|
||||
"train": [
|
||||
_URL + "harmless-base/train.jsonl.gz",
|
||||
|
||||
Reference in New Issue
Block a user