├── .gitignore ├── Cargo.toml ├── README.md ├── crane-core ├── Cargo.toml └── src │ ├── autotokenizer.rs │ ├── bins.rs │ ├── chat.rs │ ├── error.rs │ ├── generation │ ├── based.rs │ ├── mod.rs │ └── streamer.rs │ ├── lib.rs │ ├── models │ ├── conn_ve_llm.rs │ ├── mod.rs │ ├── moonshine_asr.rs │ ├── namo2.rs │ ├── orpheus.rs │ ├── qwen25.rs │ ├── qwen25_vit.rs │ ├── qwen3.rs │ ├── qwen3_vl.rs │ ├── siglip2.rs │ ├── silero_vad.rs │ ├── snac_onnx.rs │ └── sparktts.rs │ └── utils │ ├── candle_utils.rs │ ├── mod.rs │ ├── token_output_stream.rs │ └── utils.rs ├── crane-oai ├── Cargo.toml └── src │ ├── main.rs │ └── openai_api.rs ├── crane ├── Cargo.toml └── src │ ├── audio │ └── asr.rs │ └── demos │ ├── deepseek │ └── main.rs │ ├── example │ └── main.rs │ ├── llmbench │ └── main.rs │ ├── moonshine_asr.rs │ ├── qwenchat │ └── main.rs │ ├── server │ └── main.rs │ └── sparktts │ └── main.rs ├── data ├── .gitignore ├── aa.gif ├── prompt_audio.wav └── zero_shot_prompt.wav ├── example ├── Cargo.toml └── src │ └── test.rs └── scripts ├── export_onnx_snac.py ├── speed_torch.py ├── test_moonshine.py └── test_orpheus.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/.gitignore -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/Cargo.toml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/README.md -------------------------------------------------------------------------------- /crane-core/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane-core/Cargo.toml -------------------------------------------------------------------------------- /crane-core/src/autotokenizer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane-core/src/autotokenizer.rs -------------------------------------------------------------------------------- /crane-core/src/bins.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane-core/src/bins.rs -------------------------------------------------------------------------------- /crane-core/src/chat.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane-core/src/chat.rs -------------------------------------------------------------------------------- /crane-core/src/error.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crane-core/src/generation/based.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane-core/src/generation/based.rs -------------------------------------------------------------------------------- /crane-core/src/generation/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane-core/src/generation/mod.rs -------------------------------------------------------------------------------- /crane-core/src/generation/streamer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane-core/src/generation/streamer.rs -------------------------------------------------------------------------------- /crane-core/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane-core/src/lib.rs -------------------------------------------------------------------------------- /crane-core/src/models/conn_ve_llm.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane-core/src/models/conn_ve_llm.rs -------------------------------------------------------------------------------- /crane-core/src/models/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane-core/src/models/mod.rs -------------------------------------------------------------------------------- /crane-core/src/models/moonshine_asr.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane-core/src/models/moonshine_asr.rs -------------------------------------------------------------------------------- /crane-core/src/models/namo2.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane-core/src/models/namo2.rs -------------------------------------------------------------------------------- /crane-core/src/models/orpheus.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane-core/src/models/orpheus.rs -------------------------------------------------------------------------------- /crane-core/src/models/qwen25.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane-core/src/models/qwen25.rs -------------------------------------------------------------------------------- /crane-core/src/models/qwen25_vit.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crane-core/src/models/qwen3.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane-core/src/models/qwen3.rs -------------------------------------------------------------------------------- /crane-core/src/models/qwen3_vl.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crane-core/src/models/siglip2.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane-core/src/models/siglip2.rs -------------------------------------------------------------------------------- /crane-core/src/models/silero_vad.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane-core/src/models/silero_vad.rs -------------------------------------------------------------------------------- /crane-core/src/models/snac_onnx.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane-core/src/models/snac_onnx.rs -------------------------------------------------------------------------------- /crane-core/src/models/sparktts.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crane-core/src/utils/candle_utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane-core/src/utils/candle_utils.rs -------------------------------------------------------------------------------- /crane-core/src/utils/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane-core/src/utils/mod.rs -------------------------------------------------------------------------------- /crane-core/src/utils/token_output_stream.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane-core/src/utils/token_output_stream.rs -------------------------------------------------------------------------------- /crane-core/src/utils/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane-core/src/utils/utils.rs -------------------------------------------------------------------------------- /crane-oai/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane-oai/Cargo.toml -------------------------------------------------------------------------------- /crane-oai/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /crane-oai/src/openai_api.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crane/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane/Cargo.toml -------------------------------------------------------------------------------- /crane/src/audio/asr.rs: -------------------------------------------------------------------------------- 1 | // provide basic ASR Ai ability 2 | -------------------------------------------------------------------------------- /crane/src/demos/deepseek/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane/src/demos/deepseek/main.rs -------------------------------------------------------------------------------- /crane/src/demos/example/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane/src/demos/example/main.rs -------------------------------------------------------------------------------- /crane/src/demos/llmbench/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane/src/demos/llmbench/main.rs -------------------------------------------------------------------------------- /crane/src/demos/moonshine_asr.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane/src/demos/moonshine_asr.rs -------------------------------------------------------------------------------- /crane/src/demos/qwenchat/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane/src/demos/qwenchat/main.rs -------------------------------------------------------------------------------- /crane/src/demos/server/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/crane/src/demos/server/main.rs -------------------------------------------------------------------------------- /crane/src/demos/sparktts/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | 3 | } -------------------------------------------------------------------------------- /data/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/data/.gitignore -------------------------------------------------------------------------------- /data/aa.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/data/aa.gif -------------------------------------------------------------------------------- /data/prompt_audio.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/data/prompt_audio.wav -------------------------------------------------------------------------------- /data/zero_shot_prompt.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/data/zero_shot_prompt.wav -------------------------------------------------------------------------------- /example/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/example/Cargo.toml -------------------------------------------------------------------------------- /example/src/test.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /scripts/export_onnx_snac.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/scripts/export_onnx_snac.py -------------------------------------------------------------------------------- /scripts/speed_torch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/scripts/speed_torch.py -------------------------------------------------------------------------------- /scripts/test_moonshine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/scripts/test_moonshine.py -------------------------------------------------------------------------------- /scripts/test_orpheus.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/Crane/HEAD/scripts/test_orpheus.py --------------------------------------------------------------------------------