html_url stringlengths 51 51 | title stringlengths 6 280 | comments stringlengths 63 141k | body stringlengths 18 58.6k ⌀ | comment_length int64 16 10.8k | text stringlengths 6 280 | embeddings listlengths 768 768 |
|---|---|---|---|---|---|---|
https://github.com/huggingface/datasets/issues/5430 | Support Apache Beam >= 2.44.0 | Some of the shard files now have 0 number of rows.
We have opened an issue in the Apache Beam repo:
- https://github.com/apache/beam/issues/25041 | Once we find out the root cause of:
- #5426
we should revert the temporary pin on apache-beam introduced by:
- #5429 | 23 | Support Apache Beam >= 2.44.0 | [
-0.33163198828697205,
-0.19468018412590027,
-0.2538297772407532,
-0.18167351186275482,
0.08133967965841293,
-0.14635992050170898,
-0.05522572621703148,
0.48587194085121155,
-0.11430386453866959,
0.13749493658542633,
0.11392970383167267,
0.018100185319781303,
-0.3649848401546478,
0.15086089... |
https://github.com/huggingface/datasets/issues/5428 | Load/Save FAISS index using fsspec | Hi! Sure, feel free to submit a PR. Maybe if we want to be consistent with the existing API, it would be cleaner to directly add support for `fsspec` paths in `Dataset.load_faiss_index`/`Dataset.save_faiss_index` in the same manner as it was done in `Dataset.load_from_disk`/`Dataset.save_to_disk`. | ### Feature request
From what I understand `faiss` already support this [link](https://github.com/facebookresearch/faiss/wiki/Index-IO,-cloning-and-hyper-parameter-tuning#generic-io-support)
I would like to use a stream as input to `Dataset.load_faiss_index` and `Dataset.save_faiss_index`.
### Motivation
In... | 42 | Load/Save FAISS index using fsspec | [
-0.4125467538833618,
-0.10050997883081436,
-0.1457543522119522,
0.24869272112846375,
0.16829943656921387,
0.10180100053548813,
0.12143128365278244,
0.04269787296652794,
0.6353223323822021,
0.4917266070842743,
-0.328125923871994,
-0.18137507140636444,
0.27530619502067566,
0.387371689081192,... |
https://github.com/huggingface/datasets/issues/5427 | Unable to download dataset id_clickbait | Thanks for reporting, @ilos-vigil.
We have transferred this issue to the corresponding dataset on the Hugging Face Hub: https://huggingface.co/datasets/id_clickbait/discussions/1 | ### Describe the bug
I tried to download dataset `id_clickbait`, but receive this error message.
```
FileNotFoundError: Couldn't find file at https://md-datasets-cache-zipfiles-prod.s3.eu-west-1.amazonaws.com/k42j7x2kpn-1.zip
```
When i open the link using browser, i got this XML data.
```xml
<?xml versi... | 19 | Unable to download dataset id_clickbait | [
-0.5453636646270752,
0.09606289118528366,
-0.23784510791301727,
0.1996021568775177,
0.11198793351650238,
0.1456495225429535,
0.19641375541687012,
0.2758217453956604,
0.0012205714592710137,
-0.09599366784095764,
-0.23140376806259155,
-0.13388460874557495,
0.10902632772922516,
0.390649199485... |
https://github.com/huggingface/datasets/issues/5425 | Sort on multiple keys with datasets.Dataset.sort() | Hi!
`Dataset.sort` calls `df.sort_values` internally, and `df.sort_values` brings all the "sort" columns in memory, so sorting on multiple keys could be very expensive. This makes me think that maybe we can replace `df.sort_values` with `pyarrow.compute.sort_indices` - the latter can also sort on multiple keys and ... | ### Feature request
From discussion on forum: https://discuss.huggingface.co/t/datasets-dataset-sort-does-not-preserve-ordering/29065/1
`sort()` does not preserve ordering, and it does not support sorting on multiple columns, nor a key function.
The suggested solution:
> ... having something similar to panda... | 109 | Sort on multiple keys with datasets.Dataset.sort() | [
0.028741464018821716,
-0.09899337589740753,
-0.2973214089870453,
0.11221349984407425,
0.1764691323041916,
0.08357195556163788,
0.06119823083281517,
0.2558813989162445,
-0.13195225596427917,
0.04995827376842499,
-0.10002277791500092,
0.22852276265621185,
0.005976022221148014,
0.119161099195... |
https://github.com/huggingface/datasets/issues/5425 | Sort on multiple keys with datasets.Dataset.sort() | @mariosasko If I understand the code right, using `pyarrow.compute.sort_indices` would also require changes to the `select` method if it is meant to sort multiple keys. That's because `select` only accepts 1D input for `indices`, not an iterable or similar which would be required for multiple keys unless you want some ... | ### Feature request
From discussion on forum: https://discuss.huggingface.co/t/datasets-dataset-sort-does-not-preserve-ordering/29065/1
`sort()` does not preserve ordering, and it does not support sorting on multiple columns, nor a key function.
The suggested solution:
> ... having something similar to panda... | 64 | Sort on multiple keys with datasets.Dataset.sort() | [
0.028741464018821716,
-0.09899337589740753,
-0.2973214089870453,
0.11221349984407425,
0.1764691323041916,
0.08357195556163788,
0.06119823083281517,
0.2558813989162445,
-0.13195225596427917,
0.04995827376842499,
-0.10002277791500092,
0.22852276265621185,
0.005976022221148014,
0.119161099195... |
https://github.com/huggingface/datasets/issues/5425 | Sort on multiple keys with datasets.Dataset.sort() | @MichlF No, it doesn't require modifying select because sorting on multiple keys also returns a 1D array.
It's easier to understand with an example:
```python
>>> import pyarrow as pa
>>> import pyarrow.compute as pc
>>> table = pa.table({
... "name": ["John", "Eve", "Peter", "John"],
... "surname": ["... | ### Feature request
From discussion on forum: https://discuss.huggingface.co/t/datasets-dataset-sort-does-not-preserve-ordering/29065/1
`sort()` does not preserve ordering, and it does not support sorting on multiple columns, nor a key function.
The suggested solution:
> ... having something similar to panda... | 76 | Sort on multiple keys with datasets.Dataset.sort() | [
0.028741464018821716,
-0.09899337589740753,
-0.2973214089870453,
0.11221349984407425,
0.1764691323041916,
0.08357195556163788,
0.06119823083281517,
0.2558813989162445,
-0.13195225596427917,
0.04995827376842499,
-0.10002277791500092,
0.22852276265621185,
0.005976022221148014,
0.119161099195... |
https://github.com/huggingface/datasets/issues/5425 | Sort on multiple keys with datasets.Dataset.sort() | Thanks for clarifying.
I can prepare a PR to address this issue. This would be my first PR here so I have a few maybe silly questions but:
- What is the preferred input type of `sort_keys` for the sort method? A sequence with name, order tuples like pyarrow's `sort_indices` requires?
- What about backwards compatabi... | ### Feature request
From discussion on forum: https://discuss.huggingface.co/t/datasets-dataset-sort-does-not-preserve-ordering/29065/1
`sort()` does not preserve ordering, and it does not support sorting on multiple columns, nor a key function.
The suggested solution:
> ... having something similar to panda... | 112 | Sort on multiple keys with datasets.Dataset.sort() | [
0.028741464018821716,
-0.09899337589740753,
-0.2973214089870453,
0.11221349984407425,
0.1764691323041916,
0.08357195556163788,
0.06119823083281517,
0.2558813989162445,
-0.13195225596427917,
0.04995827376842499,
-0.10002277791500092,
0.22852276265621185,
0.005976022221148014,
0.119161099195... |
https://github.com/huggingface/datasets/issues/5425 | Sort on multiple keys with datasets.Dataset.sort() | I think we can have the following signature:
```python
def sort(
self,
column_names: Union[str, Sequence[str]],
reverse: Union[bool, Sequence[bool]] = False,
kind="deprecated",
null_placement: str = "last",
keep_in_memory: bool = False,
load_from_cache_fi... | ### Feature request
From discussion on forum: https://discuss.huggingface.co/t/datasets-dataset-sort-does-not-preserve-ordering/29065/1
`sort()` does not preserve ordering, and it does not support sorting on multiple columns, nor a key function.
The suggested solution:
> ... having something similar to panda... | 127 | Sort on multiple keys with datasets.Dataset.sort() | [
0.028741464018821716,
-0.09899337589740753,
-0.2973214089870453,
0.11221349984407425,
0.1764691323041916,
0.08357195556163788,
0.06119823083281517,
0.2558813989162445,
-0.13195225596427917,
0.04995827376842499,
-0.10002277791500092,
0.22852276265621185,
0.005976022221148014,
0.119161099195... |
https://github.com/huggingface/datasets/issues/5425 | Sort on multiple keys with datasets.Dataset.sort() | I am pretty much done with the PR. Just one clarification: `Sequence` in `arrow_dataset.py` is a custom dataclass from `features.py` instead of the `type.hinting` class `Sequence` from Python. Do you suggest using that custom `Sequence` class somehow ? Otherwise signature currently reads instead:
```Python
def so... | ### Feature request
From discussion on forum: https://discuss.huggingface.co/t/datasets-dataset-sort-does-not-preserve-ordering/29065/1
`sort()` does not preserve ordering, and it does not support sorting on multiple columns, nor a key function.
The suggested solution:
> ... having something similar to panda... | 119 | Sort on multiple keys with datasets.Dataset.sort() | [
0.028741464018821716,
-0.09899337589740753,
-0.2973214089870453,
0.11221349984407425,
0.1764691323041916,
0.08357195556163788,
0.06119823083281517,
0.2558813989162445,
-0.13195225596427917,
0.04995827376842499,
-0.10002277791500092,
0.22852276265621185,
0.005976022221148014,
0.119161099195... |
https://github.com/huggingface/datasets/issues/5425 | Sort on multiple keys with datasets.Dataset.sort() | I meant `typing.Sequence` (`datasets.Sequence` is a feature type).
Regarding `null_placement`, I think we can support both `at_start` and `at_end`, and `last` and `first` (for backward compatibility; convert internally to `at_end` and `at_start` respectively). | ### Feature request
From discussion on forum: https://discuss.huggingface.co/t/datasets-dataset-sort-does-not-preserve-ordering/29065/1
`sort()` does not preserve ordering, and it does not support sorting on multiple columns, nor a key function.
The suggested solution:
> ... having something similar to panda... | 33 | Sort on multiple keys with datasets.Dataset.sort() | [
0.028741464018821716,
-0.09899337589740753,
-0.2973214089870453,
0.11221349984407425,
0.1764691323041916,
0.08357195556163788,
0.06119823083281517,
0.2558813989162445,
-0.13195225596427917,
0.04995827376842499,
-0.10002277791500092,
0.22852276265621185,
0.005976022221148014,
0.119161099195... |
https://github.com/huggingface/datasets/issues/5425 | Sort on multiple keys with datasets.Dataset.sort() | > I meant typing.Sequence (datasets.Sequence is a feature type).
Sorry, I actually meant `typing.Sequence` and not `type.hinting`. However, the issue is still that `dataset.Sequence` is imported in `arrow_dataset.py` so I cannot import and use `typing.Sequence` for the `sort`'s signature without overwriting the `dat... | ### Feature request
From discussion on forum: https://discuss.huggingface.co/t/datasets-dataset-sort-does-not-preserve-ordering/29065/1
`sort()` does not preserve ordering, and it does not support sorting on multiple columns, nor a key function.
The suggested solution:
> ... having something similar to panda... | 119 | Sort on multiple keys with datasets.Dataset.sort() | [
0.028741464018821716,
-0.09899337589740753,
-0.2973214089870453,
0.11221349984407425,
0.1764691323041916,
0.08357195556163788,
0.06119823083281517,
0.2558813989162445,
-0.13195225596427917,
0.04995827376842499,
-0.10002277791500092,
0.22852276265621185,
0.005976022221148014,
0.119161099195... |
End of preview. Expand in Data Studio
- Downloads last month
- 17