Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Llama Recipes
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
MachineLearning
meta-llama
Llama Recipes
Commits
eb2ed73b
Commit
eb2ed73b
authored
1 year ago
by
sekyonda
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
7af5cc42
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+6
-3
6 additions, 3 deletions
README.md
with
6 additions
and
3 deletions
README.md
+
6
−
3
View file @
eb2ed73b
...
...
@@ -119,11 +119,14 @@ Given that the original checkpoint resides under models/7B you can install all r
```
bash
## Install HuggingFace Transformers from source
pip
install
git+https://github.com/huggingface/transformers
cd
transformers
pip freeze |
grep
transformers
## verify it is version 4.31.0 or higher
```
bash
git clone git@github.com:huggingface/transformers.git
cd transformers
pip install protobuf
python src/transformers/models/llama/convert_llama_weights_to_hf.py
\
--input_dir
/path/to/downloaded/llama/weights
--model_size
7B
--output_dir
models_hf/7B
--input_dir /path/to/downloaded/llama/weights --model_size 7B --output_dir
/output/path
```
# Repository Organization
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment