Skip to content

Commit

Permalink
fix: use llama3.1 as the default model for huggingface
Browse files Browse the repository at this point in the history
  • Loading branch information
Realiserad committed Sep 5, 2024
1 parent 15e7bbc commit 743324b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ configuration = huggingface
provider = huggingface
email = <your email>
password = <your password>
model = meta-llama/Meta-Llama-3.1-405B-Instruct-FP8
model = meta-llama/Meta-Llama-3.1-70B-Instruct
```

Available models are listed [here](https://huggingface.co/chat/models).
Expand Down
2 changes: 1 addition & 1 deletion src/fish_ai/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def get_response(messages):
cookies=cookies.get_dict(),
system_prompt=create_system_prompt(messages),
default_llm=get_config('model') or
'meta-llama/Meta-Llama-3.1-405B-Instruct-FP8')
'meta-llama/Meta-Llama-3.1-70B-Instruct')

response = bot.chat(
messages[-1].get('content')).wait_until_done().strip(' `')
Expand Down

0 comments on commit 743324b

Please sign in to comment.