LLMs-from-scratch
Weaviate
LLMs-from-scratch | Weaviate | |
---|---|---|
11 | 77 | |
19,418 | 9,993 | |
- | 4.7% | |
9.6 | 10.0 | |
about 18 hours ago | 3 days ago | |
Jupyter Notebook | Go | |
GNU General Public License v3.0 or later | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
LLMs-from-scratch
- Evaluating LLMs locally, on a laptop, with Llama 3 and Ollama
-
Ask HN: What are some books/resources where we can learn by building
By happenchance today I learned that Manning recently started working on publishing a X From Scratch series, which currently includes:
* Container Orchestrator: https://www.manning.com/books/build-an-orchestrator-in-go-fr...
* LLM : https://www.manning.com/books/build-a-large-language-model-f...
* Frontend Framework: https://www.manning.com/books/build-a-frontend-web-framework...
- Finetuning an LLM-Based Spam Classifier with LoRA from Scratch
- Finetune a GPT Model for Spam Detection on Your Laptop in Just 5 Minutes
- Insights from Finetuning LLMs for Classification Tasks
-
Ask HN: Textbook Regarding LLMs
https://www.manning.com/books/build-a-large-language-model-f...
- Comparing 5 ways to implement Multihead Attention in PyTorch
- FLaNK Stack 29 Jan 2024
-
Implementing a ChatGPT-like LLM from scratch, step by step
The attention mechanism we implement in this book* is specific to LLMs in terms of the text inputs, but it's fundamentally the same attention mechanism that is used in vision transformers. The only difference is that in LLMs, you turn text into tokens, and convert these tokens into vector embeddings that go into an LLM. In vision transformers, instead of regarding images as tokens, you use an image patch as a token and turn those into vector embeddings (a bit hard to explain without visuals here). In both text or vision context, it's the same attention mechanism, and it both cases it receives vector embeddings.
(*Chapter 3, already submitted last week and should be online in the MEAP soon, in the meantime the code along with the notes is also available here: https://github.com/rasbt/LLMs-from-scratch/blob/main/ch03/01...)
Weaviate
- Weaviate – A cloud-native, open-source vector database
-
pgvecto.rs alternatives - qdrant and Weaviate
3 projects | 13 Mar 2024
- FLaNK Stack 29 Jan 2024
- Qdrant, the Vector Search Database, raised $28M in a Series A round
-
How to use Weaviate to store and query vector embeddings
In this tutorial, I introduce Weaviate, an open-source vector database, with the thenlper/gte-base embedding model from Alibaba, through Hugging Face's transformers library.
-
Choosing vector database: a side-by-side comparison
This will be solved in Weaviate https://github.com/weaviate/weaviate/issues/2424
-
Who's hiring developer advocates? (October 2023)
Link to GitHub -->
-
Do we think about vector dbs wrong?
Hey @rvrs, I work on Weaviate and we are doing some improvements around increasing write throughput:
1. gRPC. Using gRPC to write vectors has had a really nice performance boost. It is released in Weaviate core but here is still some work on do on the clients. Feel free to get in contact if you would like to try it out.
2. Parameter tuning. lowering `efConstruction` can speed up imports.
3. We are also working on async indexing https://github.com/weaviate/weaviate/issues/3463 which will further speed things up.
In comparison with pgvector, Weaviate has more flexible query options such as hybrid search and quantization to save memory on larger datasets.
- Weaviate vector database
- Weaviate 1.21: Support for ImageBind and GPT4all and more
What are some alternatives?
s4 - Structured state space sequence models
Milvus - A cloud-native vector database, storage for next generation AI applications
faiss - A library for efficient similarity search and clustering of dense vectors.
pgvector - Open-source vector similarity search for Postgres
qdrant - Qdrant - High-performance, massive-scale Vector Database for the next generation of AI. Also available in the cloud https://cloud.qdrant.io/
jina - ☁️ Build multimodal AI applications with cloud-native stack
vald - Vald. A Highly Scalable Distributed Vector Search Engine
ChatterBot - ChatterBot is a machine learning, conversational dialog engine for creating chat bots
marqo - Unified embedding generation and search engine. Also available on cloud - cloud.marqo.ai
go - The Go programming language
annoy - Approximate Nearest Neighbors in C++/Python optimized for memory usage and loading/saving to disk
Elasticsearch - Free and Open, Distributed, RESTful Search Engine