HN user

txtai

243 karma
Posts50
Comments64
View on HN
github.com 3y ago

Prompt-driven vector search with LLMs

txtai
28pts5
github.com 3y ago

Parse research papers into a structured dataset

txtai
3pts0
github.com 3y ago

Show HN: ETL for Medical and Scientific Papers

txtai
2pts0
github.com 3y ago

Show HN: Semantic search and workflows for medical/scientific papers

txtai
12pts0
colab.research.google.com 3y ago

Train a Transformers Micromodel: 400KB, 95K parameters

txtai
3pts1
medium.com 3y ago

Ways to grow your open-source project

txtai
5pts0
medium.com 3y ago

Introduction to Semantic Search

txtai
3pts0
github.com 3y ago

Show HN: Txtai 5.2 released: open-source semantic search

txtai
4pts0
github.com 3y ago

Txtai 5.2 released: open-source semantic search

txtai
2pts1
medium.com 3y ago

Debug and fix slow ONNX GPU performance

txtai
1pts0
colab.research.google.com 3y ago

High quality, fast performing, local text to speech generation

txtai
1pts1
colab.research.google.com 3y ago

High quality, fast performing, local text to speech generation

txtai
1pts0
neuml.github.io 3y ago

Semantic Search with SQLite

txtai
107pts7
medium.com 3y ago

Machine Translation for Medical Chats

txtai
1pts0
medium.com 3y ago

Getting Started with Semantic Search

txtai
3pts0
medium.com 3y ago

Getting Started with Semantic Search

txtai
1pts0
medium.com 3y ago

Getting Started with Semantic Search

txtai
4pts0
medium.com 3y ago

Ways to grow your open-source project

txtai
4pts0
neuml.github.io 3y ago

Topic modeling with semantic graphs: a different approach

txtai
10pts5
medium.com 3y ago

Ways to grow your open-source project

txtai
3pts0
medium.com 3y ago

Lessons learned in growing an open-source project

txtai
5pts0
github.com 3y ago

Txtai 5.1: better machine translation, Whisper transcription and ARM support

txtai
4pts1
github.com 3y ago

Txtai 5.1 released: new translation models, Whisper transcription and ARM images

txtai
1pts1
github.com 3y ago

Locally-hosted alternative to cloud machine translation

txtai
2pts1
colab.research.google.com 3y ago

Topic Modeling with BM25 and Graphs

txtai
5pts1
github.com 3y ago

Show HN: Semantic search of Stack Overflow with codequestion

txtai
10pts5
medium.com 3y ago

Show HN: Txtai 5.0 released – build semantic search applications and workflows

txtai
2pts1
github.com 3y ago

Txtai 5.0 released – build semantic search applications and workflows

txtai
5pts1
colab.research.google.com 3y ago

Show HN: Run Whisper audio transcription as an API service

txtai
3pts0
colab.research.google.com 3y ago

Run Whisper audio transcription as an API service

txtai
2pts0

The first comment in that article has details on the new model. Not the original author but per their testing they said they paid $70 to encode 1M records. The embeddings are 1536 dimensions, which require a lot of vector storage. The HF hub has open models for 384 dimensions or 768 dimensions that work well for a lot of use cases.

OpenAI-to-SQLite 3 years ago

Thanks. Just want people to know there are quality FOSS alternatives available for encoding text into embeddings.

This concept was more for inference on-demand vs training a model. For example, if there was an API call that had a model call as part of it's workflow. Training even a small model still requires serious compute power.

Outperforms GPT-3.5 by 16% with less than 1B parameters. There is even a 220M parameter version that scores well. Interesting model to watch.

Referenced snippet from the abstract:

With Multimodal-CoT, our model under 1 billion parameters outperforms the previous state-of-the-art LLM (GPT-3.5) by 16% (75.17%->91.68%) on the ScienceQA benchmark and even surpasses human performance.

The goal of this approach is to answer questions with a datasource. The referenced example runs a vector database query to build the context and then runs a prompt to ask the question.

Answer the following question using only the context below. Say 'no answer' when the question can't be answered. Question: {question} Context: {context}

Not sure this prompt works for all scenarios and models. But it can easily be changed and is a starting point.

v5.2 adds TextToSpeech and Cross-Encoder pipelines. The performance of the embeddings.batchtransform method was significantly improved, enabling a speed up in building semantic graphs. Default configuration is now available for Embeddings, allowing an Embeddings instance to be created with no arguments like Pipelines.

Duckdb is on the roadmap. SQLite is the first implementation. The plan is to extend the interface for other database types, including Duckdb.

It's all local except for downloading the transformers models for vectorization. TRANSFORMERS_OFFLINE_MODE can be set and models downloaded manually for offline use.