Downloads · 30 days
240
3% of all-time downloads
RichardErkhov/guardrail_-_llama-2-7b-guanaco-instruct-sharded-gguf
guardrail_-_llama-2-7b-guanaco-instruct-sharded-gguf is a machine learning model from RichardErkhov. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
240
3% of all-time downloads
All-time downloads
8.8K
Public
Repo size
76.6 GB
Likes
0
Public
Click a slice to open those files.
.gguf88.7 GB · 100%
From the Hugging Face model README
Quantization made by Richard Erkhov.
llama-2-7b-guanaco-instruct-sharded - GGUF
license: apache-2.0 datasets:
Model that is fine-tuned in 4-bit precision using QLoRA on timdettmers/openassistant-guanaco and sharded to be used on a free Google Colab instance that can be loaded with 4bits.
It can be easily imported using the AutoModelForCausalLM class from transformers:
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained(
"guardrail/llama-2-7b-guanaco-instruct-sharded",
load_in_4bit=True)
tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)