Skip to content

Commit

Permalink
Llama 3.1 Fireworks.ai
Browse files Browse the repository at this point in the history
  • Loading branch information
svilupp authored Jul 24, 2024
1 parent d34dfb7 commit 7ac7b37
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

## [0.43.0]

### Added
- Added Llama 3.1 registry records for Fireworks.ai (alias `fllama3`, `fllama370`, `fllama3405` and `fls`, `flm`, `fll` for small/medium/large similar to the other providers).

## [0.42.0]

### Added
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PromptingTools"
uuid = "670122d1-24a8-4d70-bfce-740807c42192"
authors = ["J S @svilupp and contributors"]
version = "0.42.0"
version = "0.43.0"

[deps]
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
Expand Down
24 changes: 24 additions & 0 deletions src/user_preferences.jl
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,12 @@ aliases = merge(
## f-mixtral -> Fireworks.ai Mixtral
"fmixtral" => "accounts/fireworks/models/mixtral-8x7b-instruct",
"firefunction" => "accounts/fireworks/models/firefunction-v1",
"fllama3" => "accounts/fireworks/models/llama-v3p1-8b-instruct",
"fllama370" => "accounts/fireworks/models/llama-v3p1-70b-instruct",
"fllama3405" => "accounts/fireworks/models/llama-v3p1-405b-instruct",
"fls" => "accounts/fireworks/models/llama-v3p1-8b-instruct", #s for small
"flm" => "accounts/fireworks/models/llama-v3p1-70b-instruct", #m for medium
"fll" => "accounts/fireworks/models/llama-v3p1-405b-instruct", #l for large
## t-mixtral -> Together.ai Mixtral
"tmixtral" => "mistralai/Mixtral-8x7B-Instruct-v0.1",
"tmixtral22" => "mistralai/Mixtral-8x22B-Instruct-v0.1",
Expand Down Expand Up @@ -657,6 +663,24 @@ registry = Dict{String, ModelSpec}(
0.0, #unknown, expected to be the same as Mixtral
0.0, #unknown, expected to be the same as Mixtral
"Fireworks' open-source function calling model (fine-tuned Mixtral). Useful for `aiextract` calls. For more information, see [models](https://fireworks.ai/models/fireworks/firefunction-v1)."),
"accounts/fireworks/models/llama-v3p1-405b-instruct" => ModelSpec(
"accounts/fireworks/models/llama-v3p1-405b-instruct",
FireworksOpenAISchema(),
3e-6,
3e-6,
"Meta Llama 3.1 405b, hosted by Fireworks.ai. Context 131K tokens. For more information, see [models](https://fireworks.ai/models/fireworks/llama-v3p1-405b-instruct)."),
"accounts/fireworks/models/llama-v3p1-70b-instruct" => ModelSpec(
"accounts/fireworks/models/llama-v3p1-70b-instruct",
FireworksOpenAISchema(),
9e-7,
9e-7,
"Meta Llama 3.1 70b, hosted by Fireworks.ai. Context 131K tokens. For more information, see [models](https://fireworks.ai/models/fireworks/llama-v3p1-70b-instruct)."),
"accounts/fireworks/models/llama-v3p1-8b-instruct" => ModelSpec(
"accounts/fireworks/models/llama-v3p1-8b-instruct",
FireworksOpenAISchema(),
2e-7,
2e-7,
"Meta Llama 3.1 8b, hosted by Fireworks.ai. Context 131K tokens. For more information, see [models](https://fireworks.ai/models/fireworks/llama-v3p1-8b-instruct)."),
## Together AI
"mistralai/Mixtral-8x7B-Instruct-v0.1" => ModelSpec(
"mistralai/Mixtral-8x7B-Instruct-v0.1",
Expand Down

2 comments on commit 7ac7b37

@svilupp
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register

Release notes:

Added

  • Added Llama 3.1 registry records for Fireworks.ai (alias fllama3, fllama370, fllama3405 and fls, flm, fll for small/medium/large similar to the other providers).

Commits

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/111654

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.43.0 -m "<description of version>" 7ac7b371f5e9b6cfcab44cfcbc489b7fefba77dc
git push origin v0.43.0

Please sign in to comment.