#Cannot start any Notebook

1 messages · Page 1 of 1 (latest)

runic mantle
#

I thought it was a dataset I was trying to use, then I tried two other notebooks and when I try to load the dataset (the default ones) it says this:


BadRequestError Traceback (most recent call last)
/tmp/ipython-input-7-118105422.py in <cell line: 0>()
1 from datasets import load_dataset
----> 2 reasoning_dataset = load_dataset("unsloth/OpenMathReasoning-mini", split = "cot")
3 non_reasoning_dataset = load_dataset("mlabonne/FineTome-100k", split = "train")

15 frames
/usr/local/lib/python3.11/dist-packages/huggingface_hub/utils/_http.py in hf_raise_for_status(response, endpoint_name)
463 f"\n\nBad request for {endpoint_name} endpoint:" if endpoint_name is not None else "\n\nBad request:"
464 )
--> 465 raise _format(BadRequestError, message, response) from e
466
467 elif response.status_code == 403:

BadRequestError: (Request ID: Root=1-687a1c12-5b5c72262c9973da46ce6529;e200e34e-4776-4544-b758-f55ffc54dec6)

Bad request:

  • Invalid input: expected array, received string * at paths * Invalid input: expected boolean, received string * at expand
    ✖ Invalid input: expected array, received string
    → at paths
    ✖ Invalid input: expected boolean, received string
    → at expand
fresh waveBOT
#

It seems likely that this error is due to a recent change or bug in the Hugging Face Datasets or Hub API, not Unsloth itself. The error message indicates that the API is receiving parameters in the wrong format (e.g., a string instead of an array or boolean), which may be caused by a version mismatch or an update in the underlying libraries. This issue has been reported by others when loading default datasets in Unsloth notebooks, and is not specific to your dataset or code.

My understanding is that updating your environment and using the latest official Unsloth notebooks may resolve the issue. The Unsloth team has previously addressed similar problems by updating their notebooks after Colab or dependency changes. Try downloading a fresh copy of the notebook from the official Unsloth notebooks page and ensure all packages are up to date. If the problem persists, it may be a temporary issue with the Hugging Face API or a breaking change that requires a fix from the Unsloth or Hugging Face teams. Would you like more detailed troubleshooting steps or environment setup guidance?

Sources:

lone finch
#

I think it's dataset in general but wait

#

I also got this errror

runic mantle
#

The Gemma3nb, Qwen2.5, and Qwen 3 seem to all do it.

#

I'm not sure what happened, I loaded a notebook just fine 20 minutes before.

lone finch
#

is it colab? since in my local is working fine

runic mantle
#

Yeah, I went to the notebooks section and opened a fresh Notebook.

lone finch
#

We have to wait :/

runic mantle
#

Damn, all good! Thank you

narrow trail
#

oh yes its a HF issue

#

im adding a fix in unsloth to make it not fail

narrow trail
#

should be fixed!