Find answers from the community

Updated 3 months ago

Llama2

hi all I'm wondering if it might be straightforward to do a q&a implementation of llama2 instead of gpt-x usiing llamaindex?
L
v
2 comments
We have a demo here using a llama2 instance from Replicate

https://github.com/jerryjliu/llama_index/blob/main/docs/examples/vector_stores/SimpleIndexDemoLlama2.ipynb

Note the llama utils extra functions imported to transform the prompts

It's really important llama-2 prompts are formatted proper we found
https://github.com/jerryjliu/llama_index/blob/main/llama_index/llms/llama_utils.py
Thats actually really good to know. thanks a lot
Add a reply
Sign up and join the conversation on Discord