Downloads · 30 days
157
0% of all-time downloads
NewstaR/Porpoise-6b-instruct
Porpoise-6b-instruct is a text generation model from NewstaR. Use it when you need the model to write or continue text. It is set up for transformers.
This model is a finetuned version of the DeciLM-6b-instruct on the Dolphin GPT4 Dataset
Downloads · 30 days
157
0% of all-time downloads
All-time downloads
55.5K
Public
Repo size
11.4 GB
Likes
1
Public
Click a slice to open those files.
.bin11.4 GB · 100%
From the Hugging Face model README
This model is a finetuned version of the DeciLM-6b-instruct on the Dolphin GPT4 Dataset
Please set naive_attention_prefill to true when loading this model.
Example:
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig, AutoTokenizer
model_name = "NewstaR/Porpoise-6b-instruct"
bnb_config = BitsAndBytesConfig(
load_in_4bit=True,
bnb_4bit_quant_type="nf4",
bnb_4bit_compute_dtype=torch.float16,
)
model = AutoModelForCausalLM.from_pretrained(
model_name,
quantization_config=bnb_config,
trust_remote_code=True,
naive_attention_prefill=True,
)
model.config.use_cache = False