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-to-speech", model="nytopop/3b_or_base")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("nytopop/3b_or_base")
model = AutoModelForCausalLM.from_pretrained("nytopop/3b_or_base")
Quick Links

noteworthy changes

  • tokenizer omits <|audio|> to prevent finetunes resizing the embeddings unneccessarily
  • config.json uses the correct EOS to end generation on end of audio
  • generation_config.json uses the correct EOS to end generation on end of audio + has a reasonable default temperature
  • chat_template.jinja maps user messages to transcripts and assistant messages to audio for simple conversational context management
Downloads last month
1
Safetensors
Model size
3B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for nytopop/3b_or_base

Finetuned
(88)
this model
Quantizations
1 model