Skip to content

Commit

Permalink
[models] update groq models
Browse files Browse the repository at this point in the history
  • Loading branch information
pkelaita committed Sep 30, 2024
1 parent 3a7414f commit d9f2364
Showing 1 changed file with 78 additions and 2 deletions.
80 changes: 78 additions & 2 deletions l2m2/model_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,9 +455,25 @@ class ModelEntry(TypedDict):
"extras": {},
},
},
"gemma-2-9b": {
"groq": {
"model_id": "gemma2-9b-it",
"params": {
"temperature": {
"default": PROVIDER_DEFAULT,
"max": 2.0,
},
"max_tokens": {
"default": PROVIDER_DEFAULT,
"max": 2**16 - 1,
},
},
"extras": {},
},
},
"llama-3-8b": {
"groq": {
"model_id": "llama-3-8b-8192",
"model_id": "llama3-8b-8192",
"params": {
"temperature": {
"default": PROVIDER_DEFAULT,
Expand Down Expand Up @@ -488,7 +504,7 @@ class ModelEntry(TypedDict):
},
"llama-3-70b": {
"groq": {
"model_id": "llama-3-70b-8192",
"model_id": "llama3-70b-8192",
"params": {
"temperature": {
"default": PROVIDER_DEFAULT,
Expand Down Expand Up @@ -546,6 +562,20 @@ class ModelEntry(TypedDict):
},
"extras": {},
},
"groq": {
"model_id": "llama-3.1-8b-instant",
"params": {
"temperature": {
"default": PROVIDER_DEFAULT,
"max": 2.0,
},
"max_tokens": {
"default": PROVIDER_DEFAULT,
"max": 8000,
},
},
"extras": {},
},
},
"llama-3.1-70b": {
"octoai": {
Expand All @@ -562,6 +592,20 @@ class ModelEntry(TypedDict):
},
"extras": {},
},
"groq": {
"model_id": "llama-3.1-70b-versatile",
"params": {
"temperature": {
"default": PROVIDER_DEFAULT,
"max": 2.0,
},
"max_tokens": {
"default": PROVIDER_DEFAULT,
"max": 8000,
},
},
"extras": {},
},
},
"llama-3.1-405b": {
"replicate": {
Expand Down Expand Up @@ -594,4 +638,36 @@ class ModelEntry(TypedDict):
"extras": {},
},
},
"llama-3.2-1b": {
"groq": {
"model_id": "llama-3.2-1b-preview",
"params": {
"temperature": {
"default": PROVIDER_DEFAULT,
"max": 2.0,
},
"max_tokens": {
"default": PROVIDER_DEFAULT,
"max": 2**13,
},
},
"extras": {"preview": True},
},
},
"llama-3.2-3b": {
"groq": {
"model_id": "llama-3.2-3b-preview",
"params": {
"temperature": {
"default": PROVIDER_DEFAULT,
"max": 2.0,
},
"max_tokens": {
"default": PROVIDER_DEFAULT,
"max": 2**13,
},
},
"extras": {"preview": True},
},
},
}

0 comments on commit d9f2364

Please sign in to comment.