Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandeep42 committed Sep 17, 2024
1 parent 1c30718 commit 70256bd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
13 changes: 8 additions & 5 deletions machine_learning_with_python/05.llms.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1479,12 +1479,15 @@
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "1334a233-14af-4c60-be1e-59a8f28163bc",
"cell_type": "markdown",
"id": "ff97b77a-b92e-49e0-b64a-8afc9f803935",
"metadata": {},
"outputs": [],
"source": []
"source": [
"* LLama models change positional embeddings to RoPE: RoPE incorporates position information directly into the attention mechanism by rotating the input embeddings in a way that allows the model to capture relative positional relationships, rather than absolute ones. This makes the model more efficient at handling long-range dependencies.\n",
"* LLama uses prenormalization unlike GPT.\n",
"* Custom tokenizer with support for tokens in other langugages.\n",
"* Large context length with the recent Llama3: 128k"
]
}
],
"metadata": {
Expand Down
5 changes: 4 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ matplotlib
numpy
ghp-import
scipy
scikit-learn
scikit-learn
torch
langchain_core
langchain_groq

0 comments on commit 70256bd

Please sign in to comment.