-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Export to HuggingFace. Support glaive-function-calling-v2 in the demo…
…, clusters, and via sharegpt. (#1113) Add `Dataset.to_huggingface` which returns a HuggingFace dataset. Users can then publish it explicitly. To get the glaive-function-calling-v2 dataset to work we had to: - Write a notebook to map() the data in lilac over to the sharegpt format. Here is the output dataset: https://huggingface.co/datasets/lilacai/glaive-function-calling-v2-sharegpt Demos: - https://lilacai-lilac.hf.space/datasets#lilac/glaive-function-calling-v2 - https://lilacai-lilac.hf.space/datasets#lilac/glaive-function-calling-v2&viewPivot=true&pivot=%7B%22outerPath%22%3A%5B%22conversation_clusters%22%2C%22category_title%22%5D%2C%22innerPath%22%3A%5B%22conversation_clusters%22%2C%22cluster_title%22%5D%7D Other: - Allow this ./run_server_dev.sh ./demo_data Input: ![image](https://github.com/lilacai/lilac/assets/1100749/e682b9ba-3279-471d-997f-12c86c26eae7) Output: ![image](https://github.com/lilacai/lilac/assets/1100749/cd5a8ea3-c90b-4bd7-8b90-c3ea625eb2e0)
- Loading branch information
Showing
14 changed files
with
352 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.