Giter VIP home page Giter VIP logo

rag_on_tabular_data_w_gemma_faiss_case's Introduction

Retrieve never-empty result from a tabular structured data with RAG, Gemma, embedding model, FAISS, Pandas.

  • Sometimes we need to retrieve something from a table. If there is corresponding result, that's perfectly good; but if not, we might also need something back because in some situations, people don't care what is exactly in it: 'Just gimme anything, but not too ridiculous, okay?'..
  • There are many ways to achieve that, to the knowledge of this repo's author. Even diffuison model has a say in this in terms of tabular data generation.
  • This repo, on the other hand, borrowed an existing database but originally not to this purpose --- this repository owes so much to jaydeepthik/Gemma-RAG. Chapeau, jaydeepthik!
  • RAG is so light compared against finetuning stuff.
  • Gemma has its 2b-it version, which is convenient and beautiful.
  • FAISS is also very light and convenient. Its installation avoid systematic sudo apt-get and other things. Usually people of 'just gimme anything' type are also hustlers, who is always impatient, you know what i'm sayin'?
  • Pandas is smooth tool for dataset.
  • You may now open 'Gemma_rag_procedures_fine_public.ipynb' to take a look. Hope this will inspire you.
  • My approach is basically to find the setup a subdatabase for FAISS that has as few columsn as possible in that I can make similarity of inputting commands with the actually-realted columns in the original database; otherwise, imagine when a simple command is compared to a document with 100 columns...The similarity check is done between them!

P.S. there is also a list of blogs that i gain help from:

rag_on_tabular_data_w_gemma_faiss_case's People

Contributors

shuyuew1991 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.