AnswerDotAI / AnswerDotAI/ModernBERT
ValueError: Invalid pattern: '**' can only be an entire path component
- Dominant language
- Python
- Stars
- 1.7k
- Forks
- 145
- PR merge metrics
- No merged PRs in 30d
Description
Hi.
When running [finetune_modernbert_on_glue.ipynb](https://colab.research.google.com/github/AnswerDotAI/ModernBERT/blob/master/examples/finetune_modernbert_on_glue.ipynb#scrollTo=JJm1HiJrW2dC) notebook in colab on line `raw_datasets = load_dataset("glue", task)` the `ValueError` raised
```python
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
[](https://localhost:8080/#) in ()
----> 1 raw_datasets = load_dataset("glue", task)
2
3 print(f"{raw_datasets}\n")
4 print(f"{raw_datasets[train_ds_name][0]}\n")
5 print(f"{raw_datasets[train_ds_name].features}\n")
11 frames
[/usr/local/lib/python3.11/dist-packages/fsspec/utils.py](https://localhost:8080/#) in glob_translate(pat)
729 continue
730 elif "**" in part:
--> 731 raise ValueError(
732 "Invalid pattern: '**' can only be an entire path component"
733 )
ValueError: Invalid pattern: '**' can only be an entire path component
```

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.