How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "vanillaOVO/supermario_v4"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "vanillaOVO/supermario_v4",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
Use Docker
docker model run hf.co/vanillaOVO/supermario_v4
Quick Links

This is a merge of pre-trained language models created based on DARE using mergekit.

More descriptions of the model will be added soon.

Loading the Model

Use the following Python code to load the model:

import torch
from transformers import MistralForCausalLM, AutoTokenizer

model = MistralForCausalLM.from_pretrained("vanillaOVO/supermario_v4", device_map="auto")
tokenizer = AutoTokenizer.from_pretrained("vanillaOVO/supermario_v4")

Generating Text

To generate text, use the following Python code:

text = "Large language models are "
inputs = tokenizer(text, return_tensors="pt")

outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Downloads last month
84
Safetensors
Model size
7B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for vanillaOVO/supermario_v4

Merges
15 models
Quantizations
1 model

Paper for vanillaOVO/supermario_v4