Downloads · 30 days
10
4% of all-time downloads
shuyuej/llama2_7b_hf
llama2_7b_hf is a text generation model from shuyuej. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
<img width="784" alt="image" src="https://github.com/SuperBruceJia/vllm/assets/31528604/72463cf8-41ae-455b-8652-9925851cd03b"
Downloads · 30 days
10
4% of all-time downloads
All-time downloads
226
Public
Repo size
13.5 GB
Likes
1
Public
Click a slice to open those files.
.bin13.5 GB · 100%
From the Hugging Face model README
git clone https://github.com/facebookresearch/llama.git
cd llama/
./download.sh
<img width="784" alt="image" src="https://github.com/SuperBruceJia/vllm/assets/31528604/72463cf8-41ae-455b-8652-9925851cd03b">
pt filesgit clone https://github.com/huggingface/transformers.git
cp -r llama/tokenizer.model llama/llama-2-7b
cp -r llama/tokenizer_checklist.chk llama/llama-2-7b
mkdir llama/llama-2-7b-hf
python transformers/src/transformers/models/llama/convert_llama_weights_to_hf.py --input_dir llama/llama-2-7b --model_size 7B --output_dir llama/llama-2-7b-hf