Downloads · 30 days
2
9% of all-time downloads
RichardErkhov/wkshin89_-_Yi-Ko-6B-Instruct-v1.1-4bits
wkshin89_-_Yi-Ko-6B-Instruct-v1.1-4bits 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
2
9% of all-time downloads
All-time downloads
23
Public
Parameters
6.3B
4.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors4.4 GB · 100%
How the weights are stored.
U85.5B · 88%
From the Hugging Face model README
Quantization made by Richard Erkhov.
Yi-Ko-6B-Instruct-v1.1 - bnb 4bits
license: cc-by-nc-4.0 datasets:
### User:
{instruction}
### Assistant:
{response}
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("wkshin89/Yi-Ko-6B-Instruct-v1.1")
model = AutoModelForCausalLM.from_pretrained(
"wkshin89/Yi-Ko-6B-Instruct-v1.1",
device_map="auto",
torch_dtype=torch.bfloat16,
)