How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="ResplendentAI/SOVL_Llama3_8B")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("ResplendentAI/SOVL_Llama3_8B")
model = AutoModelForCausalLM.from_pretrained("ResplendentAI/SOVL_Llama3_8B")
messages = [
    {"role": "user", "content": "Who are you?"},
]
inputs = tokenizer.apply_chat_template(
	messages,
	add_generation_prompt=True,
	tokenize=True,
	return_dict=True,
	return_tensors="pt",
).to(model.device)

outputs = model.generate(**inputs, max_new_tokens=40)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

SOVL

image/png

I'm not gonna tell you this is the best model anyone has ever made. I'm not going to tell you that you will love chatting with SOVL.

What I am gonna say is thank you for taking the time out of your day. Without users like you, my work would be meaningless.

Downloads last month
13
Safetensors
Model size
8B params
Tensor type
F16
Β·
Inference Providers NEW
Input a message to start chatting with ResplendentAI/SOVL_Llama3_8B.

Model tree for ResplendentAI/SOVL_Llama3_8B

Finetuned
(1)
this model
Merges
3 models
Quantizations
6 models

Spaces using ResplendentAI/SOVL_Llama3_8B 9