omar81939's picture
Simplify model card to usage
a712daf verified
|
Raw History Blame Contribute Delete
606 Bytes
metadata
license: apache-2.0
base_model: ByteDance/Ouro-1.4B-Thinking
library_name: transformers
pipeline_tag: text-generation
tags:
  - looped-language-model
  - recurrent-depth
  - sft
  - math

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.