🎉 Introduction to new functions of GPTCache
- Add vqa bootcamp
reference: https://github.com/zilliztech/GPTCache/tree/main/docs/bootcamp/replicate
- Add two streamlit multimodal demos
reference: https://github.com/zilliztech/GPTCache/tree/main/docs/bootcamp/streamlit
- Add vit image embedding func
from gptcache.embedding import ViT
encoder = ViT(model="google/vit-base-patch16-384")
embed = encoder.to_embeddings(image)
- Add
init_similar_cache
func for the GPTCache api module
from gptcache.adapter.api import init_similar_cache
init_similar_cache("cache_data")
- The simple GPTCache server provides similar cache
- clone the GPTCache repo,
git clone https://github.com/zilliztech/GPTCache.git
- install the gptcache model,
pip install gptcache
- run the GPTCache server,
cd gptcache_server && python server.py
What's Changed
- Add vqa bootcamp by @shiyu22 in #263
- Update vqa bootcamp by @shiyu22 in #265
- Modify np evaluation to support vqa by @jaelgu in #264
- Update README by @shiyu22 in #266
- Add evaluation options in vqa bootcamp by @jaelgu in #267
- Add two streamlit demos. by @wxywb in #268
- feat: Implement vit image embedding by @Pouyanpi in #270
- Add
init_similar_cache
func for providing easier similar cache init by @SimFG in #272 - Update sql example by @shiyu22 in #273
- Update the version to
0.1.18
by @SimFG in #275
Full Changelog: 0.1.17...0.1.18