AI & ML interests

None defined yet.

Recent Activity

lhoestqย  updated a Space 3 days ago
airflow-hf/README
lhoestqย  published a Space 3 days ago
airflow-hf/README
lhoestqย  authored a paper almost 2 years ago
Croissant: A Metadata Format for ML-Ready Datasets
View all activity

lhoestqย 
updated a Space 3 days ago
lhoestqย 
published a Space 3 days ago
AINovice2005ย 
posted an update 5 months ago
AINovice2005ย 
posted an update 5 months ago
view post
Post
82
Excited to share the release of dagster-hf-datasets: A Dagster-native integration that brings Hugging Face Datasets into Dagster's asset-oriented orchestration model

The integration enables:

โ€ข ๐Ÿค— Dataset and DatasetDict assets
โ€ข ๐Ÿ™ Dagster asset lineage and observability
โ€ข ๐Ÿ“ฆ Parquet-backed materialization via HFParquetIOManager
โ€ข ๐Ÿš€ Publishing curated datasets back to the Hugging Face Hub
โ€ข ๐Ÿ“ Automatic dataset card generation from pipeline metadata

As the Hub continues to grow beyond 1M+ datasets, orchestration, reproducibility, and observability are becoming increasingly important parts of the dataset lifecycle. I'm also working on a longer article covering the architecture and data pipelines enabled by the integration.

More Soon!

https://github.com/dagster-io/community-integrations/tree/main/libraries/dagster-hf-datasets

https://github.com/dagster-io/community-integrations/tree/main/libraries/dagster-hf-datasets/docs

AINovice2005ย 
posted an update 6 months ago
AINovice2005ย 
posted an update 7 months ago
view post
Post
174
I've built a system to make open-source contributions easier to understand across repositories.

It:

aggregates merged external PRs (reviewed by maintainers)
structures them into a single contributions.md
adds a lightweight AI layer to query patterns and impact

The idea is to move from scattered PRs to a readable changelog of work.

Read about it: https://medium.com/@paragekbote23/from-commits-to-impact-building-an-automated-changelog-for-open-source-contributions-20cdfebcee58
AINovice2005ย 
posted an update 8 months ago
view post
Post
3,519
In celebration of the new storage graph feature on the Hub, here's mine ๐Ÿ˜Š :


Post inspired by @ZennyKenny
AINovice2005ย 
posted an update 8 months ago
view post
Post
157
I recently created my first storage bucket to store experiment data of my performance analysis of 15 tokenizers across 20 languages.

The setup is simple enough for a new product and can be scalable depending on the use-case ๐Ÿค— .

Bucket: https://huggingface.co/buckets/AINovice2005/tokenizer-benchmark

github gist: https://gist.github.com/ParagEkbote/b3877f667f84cbb9a27bdaca94ba662a

Article: https://medium.com/@paragekbote23/one-sentence-fifteen-tokenizers-a-tokenizer-benchmarking-pipeline-with-hf-storage-buckets-2e59790276fd
AINovice2005ย 
posted an update 8 months ago
AINovice2005ย 
posted an update 8 months ago
view post
Post
98
Pro tip2: You can treat HF datasets as versioned repos by pinning a specific revision (tag, branch or commit) when downloading files. ๐Ÿง 

This ensures your data processing pipelines always use the exact dataset state before passing the data to the model. It enables reproducible pipelines and allows for reliable outputs of your ML system.

from huggingface_hub import hf_hub_download

data_path = hf_hub_download(
    repo_id="lysandre/arxiv-nlp",
    filename="train.parquet",
    repo_type="dataset",
    revision="877b84a8f93f2d619faa2a6e514a32beef88ab0a"
)
AINovice2005ย 
posted an update 8 months ago
AINovice2005ย 
posted an update 8 months ago
view post
Post
481
Just published my first cuda kernel, inspired by Sage Attention. Feel free to try it out โ˜บ๏ธ

AINovice2005/attention-int8
  • 2 replies
ยท
lhoestqย 
posted an update almost 2 years ago
view post
Post
3,776
Made a HF Dataset editor a la gg sheets here: lhoestq/dataset-spreadsheets

With Dataset Spreadsheets:
โœ๏ธ Edit datasets in the UI
๐Ÿ”— Share link with collaborators
๐Ÿ Use locally in DuckDB or Python

Available for the 100,000+ parquet datasets on HF :)
lhoestqย 
posted an update over 2 years ago
view post
Post
4,212
Hey ! I'm working on a 100% synthetic Dataset Hub here (you can search for any kind of datasets an the app invents them). The link is here: infinite-dataset-hub/infinite-dataset-hub

Question for the Community:

Which models should I use to generate images and audio samples for those datasets ? ๐Ÿค—
  • 4 replies
ยท
lhoestqย 
posted an update over 2 years ago
view post
Post
3,097
โœจ Easy Synthetic Dataset File Generation using LLM DataGen ! Link: https://huggingface.co/spaces/lhoestq/LLM_DataGen

features + how it works:

โœ๏ธ Generate the dataset content you want just by entering a file name
๐Ÿ’ก Optionally specify the column names you need
๐Ÿ’จ The dataset is streamed and generated on-the-fly in JSON Lines format
โœ… Generation is constrained to always output valid JSON

How does this work ?
1/ Enter a file name
2/ The model generates column names for such a file. Using structured generation, it can generate 2 to 5 column names using lower case characters and underscores. I use a prompt that asks to generate column names for a realistic dataset and low temperature.
3/ The columns are used to update the Finite State Machine for the dataset content structured generation, so that it is used to generate JSON objects using those columns
4/ The model generates JSON objects using structured generation again, using the updated Finite State Machine. I use a prompt that asks for realistic data and a temperature of 1.

> Why update a Finite State Machine instead of re-creating one ?

Creating one can take up to 30sec, while updating one takes 0.1s (though it requires to manipulate a graph which is not easy to implement)

> Batched generation is faster, why not use it ?

Generate in batches is faster but tends to generate duplicates for this demo.
Further work can be to provide different prompts (one per sequence in the batch) to end up with a different distribution of sequences in each batch. Or implement a custom sampler that would forbid generating the same data in sequences of the same batch.

> How does structured generation work ?

I used the outlines library with transformers to to define a JSON schema that the generation has to follow. It uses a Finite State Machine with token_id as transitions.

Let me know what you think ! And feel free to duplicate/modify it to try other models/prompts or sampling methods :)