Downloads · 30 days
142
3% of all-time downloads
iandennismiller/LLama-2-MedText-13b-GGUF
LLama-2-MedText-13b-GGUF is a text generation model from iandennismiller. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as cc-by-nc-4.0.
Quantized GGUF of https://huggingface.co/truehealth/LLama-2-MedText-13b
Downloads · 30 days
142
3% of all-time downloads
All-time downloads
4.6K
Public
Repo size
64.9 GB
Likes
4
Public
Click a slice to open those files.
.gguf64.9 GB · 100%
From the Hugging Face model README
Quantized GGUF of https://huggingface.co/truehealth/LLama-2-MedText-13b
Interactive llama.cpp session:
llama-cpp \
--instruct \
--color \
--in-prefix "[INST] " \
--in-suffix "[\INST] " \
--model LLama-2-MedText-13b-q8_0.gguf
== Running in interactive mode. ==
- Press Ctrl+C to interject at any time.
- Press Return to return control to LLaMa.
- To return control without starting a new line, end your input with '/'.
- If you want to submit another line, end your input with '\'.
> [INST] How confident are you in your knowledge and abilities?
[\INST] [RSP] As an AI language model, I can provide information to the best of my ability based on the resources I was trained on, which were primarily before <DATE>. While I strive to provide useful and accurate responses, my knowledge is not infinite, and I might not be able to provide professional medical advice or predictions in all cases. Additionally, healthcare decisions should always be evaluated in the context of an individual's unique circumstances and should be evaluated by a healthcare professional.
Trained on https://huggingface.co/datasets/BI55/MedText.
These are PEFT delta weights and need to be merged into LLama-2-13b to be used for inference.
library_name: peft
Training procedure
The following bitsandbytes quantization config was used during training:
Framework versions
This example demonstrates using hfdownloader to download a torch model from HF to ./storage
./hfdownloader -m truehealth/LLama-2-MedText-13b
If necessary, install hfdownloader from https://github.com/bodaay/HuggingFaceModelDownloader
bash <(curl -sSL https://raw.githubusercontent.com/bodaay/HuggingFaceModelDownloader/master/scripts/gist_gethfd.sh) -h
Quantize directly to q8_0
llama.cpp/convert.py --outtype q8_0 --outfile LLama-2-MedText-13b-q8_0.gguf ./models/Storage/truehealth_LLama-2-MedText-13b/pytorch_model-00001-of-00003.bin
First convert to f32 GGUF
llama.cpp/convert.py --outtype f32 --outfile LLama-2-MedText-13b-f32.gguf ./models/Storage/truehealth_LLama-2-MedText-13b/pytorch_model-00001-of-00003.bin
Then quantize f32 GGUF to lower bit resolutions
llama.cpp/build/bin/quantize LLama-2-MedText-13b-f32.gguf LLama-2-MedText-13b-Q3_K_L.gguf Q3_K_L
llama.cpp/build/bin/quantize LLama-2-MedText-13b-f32.gguf LLama-2-MedText-13b-Q6_K.gguf Q6_K
mkvirtualenv -p `which python3.11` -a . ${PWD##*/}
python -m pip install huggingface_hub
huggingface-cli login
huggingface-cli lfs-enable-largefiles .