OpenAI Switch Kit: Swap OpenAI with any open-source model

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • litellm

    Call all LLM APIs using the OpenAI format. Use Bedrock, Azure, OpenAI, Cohere, Anthropic, Ollama, Sagemaker, HuggingFace, Replicate (100+ LLMs)

  • Another abstraction layer library is: https://github.com/BerriAI/litellm

    For me the killer feature of a library like this would be if it implemented function calling. Even if it was for a very restricted grammar - like the traditional ReAct prompt:

      Solve a question answering task with interleaving Thought, Action, Observation   usteps. Thought can reason about the current situation, and Action can be three types:

  • LocalAI

    :robot: The free, Open Source OpenAI alternative. Self-hosted, community-driven and local-first. Drop-in replacement for OpenAI running on consumer-grade hardware. No GPU required. Runs gguf, transformers, diffusers and many more models architectures. It allows to generate Text, Audio, Video, Images. Also with voice cloning capabilities.

  • LocalAI can do that: https://github.com/mudler/LocalAI

    https://localai.io/features/openai-functions/

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • OpenPipe

    Turn expensive prompts into cheap fine-tuned models

  • The problem is that most non-OpenAI models haven't actually been fine-tuned with function calling in mind, and getting a model to output function-calling-like syntax without having been trained on it is quite unreliable. There are a few alternatives that have been (OpenHermes 2.5 has some function calling in its dataset and does a decent job with it, and the latest Claude does as well), but for now it just doesn't work great.

    That said, it's not that hard to fine-tune a model to understand function calling -- we do that as part of all of our OpenPipe fine tunes, and you can see the serialization method we use here: https://github.com/OpenPipe/OpenPipe/blob/main/app/src/model...

    It isn't particularly difficult, and I'd expect more general-purpose fine-tunes will start doing something similar as they get more mature!

  • oobabooga-jsonformer-plugin

    This plugin forces models to output JSON of a specified schema using JSONFormer

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • OpenAI: Improvements to the fine-tuning API and expanding our cus

    1 project | news.ycombinator.com | 4 Apr 2024
  • Fine Tuning LLMs to Process Massive Amounts of Data 50x Cheaper than GPT-4

    3 projects | dev.to | 8 Jan 2024
  • Show HN: Automatically convert your GPT-3.5 prompt to Llama 2

    1 project | news.ycombinator.com | 9 Aug 2023
  • Join the Prompt Engineering World Championships -- Kickoff August 14, $15,000 prize!

    1 project | /r/ChatGPT | 4 Aug 2023
  • Meta Llama 3

    10 projects | news.ycombinator.com | 18 Apr 2024