Instructions to use noor-raghib-12/orpheus_3b_sft_fp32 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use noor-raghib-12/orpheus_3b_sft_fp32 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="noor-raghib-12/orpheus_3b_sft_fp32")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("noor-raghib-12/orpheus_3b_sft_fp32") model = AutoModelForCausalLM.from_pretrained("noor-raghib-12/orpheus_3b_sft_fp32", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use noor-raghib-12/orpheus_3b_sft_fp32 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "noor-raghib-12/orpheus_3b_sft_fp32" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "noor-raghib-12/orpheus_3b_sft_fp32", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/noor-raghib-12/orpheus_3b_sft_fp32
- SGLang
How to use noor-raghib-12/orpheus_3b_sft_fp32 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "noor-raghib-12/orpheus_3b_sft_fp32" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "noor-raghib-12/orpheus_3b_sft_fp32", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "noor-raghib-12/orpheus_3b_sft_fp32" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "noor-raghib-12/orpheus_3b_sft_fp32", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use noor-raghib-12/orpheus_3b_sft_fp32 with Docker Model Runner:
docker model run hf.co/noor-raghib-12/orpheus_3b_sft_fp32
orpheus_3b_sft_fp32
This model is a fine-tuned version of canopylabs/orpheus-3b-0.1-pretrained on 'SUST-CSE-Speech/banspeech' dataset. Training was ran for 10 epochs on an A100PCE. It achieves the following results on the evaluation set:
- Loss: 1.0226
The training scripts were forked from the original repo to include eval steps. Fork can be cloned from: Github DISCLAIMER: This model is only to signify the functioning of the training scripts for SFT, as most lean towards the Unsloth alternative, model will be improved on more datasets for better results on Bangla TTS.
Model Details
Model Capabilities
- Human-Like Speech: Minimally fine-tune to produce natural intonation, emotion, and rhythm that is superior to SOTA closed source models
- Zero-Shot Voice Cloning: Clone voices without prior fine-tuning
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 1
- eval_batch_size: 1
- seed: 42
- optimizer: ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 10
Training results
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.9649 | 0.3092 | 2000 | 1.2818 |
| 0.5303 | 0.6184 | 4000 | 1.1270 |
| 0.9436 | 0.9276 | 6000 | 1.0226 |
Framework versions
- Transformers 4.55.1
- Pytorch 2.7.1+cu126
- Datasets 4.0.0
- Tokenizers 0.21.4
- Downloads last month
- 8
Model tree for noor-raghib-12/orpheus_3b_sft_fp32
Base model
meta-llama/Llama-3.2-3B-Instruct