Skip to content

Commit

Permalink
add gpt-4-turbo-2024-04-09
Browse files Browse the repository at this point in the history
  • Loading branch information
pkelaita committed Apr 12, 2024
1 parent 0492a11 commit 2f74597
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 14 deletions.
29 changes: 16 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,22 @@

L2M2 currently supports the following models:

| Provider | Model Name | Model Version |
| -------------------------------------------- | ----------------- | -------------------------- |
| [`openai`](https://openai.com/product) | `gpt-4-turbo` | `gpt-4-0125-preview` |
| [`google`](https://ai.google.dev/) | `gemini-1.5-pro` | `gemini-1.5-pro-latest` |
| [`google`](https://ai.google.dev/) | `gemini-1.0-pro` | `gemini-1.0-pro-latest` |
| [`anthropic`](https://www.anthropic.com/api) | `claude-3-opus` | `claude-3-opus-20240229` |
| [`anthropic`](https://www.anthropic.com/api) | `claude-3-sonnet` | `claude-3-sonnet-20240229` |
| [`anthropic`](https://www.anthropic.com/api) | `claude-3-haiku` | `claude-3-haiku-20240307` |
| [`cohere`](https://docs.cohere.com/) | `command-r` | `command-r` |
| [`cohere`](https://docs.cohere.com/) | `command-r-plus` | `command-r-plus` |
| [`groq`](https://wow.groq.com/) | `llama2-70b` | `llama2-70b-4096` |
| [`groq`](https://wow.groq.com/) | `mixtral-8x7b` | `mixtral-8x7b-32768` |
| [`groq`](https://wow.groq.com/) | `gemma-7b` | `gemma-7b-it` |
| Provider | Model Name | Model Version |
| -------------------------------------------- | ------------------ | -------------------------- |
| [`openai`](https://openai.com/product) | `gpt-4-turbo` | `gpt-4-turbo-2024-04-09` |
| [`openai`](https://openai.com/product) | `gpt-4-turbo-0125` | `gpt-4-0125-preview` |
| [`google`](https://ai.google.dev/) | `gemini-1.5-pro` | `gemini-1.5-pro-latest` |
| [`google`](https://ai.google.dev/) | `gemini-1.0-pro` | `gemini-1.0-pro-latest` |
| [`anthropic`](https://www.anthropic.com/api) | `claude-3-opus` | `claude-3-opus-20240229` |
| [`anthropic`](https://www.anthropic.com/api) | `claude-3-sonnet` | `claude-3-sonnet-20240229` |
| [`anthropic`](https://www.anthropic.com/api) | `claude-3-haiku` | `claude-3-haiku-20240307` |
| [`cohere`](https://docs.cohere.com/) | `command-r` | `command-r` |
| [`cohere`](https://docs.cohere.com/) | `command-r-plus` | `command-r-plus` |
| [`groq`](https://wow.groq.com/) | `llama2-70b` | `llama2-70b-4096` |
| [`groq`](https://wow.groq.com/) | `mixtral-8x7b` | `mixtral-8x7b-32768` |
| [`groq`](https://wow.groq.com/) | `gemma-7b` | `gemma-7b-it` |

|

## Installation

Expand Down
5 changes: 5 additions & 0 deletions l2m2/llm_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@

_MODEL_INFO = {
"gpt-4-turbo": {
"provider": "openai",
"model_id": "gpt-4-turbo-2024-04-09",
"provider_homepage": "https://openai.com/product",
},
"gpt-4-turbo-0125": {
"provider": "openai",
"model_id": "gpt-4-0125-preview",
"provider_homepage": "https://openai.com/product",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "l2m2"
authors = [{ name = "Pierce Kelaita", email = "[email protected]" }]
description = "A very simple LLM manager for Python."
version = "0.0.8"
version = "0.0.9"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.12"
Expand Down

0 comments on commit 2f74597

Please sign in to comment.