FoodSky: A Food-oriented Large Language Model, and FoodEarth: A Foundamental Food Corpus and Instruction Dataset
Authors/Creators
Contributors
Project member:
Description
Food is the cornerstone of both survival and social life. With the increasing complexity of global dietary needs and preferences, there is a growing demand for food intelligence to enable tasks like recipe recommendation and diet-disease correlation discovery. To address this, we introduce the Food-oriented Large Language Model (LLM) FoodSky, which offers fine-grained perception and reasoning of food data. We constructed a food corpus, FoodEarth, from various authoritative sources to enhance FoodSky's knowledge. We also developed the Topic-based Selective State Space Model and Hierarchical Topic Retrieval Augmented Generation algorithms to improve FoodSky's ability to capture fine-grained food semantics and generate context-aware food-relevant text. Extensive experiments show that FoodSky outperforms general-purpose LLMs on the Chinese National Chef Exam and Dietetic Exam, achieving accuracies of 67.2% and 66.4%, respectively. FoodSky not only enhances culinary creativity and promotes healthier eating patterns but also establishes a new standard for domain-specific LLMs tackling real-world food-related issues.
Files
foodsky-14b.zip
Files
(48.6 GB)
| Name | Size | Download all |
|---|---|---|
|
md5:7f0e2f71f9652d4a18566ccc7a555b71
|
208.0 MB | Download |
|
md5:238226cde5876c91988d8da3aa42a0f3
|
23.5 GB | Preview Download |
|
md5:afbe15d759b690ec5dd137e54c576563
|
12.1 GB | Preview Download |
|
md5:466d4534b3becbd6c58e09ea367c624c
|
12.8 GB | Download |
|
md5:8d12d85900b8ba9b9b78d1bfde5f43c2
|
980.7 kB | Download |
Additional details
Software
- Repository URL
- https://github.com/LanceZPF/FoodSky
- Programming language
- Python
References
- @article{zhou2024foodsky, title={FoodSky: A Food-oriented Large Language Model that Passes the Chef and Dietetic Examination}, author={Zhou, Pengfei and Min, Weiqing and Fu, Chaoran and Jin, Ying and Huang, Mingyu and Li, Xiangyang and Mei, Shuhuan and Jiang, Shuqiang}, journal={arXiv preprint arXiv:2406.10261}, year={2024} }