instructor-embedding
paperai
instructor-embedding | paperai | |
---|---|---|
4 | 19 | |
1,703 | 1,196 | |
3.1% | 1.3% | |
5.9 | 5.9 | |
10 days ago | 5 months ago | |
Python | Python | |
Apache License 2.0 | Apache License 2.0 |
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.
instructor-embedding
-
My experience on starting with fine tuning LLMs with custom data
If you li embeddings and vector DB, you should look into this: https://github.com/HKUNLP/instructor-embedding
-
Build Personal ChatGPT Using Your Data
If you look at a embeddings leaderboard [1], one of the top competitors called InstructorXL [2] is just a pip install away. It's neck and neck with Ada v2 except for a shorter input length and half the dimensions, with the added benefit that you'll always have the model available.
Most of the other options just work with the transformers library.
[1] https://huggingface.co/spaces/mteb/leaderboard
[2] https://github.com/HKUNLP/instructor-embedding
-
I've made a customisable SMS personal assistant which has infinite and persistent semantic memory.
Use instructor-embedding to to make it 100% local and even maybe quick relationship lookup (embed relationship info with sentiment analysis instruction)
-
Whisper Transcription Formatting
First.I believe having srt subtitles as whisper result would be better.Essentially you don't need just a list of words like YouTube does.You need something more structured.I don't remember what whisper outputs so I might be wrong.There is whisperx for that as example. And then maybe use gpt index over it.Or something like instructor model That can work.
paperai
-
Oracle of Zotero: LLM QA of Your Research Library
Nice project!
I've spent quite a lot of time in the medical/scientific literature space. With regards to LLMs, specifically RAG, how the data is chunked is quite important. With that, I have a couple projects that might be beneficial additions.
paperetl (https://github.com/neuml/paperetl) - supports parsing arXiv, PubMed and integrates with GROBID to handle parsing metadata and text from arbitrary papers.
paperai (https://github.com/neuml/paperai) - builds embeddings databases of medical/scientific papers. Supports LLM prompting, semantic workflows and vector search. Built with txtai (https://github.com/neuml/txtai).
While arbitrary chunking/splitting can work, I've found that integrating parsing that has knowledge of medical/scientific paper structure increases the overall accuracy and experience of downstream applications.
-
Build Personal ChatGPT Using Your Data
https://github.com/neuml/paperai
Disclaimer: I am the author of both
-
[P] Parse research papers into structured data
paperai | paperetl
- Show HN: Semantic search and workflows for medical/scientific papers
- Semantic search and workflows for medical/scientific papers
-
# Run txtai in native code
action: translate input: txtai executes machine-learning workflows to transform data and build AI-powered semantic search applications. output: txtai exécute des workflows d'apprentissage automatique pour transformer les données et construire des applications de recherche sémantique alimentées par l'IA. action: translate input: Traditional search systems use keywords to find data output: Les systèmes de recherche traditionnels utilisent des mots-clés pour trouver des données action: summary input: https://github.com/neuml/txtai output: txtai executes machine-learning workflows to transform data and build AI-powered semantic search applications. Semantic search applications have an understanding of natural language and identify results that have the same meaning, not necessarily the same keywords. API bindings for JavaScript, Java, Rust and Go. Cloud-native architecture scales out with container orchestration systems (e. g. Kubernetes) action: summary input: https://github.com/neuml/paperai output: paperai is an AI-powered literature discovery and review engine for medical/scientific papers. Paperai was used to analyze the COVID-19 Open Research Dataset (CORD-19) paperai and NeuML have been recognized in the following articles: Cord-19 Kaggle Challenge Awards Machine-Learning Experts Delve Into 47,000 Papers on Coronavirus Family. real 0m22.478s user 0m13.776s sys 0m3.218s
What are some alternatives?
h2ogpt - Private chat with local GPT with document, images, video, etc. 100% private, Apache 2.0. Supports oLLaMa, Mixtral, llama.cpp, and more. Demo: https://gpt.h2o.ai/ https://codellama.h2o.ai/
txtai - đź’ˇ All-in-one open-source embeddings database for semantic search, LLM orchestration and language model workflows
openai-cookbook - Examples and guides for using the OpenAI API
tika-python - Tika-Python is a Python binding to the Apache Tika™ REST services allowing Tika to be called natively in the Python community.
Nuggt - An Autonomous LLM Agent that runs on Wizcoder-15B
SciencePlots - Matplotlib styles for scientific plotting
vlite - fast vector database made in numpy
sentence-transformers - Multilingual Sentence & Image Embeddings with BERT
easydiffusion - Easiest 1-click way to create beautiful artwork on your PC using AI, with no tech knowledge. Provides a browser UI for generating images from text prompts and images. Just enter your text prompt, and see the generated image.
faiss - A library for efficient similarity search and clustering of dense vectors.
lit-gpt - Hackable implementation of state-of-the-art open-source LLMs based on nanoGPT. Supports flash attention, 4-bit and 8-bit quantization, LoRA and LLaMA-Adapter fine-tuning, pre-training. Apache 2.0-licensed. [Moved to: https://github.com/Lightning-AI/litgpt]
scibert - A BERT model for scientific text.