openai-cookbook
openai-python
openai-cookbook | openai-python | |
---|---|---|
215 | 61 | |
55,954 | 19,930 | |
1.0% | 3.2% | |
9.5 | 9.6 | |
6 days ago | 5 days ago | |
MDX | Python | |
MIT License | 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.
openai-cookbook
-
Question-Answer System Architectures using LLMs
A pretrained LLM is a closed-book system: It can only access information that it was trained on. With domain fine-tuning, the system manifests additional material. An early prototype of this technique was shown in this OpenAi cookbook: For the target domain, text was embedded using an API, and then when using the LLM, embeddings were retrieved using semantic similarity search to formulate an answer. Although this approach evolved to retrieval-augmented generation, its still a technique to adapt a Gen2 (2020) or Gen3 (2022) LLM into a question-answering system.
-
Ask HN: High quality Python scripts or small libraries to learn from
https://github.com/openai/openai-cookbook/blob/main/examples...
- Collection of notebooks showcasing some fun and effective ways of using Claude
- OpenAI Cookbook: Techniques to improve reliability
- OpenAI Cookbooks
-
How to fine tune vit/convnet to focus on the layout of the input room image and ignore other things ?
It sounds like you are trying to tweak embeddings for similarity search. Rather than fine-tune the model's layers, you may want to try training a linear transformation the existing model's output embedding. Openai has a cookbook on how to do that. You will need some data though - but I think you can try it with ~20 pieces of synthetically generated data.
-
Best base model 1B or 7B for full finetuning
tutorial from OpenAI https://github.com/openai/openai-cookbook/blob/main/examples/Question_answering_using_embeddings.ipynb
-
Resources to learn ChatGPT and the OpenAI API
OpenAI Cookbook
- OpenAI Cookbook
-
Another Major Outage Across ChatGPT and API
OpenAI community repo with lots of examples: https://github.com/openai/openai-cookbook
openai-python
- The Stainless SDK Generator
-
GPT-4 Turbo with Vision is a step backwards for coding
The ongoing model anchoring/grounding issue likely affects all GPT-4 checkpoints/variants, but is most prominent with the latest "gpt-4-turbo-2024-04-09" variant due to its most recent cutoff date, might imply deeper issues with the current model architecture, or at least how it's been updated:
https://github.com/openai/openai-python/issues/1310
See also the original thread on OpenAI's developer forums (linked on the GitHub issue) with confirmations from others.
A test code snippet is included in the GitHub issue to A/B test the problem yourself with your own questions if need be.
-
Show HN: GritQL, a Rust CLI for rewriting source code
- Iterate on large codebases quickly: we use Rust for maximum performance
GritQL has already been used on thousands of repositories for complex migrations[1] but we're excited to collaborate more with the open source community.
[1] Ex. https://github.com/openai/openai-python/discussions/742
-
Integrating AI chatbotπ© into your application in 2024 π§π»ββοΈπ is how easy? π€
Explore OpenAI and learn how to easily integrate it into your existing application with the OpenAI Python module.
-
Need Help with OpenAI Upgrade: Seeking Guidance on 'openai.Completion' Deprecation Error
You tried to access openai.Completion, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API. You can run `openai migrate` to automatically upgrade your codebase to use the 1.0.0 interface. Alternatively, you can pin your installation to the old version, e.g. `pip install openai==0.28` A detailed migration guide is available here: https://github.com/openai/openai-python/discussions/742
-
Anthropic announces Claude 2.1 β 200k context, less refusals
Relatedly, I checked and OpenAI deleted all references to their ChatML spec from their GitHub repo.
This is what it said in an earlier commit: https://github.com/openai/openai-python/blob/2942bf4bb635b1e...
-
Web scraping experiment with AI (Parsing HTML with GPT-4)
Make sure to install the OpenAI library first. Since I'm using Python, I need
-
OpenAI: "We are dealing with periodic outages due to an abnormal traffic pattern reflective of a DDoS attack"
Source: https://github.com/openai/openai-python/discussions/742
- GitHub - openai/openai-python: The official Python library for the OpenAI API
- OpenAI Python v1 Released
What are some alternatives?
langchain - β‘ Building applications with LLMs through composability β‘ [Moved to: https://github.com/langchain-ai/langchain]
whisper.cpp - Port of OpenAI's Whisper model in C/C++
gpt4-pdf-chatbot-langchain - GPT4 & LangChain Chatbot for large PDF docs
chatgpt-retrieval-plugin - The ChatGPT Retrieval Plugin lets you easily find personal or work documents by asking questions in natural language.
langchain - π¦π Build context-aware reasoning applications
askai - Command Line Interface for OpenAi ChatGPT
openai-node - The official Node.js / Typescript library for the OpenAI API
gpt_index - LlamaIndex (GPT Index) is a project that provides a central interface to connect your LLM's with external data. [Moved to: https://github.com/jerryjliu/llama_index]
ChatGPT-AutoExpert - ππ§ π¬ Supercharged Custom Instructions for ChatGPT (non-coding) and ChatGPT Advanced Data Analysis (coding).
txtai - π‘ All-in-one open-source embeddings database for semantic search, LLM orchestration and language model workflows
sharegpt - Easily share permanent links to ChatGPT conversations with your friends