Downloads · 30 days
122
4% of all-time downloads
RichardErkhov/pinkyponky_-_SOLAR-10.7B-dpo-instruct-tuned-v0.1-gguf
pinkyponky_-_SOLAR-10.7B-dpo-instruct-tuned-v0.1-gguf 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
122
4% of all-time downloads
All-time downloads
2.9K
Public
Repo size
122 GB
Likes
0
Public
Click a slice to open those files.
.gguf141 GB · 100%
From the Hugging Face model README
Quantization made by Richard Erkhov.
SOLAR-10.7B-dpo-instruct-tuned-v0.1 - GGUF
Description to load and test will be added soon. More details on training and data will be added aswell.
Use the following Python code to load the model:
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("pinkyponky/SOLAR-10.7B-dpo-instruct-tuned-v0.1")
model = AutoModelForCausalLM.from_pretrained(
"Upstage/SOLAR-10.7B-v1.0",
device_map="auto",
torch_dtype=torch.bfloat16,
)
To generate text, use the following Python code:
text = "Hi, my name is "
inputs = tokenizer(text, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=64)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))