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="omar81939/Ouro-1.4B-Thinking-depth-SFT", trust_remote_code=True)
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# Load model directly
from transformers import AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("omar81939/Ouro-1.4B-Thinking-depth-SFT", trust_remote_code=True, device_map="auto")
Quick Links

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

REPO = "omar81939/Ouro-1.4B-Thinking-depth-SFT"
DEPTH = 16

tokenizer = AutoTokenizer.from_pretrained(REPO)
model = AutoModelForCausalLM.from_pretrained(
    REPO,
    trust_remote_code=True,
    dtype="bfloat16",
    total_ut_steps=DEPTH,
)

With vLLM, set hf_overrides={"total_ut_steps": DEPTH} when creating the engine.

Downloads last month
29
Safetensors
Model size
1B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for omar81939/Ouro-1.4B-Thinking-depth-SFT

Finetuned
(5)
this model

Collection including omar81939/Ouro-1.4B-Thinking-depth-SFT