Downloads · 30 days
55
0% of all-time downloads
guardrail/llama-2-7b-guanaco-instruct-sharded
llama-2-7b-guanaco-instruct-sharded is a text generation model from guardrail. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
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.
Downloads · 30 days
55
0% of all-time downloads
All-time downloads
58.4K
Public
Parameters
6.7B
27 GB on disk
Likes
8
Public
Click a slice to open those files.
.safetensors27 GB · 100%
From the Hugging Face model README
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)