Skip to content

Conversation

@ishaan-jaff
Copy link

@hamelsmu noticed you were using meta-llama/llama-2-7b-hf. I'm making this PR to add support for all text2text and text generation models on Hugging Face.
I noticed most HF text models had different Input chat formats and outputs were not consistent.

liteLLM allows you to call all HF models (and the above mentioned providers) with a standard Input/Output interface - in the chatGPT format
More info here: https://github.com/BerriAI/litellm/

@ishaan-jaff
Copy link
Author

@hamelsmu can you take a look at this PR when possible😊

Here's more info on how liteLLM works with HF models: https://docs.litellm.ai/docs/tutorials/huggingface_tutorial

@krrishdholakia
Copy link

Hi @hamelsmu we just added native support for Llama2's prompt formats, let me know if that helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants