CoolFace
Modelpublic

RichardErkhov/guardrail_-_llama-2-7b-guanaco-instruct-sharded-8bits

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes13downloads
Model Card

Quantization made by Richard Erkhov.

Github

Discord

Request more models

llama-2-7b-guanaco-instruct-sharded - bnb 8bits

  • —Model creator: https://huggingface.co/guardrail/
  • —Original model: https://huggingface.co/guardrail/llama-2-7b-guanaco-instruct-sharded/

Original model description: --- license: apache-2.0 datasets:

  • —timdettmers/openassistant-guanaco pipeline_tag: text-generation --- 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)