forked from phoenix/litellm-mirror
(docs) fix formatting
This commit is contained in:
parent
680bf6f110
commit
81becfa2ec
1 changed files with 4 additions and 2 deletions
|
@ -28,7 +28,8 @@ This will return the most recent log (by default logs are stored in a local file
|
||||||
As we can see, this is the formatting sent to huggingface:
|
As we can see, this is the formatting sent to huggingface:
|
||||||
|
|
||||||
<Image img={require('../../img/codellama_input.png')} />
|
<Image img={require('../../img/codellama_input.png')} />
|
||||||
-
|
|
||||||
|
|
||||||
This follows [our formatting](https://github.com/BerriAI/litellm/blob/9932371f883c55fd0f3142f91d9c40279e8fe241/litellm/llms/prompt_templates/factory.py#L10) for CodeLlama (based on the [Huggingface's documentation](https://huggingface.co/blog/codellama#conversational-instructions)).
|
This follows [our formatting](https://github.com/BerriAI/litellm/blob/9932371f883c55fd0f3142f91d9c40279e8fe241/litellm/llms/prompt_templates/factory.py#L10) for CodeLlama (based on the [Huggingface's documentation](https://huggingface.co/blog/codellama#conversational-instructions)).
|
||||||
|
|
||||||
But this lacks BOS(`<s>`) and EOS(`</s>`) tokens.
|
But this lacks BOS(`<s>`) and EOS(`</s>`) tokens.
|
||||||
|
@ -92,6 +93,7 @@ $ litellm --test
|
||||||
```
|
```
|
||||||
|
|
||||||
See our new input prompt to Huggingface!
|
See our new input prompt to Huggingface!
|
||||||
<Image img={require('../../img/codellama_formatted_input.png')} />
|
|
||||||
|
<Image img={require('../../img/codellama_formatted_input.png')} />
|
||||||
|
|
||||||
Congratulations 🎉
|
Congratulations 🎉
|
Loading…
Add table
Add a link
Reference in a new issue