Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Llama3 cookbook #78

Merged
merged 2 commits into from
Apr 22, 2024
Merged

Llama3 cookbook #78

merged 2 commits into from
Apr 22, 2024

Conversation

anakin87
Copy link
Member

No description provided.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@TuanaCelik TuanaCelik merged commit 1afd41b into main Apr 22, 2024
@TuanaCelik TuanaCelik deleted the add-llama3 branch April 22, 2024 11:48
@lbux
Copy link

lbux commented Apr 22, 2024

Minor note, would it not make more sense to use the system tag for the content before the query and then use user tag for the query? I don't know if this has any impact on performance

<|begin_of_text|><|start_header_id|>system<|end_header_id|>


Using the information contained in the context, give a comprehensive answer to the question.
If the answer cannot be deduced from the context, do not give an answer.

Context:
  {% for doc in documents %}
  {{ doc.content }} URL:{{ doc.meta['url'] }}
  {% endfor %};
<|eot_id|>
<start_headerid|>user<|end_header_id|>
  Question: {{query}}<|eot_id|>

<|start_header_id|>assistant<|end_header_id|>

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.

None yet

3 participants