Lilac

Latest version: v0.3.9

Safety actively analyzes 682361 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 9

0.3.3

Not secure
<!-- Release notes generated using configuration in .github/release.yml at v0.3.3 -->

This release is mostly bug fixes and one API change for exporting.

For all export methods, we now have an "include_signals" bit. By default, we do not export signals computed in Lilac as extra metadata to preserve your source data.

For example:
py
hf_ds = ds.to_huggingface(include_signals=True)


What's Changed

Clustering
* Cache dataset.pivot() and make cluster search box more visible by dsmilkov in https://github.com/lilacai/lilac/pull/1126
* Add some polish to the clusters page. Fix some other UI bugs. by nsthorat in https://github.com/lilacai/lilac/pull/1128
* Add progress bars for JINA embedding for local clustering by brilee in https://github.com/lilacai/lilac/pull/1138
* Speedup rendering of cluster view by dsmilkov in https://github.com/lilacai/lilac/pull/1137

Bug fixes
* Fix a few small bugs by testing prod mode by dsmilkov in https://github.com/lilacai/lilac/pull/1129
* Add --deploy_at_head to deploy_project. Fix bug with percentages. by nsthorat in https://github.com/lilacai/lilac/pull/1131
* Rename USE_TABLE_INDEX => LILAC_USE_TABLE_INDEX. Add LILAC_PROD_MODE. by nsthorat in https://github.com/lilacai/lilac/pull/1134
* Fix signal info error by dsmilkov in https://github.com/lilacai/lilac/pull/1136
* Improve clusters and several bug fixes by dsmilkov in https://github.com/lilacai/lilac/pull/1141
* Fix issue with urls that end with a slash. by nsthorat in https://github.com/lilacai/lilac/pull/1143

Docs
* Update readme.md by dsmilkov in https://github.com/lilacai/lilac/pull/1133

Demo
* Add hacker news comments to the public demo. by nsthorat in https://github.com/lilacai/lilac/pull/1135

Performance
* Handle sqlite files separately during table/index creation by brilee in https://github.com/lilacai/lilac/pull/1140

API
* Add exclude_signals to select_rows, and include_signals to export methods. by nsthorat in https://github.com/lilacai/lilac/pull/1139

**Full Changelog**: https://github.com/lilacai/lilac/compare/v0.3.2...v0.3.3

0.3.2

Not secure
<!-- Release notes generated using configuration in .github/release.yml at v0.3.2 -->

This release is mostly bug fixes.

Bug fixes
* Fix pandas deprecation warning by brilee in https://github.com/lilacai/lilac/pull/1123
* Fix "open dataset and apply concept" by dsmilkov in https://github.com/lilacai/lilac/pull/1124
* Fix concept labeler when we index a repeated string (capybara) by dsmilkov in https://github.com/lilacai/lilac/pull/1122
* Fix a few bugs related to concepts and clustering by dsmilkov in https://github.com/lilacai/lilac/pull/1121

Lilac Garden & Clustering
* Add mosaic-instruct-v3 by brilee in https://github.com/lilacai/lilac/pull/1116
* Add eval datasets to the huggingface demo. by nsthorat in https://github.com/lilacai/lilac/pull/1119
* Add more demo datasets. by nsthorat in https://github.com/lilacai/lilac/pull/1120

**Full Changelog**: https://github.com/lilacai/lilac/compare/v0.3.1...v0.3.2

0.3.1

Not secure
<!-- Release notes generated using configuration in .github/release.yml at v0.3.1 -->

Bugs
* Fix a non blocking start_server by dsmilkov in https://github.com/lilacai/lilac/pull/1117

Docs
* Add a clustering guide by dsmilkov in https://github.com/lilacai/lilac/pull/1114


**Full Changelog**: https://github.com/lilacai/lilac/compare/v0.3.0...v0.3.1

0.3.0

Not secure
<!-- Release notes generated using configuration in .github/release.yml at v0.3.0 -->

This release extends our exporting capabilities and adds support for loading custom embeddings.

Because the shape of exported data has changed, this is a breaking change so we released 0.3.0.

Loading custom embeddings

Loading pre-computed embeddings from an external source is now possible. See our [Custom embeddings](https://docs.lilacml.com/datasets/dataset_embeddings.html) guide for more details.

py
Load the embeddings into Lilac.
def _load_embedding(item):
return vector_store[item['id']]

Load the embeddings into Lilac.
ds.load_embedding(
load_fn=_load_embedding, index_path='text', embedding='my_embedding', overwrite=True
)


Export to HuggingFace

You can now export to a HuggingFace dataset.

py
Export a Lilac dataset to a huggingface dataset.
hf_ds = ds.to_huggingface()
Optionally: use the HuggingFace API to push the dataset to the hub.
hf_ds.push_to_hub('lilacai/glaive-function-calling-v2-sharegpt')


Exporting no longer flattens data
Before this release, exporting would flatten source data. For instance, data that looks like:

{
'conversations': [{
'from': 'user',
'value': 'Hello there'
}]


Would get exported incorrectly as:

{'conversations.*.from': ['user'], 'conversations.*.value': ['Hello there']}


Now it is exported exactly the way it was shaped when importing.

What's Changed

Features
* Add support for loading custom embeddings. by nsthorat in https://github.com/lilacai/lilac/pull/1090
* Fix dataset export to avoid flattening the user data by dsmilkov in https://github.com/lilacai/lilac/pull/1091
* Export to HuggingFace. Support glaive-function-calling-v2 in the demo, clusters, and via sharegpt. by nsthorat in https://github.com/lilacai/lilac/pull/1113

Performance
* Speed up PII and lang detection by making them multiprocess by dsmilkov in https://github.com/lilacai/lilac/pull/1097

Bug fixes
* Bug fixes: overwrite, task errors, embedding keys. by nsthorat in https://github.com/lilacai/lilac/pull/1098
* Fixed cache busting behavior by brilee in https://github.com/lilacai/lilac/pull/1099
* Small fixes for the demo. by nsthorat in https://github.com/lilacai/lilac/pull/1106
* Fix a bug where we drop source fields that have embeddings computed on them by nsthorat in https://gith* Couple of small bug fixes by dsmilkov in https://github.com/lilacai/lilac/pull/1109
ub.com/lilacai/lilac/pull/1093
* Fix edge case where table doesn't exist and doesn't get created by brilee in https://github.com/lilacai/lilac/pull/1110
* Fix the cluster sort by membership score bug by dsmilkov in https://github.com/lilacai/lilac/pull/1112

Lilac Garden
* Rename remote => use_garden. by nsthorat in https://github.com/lilacai/lilac/pull/1092
* Fix chunking bug for remote embedding computation by dsmilkov in https://github.com/lilacai/lilac/pull/1096
* Add accelerated PII execution on Lilac Garden by dsmilkov in https://github.com/lilacai/lilac/pull/1103
* Move use_garden outside of a Signal. by nsthorat in https://github.com/lilacai/lilac/pull/1102

UI
* Refactor buttons so we have a single cluster button. by nsthorat in https://github.com/lilacai/lilac/pull/1111


**Full Changelog**: https://github.com/lilacai/lilac/compare/v0.2.5...v0.3.0

0.2.5

Not secure
<!-- Release notes generated using configuration in .github/release.yml at v0.2.5 -->

What's Changed

This release is mostly UI bug fixes.

We also added support for remote computation of GTE embeddings via Lilac Garden. If you are interested, please reach out to us.

Bug fixes
* Always sort by rowid to make db results stable by dsmilkov in https://github.com/lilacai/lilac/pull/1086
* Fix a couple of UI bugs by dsmilkov in https://github.com/lilacai/lilac/pull/1088
* Fix some small UI bugs. by nsthorat in https://github.com/lilacai/lilac/pull/1084
* Ignore folders that don't have a manifest.json and make project config source of truth for dataset listing by brilee in https://github.com/lilacai/lilac/pull/1083
* Fix bug with keyword search highlighting every field. by nsthorat in https://github.com/lilacai/lilac/pull/1081

Garden
* Add remote computation for GTE by dsmilkov in https://github.com/lilacai/lilac/pull/1082

Other Changes
* Remove the media path x preferred-embedding logic. by nsthorat in https://github.com/lilacai/lilac/pull/1079
* Deploy dataset by brilee in https://github.com/lilacai/lilac/pull/1085
* Enable deploying at HEAD for demo as well as staging. by brilee in https://github.com/lilacai/lilac/pull/1089


**Full Changelog**: https://github.com/lilacai/lilac/compare/v0.2.4...v0.2.5

0.2.4

Not secure
<!-- Release notes generated using configuration in .github/release.yml at v0.2.4 -->

What's Changed

This release is mostly bug fixes and small changes to the upcoming clustering UI.

Clustering
* Optimize the cluster view page to reduce number of requests by dsmilkov in https://github.com/lilacai/lilac/pull/1062
* Improve the cluster titling and fix a few client-side bugs by dsmilkov in https://github.com/lilacai/lilac/pull/1058
* Add share-gpt specific format selectors. by nsthorat in https://github.com/lilacai/lilac/pull/1060
* Cluster spec deployer by brilee in https://github.com/lilacai/lilac/pull/1063
* Improve the cluster/pivot UI by dsmilkov in https://github.com/lilacai/lilac/pull/1068
* Tiny UI fix for "Clusters of" and shave off 1 call to dataset.stats in clustering by dsmilkov in https://github.com/lilacai/lilac/pull/1074
* Support input selectors from config files. by nsthorat in https://github.com/lilacai/lilac/pull/1076

Bug fixes
* fix npm deps? by brilee in https://github.com/lilacai/lilac/pull/1070
* Fix a couple issues with the export menu. by nsthorat in https://github.com/lilacai/lilac/pull/1069
* Create tasks api to ensure exceptions caught by brilee in https://github.com/lilacai/lilac/pull/1071
* Override the OpenAPI base url when lilac is not being served from / by nsthorat in https://github.com/lilacai/lilac/pull/1073
* Make the entire svelte app use relative links by dsmilkov in https://github.com/lilacai/lilac/pull/1075

Docs
* Add documentation for sharing datasets. by nsthorat in https://github.com/lilacai/lilac/pull/1061
* Fix broken link in README by albertvillanova in https://github.com/lilacai/lilac/pull/1064
* Fix broken links in HuggingFaceSpaceWelcome web component by albertvillanova in https://github.com/lilacai/lilac/pull/1065

Other Changes
* Update lock files from ./scripts/setup.sh by nsthorat in https://github.com/lilacai/lilac/pull/1077

New Contributors
* albertvillanova made their first contribution in https://github.com/lilacai/lilac/pull/1064

**Full Changelog**: https://github.com/lilacai/lilac/compare/v0.2.3...v0.2.4

Page 2 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.