Downloads · 30 days
2
8% of all-time downloads
RichardErkhov/heegyu_-_WizardVicuna-open-llama-3b-v2-4bits
heegyu_-_WizardVicuna-open-llama-3b-v2-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
8% of all-time downloads
All-time downloads
25
Public
Parameters
3.5B
2.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.2 GB · 100%
How the weights are stored.
U83.2B · 93%
From the Hugging Face model README
Quantization made by Richard Erkhov.
WizardVicuna-open-llama-3b-v2 - bnb 4bits
datasets:
Hyperparameters
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("heegyu/WizardVicuna-open-llama-3b-v2")
model = AutoModelForCausalLM.from_pretrained("heegyu/WizardVicuna-open-llama-3b-v2")
inputs = tokenizer(["Human: Hi, nice to meet you!\n\nAssistant: "], return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=16)
print(tokenizer.batch_decode(outputs, skip_special_tokens=False))
output: ['Human: Hi, nice to meet you!\n\nAssistant: Hello. Great to meet you too. Well, how can I assist you today?<|endoftext|>']