andreasjansson / synth-one-liner
Generate "algorithmic symphony" one-liners with grammar-constrained CodeLlama
- Public
- 207 runs
-
L40S
- GitHub
Prediction
andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bfIDobmnmmdbj5xm4rrjdb5jxlul2iStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- duration
- 20
{ "duration": 20 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run andreasjansson/synth-one-liner using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf", { input: { duration: 20 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run andreasjansson/synth-one-liner using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf", input={ "duration": 20 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run andreasjansson/synth-one-liner using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf", "input": { "duration": 20 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
audio
Video Player is loading.Current Time 00:00:000/Duration 00:00:000Loaded: 0%Stream Type LIVERemaining Time -00:00:0001x- Chapters
- descriptions off, selected
- captions settings, opens captions settings dialog
- captions off, selected
This is a modal window.
Beginning of dialog window. Escape will cancel and close the window.
End of dialog window.
sample_expression
sample=t*((t>>9)^((t>>9)-1)){ "completed_at": "2023-09-18T00:00:21.318579Z", "created_at": "2023-09-18T00:00:19.671140Z", "data_removed": false, "error": null, "id": "obmnmmdbj5xm4rrjdb5jxlul2i", "input": { "duration": 20 }, "logs": "Llama.generate: prefix-match hit\nllama_print_timings: load time = 288.32 ms\nllama_print_timings: sample time = 231.41 ms / 17 runs ( 13.61 ms per token, 73.46 tokens per second)\nllama_print_timings: prompt eval time = 0.00 ms / 1 tokens ( 0.00 ms per token, inf tokens per second)\nllama_print_timings: eval time = 269.28 ms / 17 runs ( 15.84 ms per token, 63.13 tokens per second)\nllama_print_timings: total time = 552.34 ms", "metrics": { "predict_time": 1.637678, "total_time": 1.647439 }, "output": { "audio": "https://replicate.delivery/pbxt/BtO6PEykZ8JFHJD9x0ZtAKfc8rl3WKCUYdBMNejqf9XpooKjA/out.wav", "sample_expression": "sample=t*((t>>9)^((t>>9)-1))" }, "started_at": "2023-09-18T00:00:19.680901Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/obmnmmdbj5xm4rrjdb5jxlul2i", "cancel": "https://api.replicate.com/v1/predictions/obmnmmdbj5xm4rrjdb5jxlul2i/cancel" }, "version": "22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf" }
Generated inLlama.generate: prefix-match hit llama_print_timings: load time = 288.32 ms llama_print_timings: sample time = 231.41 ms / 17 runs ( 13.61 ms per token, 73.46 tokens per second) llama_print_timings: prompt eval time = 0.00 ms / 1 tokens ( 0.00 ms per token, inf tokens per second) llama_print_timings: eval time = 269.28 ms / 17 runs ( 15.84 ms per token, 63.13 tokens per second) llama_print_timings: total time = 552.34 ms
Prediction
andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bfIDbhhbwftbmm6rxxflfm52pkf57qStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- duration
- 20
{ "duration": 20 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run andreasjansson/synth-one-liner using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf", { input: { duration: 20 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run andreasjansson/synth-one-liner using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf", input={ "duration": 20 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run andreasjansson/synth-one-liner using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf", "input": { "duration": 20 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
audio
Video Player is loading.Current Time 00:00:000/Duration 00:00:000Loaded: 0%Stream Type LIVERemaining Time -00:00:0001x- Chapters
- descriptions off, selected
- captions settings, opens captions settings dialog
- captions off, selected
This is a modal window.
Beginning of dialog window. Escape will cancel and close the window.
End of dialog window.
sample_expression
sample=(t*256)>>(t>>9){ "completed_at": "2023-09-18T00:01:04.090713Z", "created_at": "2023-09-18T00:01:02.550735Z", "data_removed": false, "error": null, "id": "bhhbwftbmm6rxxflfm52pkf57q", "input": { "duration": 20 }, "logs": "Llama.generate: prefix-match hit\nllama_print_timings: load time = 288.32 ms\nllama_print_timings: sample time = 173.66 ms / 14 runs ( 12.40 ms per token, 80.62 tokens per second)\nllama_print_timings: prompt eval time = 0.00 ms / 1 tokens ( 0.00 ms per token, inf tokens per second)\nllama_print_timings: eval time = 222.03 ms / 14 runs ( 15.86 ms per token, 63.06 tokens per second)\nllama_print_timings: total time = 437.32 ms", "metrics": { "predict_time": 1.528822, "total_time": 1.539978 }, "output": { "audio": "https://replicate.delivery/pbxt/O9PAubhfZvwZH6fOWvPTibaKZloUwFduVV81vOkq2OSfpoKjA/out.wav", "sample_expression": "sample=(t*256)>>(t>>9)" }, "started_at": "2023-09-18T00:01:02.561891Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/bhhbwftbmm6rxxflfm52pkf57q", "cancel": "https://api.replicate.com/v1/predictions/bhhbwftbmm6rxxflfm52pkf57q/cancel" }, "version": "22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf" }
Generated inLlama.generate: prefix-match hit llama_print_timings: load time = 288.32 ms llama_print_timings: sample time = 173.66 ms / 14 runs ( 12.40 ms per token, 80.62 tokens per second) llama_print_timings: prompt eval time = 0.00 ms / 1 tokens ( 0.00 ms per token, inf tokens per second) llama_print_timings: eval time = 222.03 ms / 14 runs ( 15.86 ms per token, 63.06 tokens per second) llama_print_timings: total time = 437.32 ms
Prediction
andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bfID3kx6mslbzfkyvmqeuba3j6obfaStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- duration
- 20
{ "duration": 20 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run andreasjansson/synth-one-liner using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf", { input: { duration: 20 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run andreasjansson/synth-one-liner using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf", input={ "duration": 20 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run andreasjansson/synth-one-liner using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf", "input": { "duration": 20 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
audio
Video Player is loading.Current Time 00:00:000/Duration 00:00:000Loaded: 0%Stream Type LIVERemaining Time -00:00:0001x- Chapters
- descriptions off, selected
- captions settings, opens captions settings dialog
- captions off, selected
This is a modal window.
Beginning of dialog window. Escape will cancel and close the window.
End of dialog window.
sample_expression
sample=t*((t>>5)|(t>>8)){ "completed_at": "2023-09-18T00:04:02.967330Z", "created_at": "2023-09-18T00:04:01.364579Z", "data_removed": false, "error": null, "id": "3kx6mslbzfkyvmqeuba3j6obfa", "input": { "duration": 20 }, "logs": "Llama.generate: prefix-match hit\nllama_print_timings: load time = 288.32 ms\nllama_print_timings: sample time = 220.90 ms / 18 runs ( 12.27 ms per token, 81.49 tokens per second)\nllama_print_timings: prompt eval time = 0.00 ms / 1 tokens ( 0.00 ms per token, inf tokens per second)\nllama_print_timings: eval time = 285.05 ms / 18 runs ( 15.84 ms per token, 63.15 tokens per second)\nllama_print_timings: total time = 559.34 ms", "metrics": { "predict_time": 1.654106, "total_time": 1.602751 }, "output": { "audio": "https://replicate.delivery/pbxt/0GEaimh1VJogGdEc1jflo8f3GL3NWdnQrgo7VKgcN2HyXUlRA/out.wav", "sample_expression": "sample=t*((t>>5)|(t>>8))" }, "started_at": "2023-09-18T00:04:01.313224Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/3kx6mslbzfkyvmqeuba3j6obfa", "cancel": "https://api.replicate.com/v1/predictions/3kx6mslbzfkyvmqeuba3j6obfa/cancel" }, "version": "22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf" }
Generated inLlama.generate: prefix-match hit llama_print_timings: load time = 288.32 ms llama_print_timings: sample time = 220.90 ms / 18 runs ( 12.27 ms per token, 81.49 tokens per second) llama_print_timings: prompt eval time = 0.00 ms / 1 tokens ( 0.00 ms per token, inf tokens per second) llama_print_timings: eval time = 285.05 ms / 18 runs ( 15.84 ms per token, 63.15 tokens per second) llama_print_timings: total time = 559.34 ms
Prediction
andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bfIDlagsd43brudkczfcvu2w5samiaStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- duration
- 20
{ "duration": 20 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run andreasjansson/synth-one-liner using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf", { input: { duration: 20 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run andreasjansson/synth-one-liner using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf", input={ "duration": 20 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run andreasjansson/synth-one-liner using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf", "input": { "duration": 20 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
audio
Video Player is loading.Current Time 00:00:000/Duration 00:00:000Loaded: 0%Stream Type LIVERemaining Time -00:00:0001x- Chapters
- descriptions off, selected
- captions settings, opens captions settings dialog
- captions off, selected
This is a modal window.
Beginning of dialog window. Escape will cancel and close the window.
End of dialog window.
sample_expression
sample=(t>>4)|((t%3)*(t>>4)){ "completed_at": "2023-09-18T00:05:48.202309Z", "created_at": "2023-09-18T00:05:46.569376Z", "data_removed": false, "error": null, "id": "lagsd43brudkczfcvu2w5samia", "input": { "duration": 20 }, "logs": "Llama.generate: prefix-match hit\nllama_print_timings: load time = 288.32 ms\nllama_print_timings: sample time = 226.09 ms / 17 runs ( 13.30 ms per token, 75.19 tokens per second)\nllama_print_timings: prompt eval time = 0.00 ms / 1 tokens ( 0.00 ms per token, inf tokens per second)\nllama_print_timings: eval time = 269.82 ms / 17 runs ( 15.87 ms per token, 63.01 tokens per second)\nllama_print_timings: total time = 548.16 ms", "metrics": { "predict_time": 1.640972, "total_time": 1.632933 }, "output": { "audio": "https://replicate.delivery/pbxt/nVSIVsWV63KYARRMfUOfnbiESLmbufRbze6SiGqVK7LvlRVGB/out.wav", "sample_expression": "sample=(t>>4)|((t%3)*(t>>4))" }, "started_at": "2023-09-18T00:05:46.561337Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/lagsd43brudkczfcvu2w5samia", "cancel": "https://api.replicate.com/v1/predictions/lagsd43brudkczfcvu2w5samia/cancel" }, "version": "22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf" }
Generated inLlama.generate: prefix-match hit llama_print_timings: load time = 288.32 ms llama_print_timings: sample time = 226.09 ms / 17 runs ( 13.30 ms per token, 75.19 tokens per second) llama_print_timings: prompt eval time = 0.00 ms / 1 tokens ( 0.00 ms per token, inf tokens per second) llama_print_timings: eval time = 269.82 ms / 17 runs ( 15.87 ms per token, 63.01 tokens per second) llama_print_timings: total time = 548.16 ms
Prediction
andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bfID2wr3jrlbpeawutfyv4nzpr6jymStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- duration
- 20
{ "duration": 20 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run andreasjansson/synth-one-liner using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf", { input: { duration: 20 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run andreasjansson/synth-one-liner using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf", input={ "duration": 20 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run andreasjansson/synth-one-liner using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf", "input": { "duration": 20 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
audio
Video Player is loading.Current Time 00:00:000/Duration 00:00:000Loaded: 0%Stream Type LIVERemaining Time -00:00:0001x- Chapters
- descriptions off, selected
- captions settings, opens captions settings dialog
- captions off, selected
This is a modal window.
Beginning of dialog window. Escape will cancel and close the window.
End of dialog window.
sample_expression
sample=(t*((t>>9)|(t>>13)))^(t&t){ "completed_at": "2023-09-18T00:07:06.828674Z", "created_at": "2023-09-18T00:07:04.911829Z", "data_removed": false, "error": null, "id": "2wr3jrlbpeawutfyv4nzpr6jym", "input": { "duration": 20 }, "logs": "Llama.generate: prefix-match hit\nllama_print_timings: load time = 288.32 ms\nllama_print_timings: sample time = 354.87 ms / 25 runs ( 14.19 ms per token, 70.45 tokens per second)\nllama_print_timings: prompt eval time = 0.00 ms / 1 tokens ( 0.00 ms per token, inf tokens per second)\nllama_print_timings: eval time = 396.11 ms / 25 runs ( 15.84 ms per token, 63.11 tokens per second)\nllama_print_timings: total time = 824.52 ms", "metrics": { "predict_time": 1.919068, "total_time": 1.916845 }, "output": { "audio": "https://replicate.delivery/pbxt/v0SnE1vXQgYfISGn8CLAnRXS3br087l7w7xfEBzKbO2qaUlRA/out.wav", "sample_expression": "sample=(t*((t>>9)|(t>>13)))^(t&t)" }, "started_at": "2023-09-18T00:07:04.909606Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/2wr3jrlbpeawutfyv4nzpr6jym", "cancel": "https://api.replicate.com/v1/predictions/2wr3jrlbpeawutfyv4nzpr6jym/cancel" }, "version": "22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf" }
Generated inLlama.generate: prefix-match hit llama_print_timings: load time = 288.32 ms llama_print_timings: sample time = 354.87 ms / 25 runs ( 14.19 ms per token, 70.45 tokens per second) llama_print_timings: prompt eval time = 0.00 ms / 1 tokens ( 0.00 ms per token, inf tokens per second) llama_print_timings: eval time = 396.11 ms / 25 runs ( 15.84 ms per token, 63.11 tokens per second) llama_print_timings: total time = 824.52 ms
Prediction
andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bfIDh4u2k73bcv72mmxiycmo67ajaeStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- duration
- 60
{ "duration": 60 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run andreasjansson/synth-one-liner using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf", { input: { duration: 60 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run andreasjansson/synth-one-liner using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf", input={ "duration": 60 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run andreasjansson/synth-one-liner using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf", "input": { "duration": 60 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
audio
Video Player is loading.Current Time 00:00:000/Duration 00:00:000Loaded: 0%Stream Type LIVERemaining Time -00:00:0001x- Chapters
- descriptions off, selected
- captions settings, opens captions settings dialog
- captions off, selected
This is a modal window.
Beginning of dialog window. Escape will cancel and close the window.
End of dialog window.
sample_expression
sample=(t>>4)|t{ "completed_at": "2023-09-18T00:08:34.640460Z", "created_at": "2023-09-18T00:08:33.101195Z", "data_removed": false, "error": null, "id": "h4u2k73bcv72mmxiycmo67ajae", "input": { "duration": 60 }, "logs": "Llama.generate: prefix-match hit\nllama_print_timings: load time = 288.32 ms\nllama_print_timings: sample time = 103.04 ms / 8 runs ( 12.88 ms per token, 77.64 tokens per second)\nllama_print_timings: prompt eval time = 0.00 ms / 1 tokens ( 0.00 ms per token, inf tokens per second)\nllama_print_timings: eval time = 126.99 ms / 8 runs ( 15.87 ms per token, 63.00 tokens per second)\nllama_print_timings: total time = 255.38 ms", "metrics": { "predict_time": 1.539749, "total_time": 1.539265 }, "output": { "audio": "https://replicate.delivery/pbxt/LgDBmFBOx1LWINvH6bB4ODF4NhTi66UGmbjiflgoljkAOqyIA/out.wav", "sample_expression": "sample=(t>>4)|t" }, "started_at": "2023-09-18T00:08:33.100711Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/h4u2k73bcv72mmxiycmo67ajae", "cancel": "https://api.replicate.com/v1/predictions/h4u2k73bcv72mmxiycmo67ajae/cancel" }, "version": "22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf" }
Generated inLlama.generate: prefix-match hit llama_print_timings: load time = 288.32 ms llama_print_timings: sample time = 103.04 ms / 8 runs ( 12.88 ms per token, 77.64 tokens per second) llama_print_timings: prompt eval time = 0.00 ms / 1 tokens ( 0.00 ms per token, inf tokens per second) llama_print_timings: eval time = 126.99 ms / 8 runs ( 15.87 ms per token, 63.00 tokens per second) llama_print_timings: total time = 255.38 ms
Prediction
andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bfIDppl3qw3bumspv4gunpo5j74y3yStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- duration
- 60
{ "duration": 60 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run andreasjansson/synth-one-liner using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf", { input: { duration: 60 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run andreasjansson/synth-one-liner using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf", input={ "duration": 60 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run andreasjansson/synth-one-liner using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf", "input": { "duration": 60 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
audio
Video Player is loading.Current Time 00:00:000/Duration 00:00:000Loaded: 0%Stream Type LIVERemaining Time -00:00:0001x- Chapters
- descriptions off, selected
- captions settings, opens captions settings dialog
- captions off, selected
This is a modal window.
Beginning of dialog window. Escape will cancel and close the window.
End of dialog window.
sample_expression
sample=(t*((t>>9)|(t>>13)))^((t>>10)&457){ "completed_at": "2023-09-18T00:10:13.054934Z", "created_at": "2023-09-18T00:10:10.804975Z", "data_removed": false, "error": null, "id": "ppl3qw3bumspv4gunpo5j74y3y", "input": { "duration": 60 }, "logs": "Llama.generate: prefix-match hit\nllama_print_timings: load time = 288.32 ms\nllama_print_timings: sample time = 389.78 ms / 27 runs ( 14.44 ms per token, 69.27 tokens per second)\nllama_print_timings: prompt eval time = 0.00 ms / 1 tokens ( 0.00 ms per token, inf tokens per second)\nllama_print_timings: eval time = 428.73 ms / 27 runs ( 15.88 ms per token, 62.98 tokens per second)\nllama_print_timings: total time = 897.97 ms", "metrics": { "predict_time": 2.192358, "total_time": 2.249959 }, "output": { "audio": "https://replicate.delivery/pbxt/kjWFMbQkqaJcPxw4hyxywna3e4ENv2hSPkbA0FrcjzAyOqyIA/out.wav", "sample_expression": "sample=(t*((t>>9)|(t>>13)))^((t>>10)&457)" }, "started_at": "2023-09-18T00:10:10.862576Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ppl3qw3bumspv4gunpo5j74y3y", "cancel": "https://api.replicate.com/v1/predictions/ppl3qw3bumspv4gunpo5j74y3y/cancel" }, "version": "22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf" }
Generated inLlama.generate: prefix-match hit llama_print_timings: load time = 288.32 ms llama_print_timings: sample time = 389.78 ms / 27 runs ( 14.44 ms per token, 69.27 tokens per second) llama_print_timings: prompt eval time = 0.00 ms / 1 tokens ( 0.00 ms per token, inf tokens per second) llama_print_timings: eval time = 428.73 ms / 27 runs ( 15.88 ms per token, 62.98 tokens per second) llama_print_timings: total time = 897.97 ms
Prediction
andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bfID3vs52atbshfdpbdpzg7k2cnk7aStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- duration
- 20
{ "duration": 20 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run andreasjansson/synth-one-liner using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf", { input: { duration: 20 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run andreasjansson/synth-one-liner using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf", input={ "duration": 20 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run andreasjansson/synth-one-liner using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "andreasjansson/synth-one-liner:22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf", "input": { "duration": 20 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
audio
Video Player is loading.Current Time 00:00:000/Duration 00:00:000Loaded: 0%Stream Type LIVERemaining Time -00:00:0001x- Chapters
- descriptions off, selected
- captions settings, opens captions settings dialog
- captions off, selected
This is a modal window.
Beginning of dialog window. Escape will cancel and close the window.
End of dialog window.
sample_expression
sample=t*(((t>>9)|(t>>13))&(25&(t>>6))){ "completed_at": "2023-09-18T02:00:56.175101Z", "created_at": "2023-09-18T02:00:54.251690Z", "data_removed": false, "error": null, "id": "3vs52atbshfdpbdpzg7k2cnk7a", "input": { "duration": 20 }, "logs": "Llama.generate: prefix-match hit\nllama_print_timings: load time = 295.05 ms\nllama_print_timings: sample time = 271.52 ms / 29 runs ( 9.36 ms per token, 106.81 tokens per second)\nllama_print_timings: prompt eval time = 0.00 ms / 1 tokens ( 0.00 ms per token, inf tokens per second)\nllama_print_timings: eval time = 499.29 ms / 29 runs ( 17.22 ms per token, 58.08 tokens per second)\nllama_print_timings: total time = 832.57 ms", "metrics": { "predict_time": 1.933731, "total_time": 1.923411 }, "output": { "audio": "https://replicate.delivery/pbxt/yZtVTecjSB34NSPOPcZXIDW6PAZ61xTsBeO3zydYoxOXFWlRA/out.wav", "sample_expression": "sample=t*(((t>>9)|(t>>13))&(25&(t>>6)))" }, "started_at": "2023-09-18T02:00:54.241370Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/3vs52atbshfdpbdpzg7k2cnk7a", "cancel": "https://api.replicate.com/v1/predictions/3vs52atbshfdpbdpzg7k2cnk7a/cancel" }, "version": "22869a120d3f509488d2917210b96db58dbf16cf0dbd77e506dac3e0bdab24bf" }
Generated inLlama.generate: prefix-match hit llama_print_timings: load time = 295.05 ms llama_print_timings: sample time = 271.52 ms / 29 runs ( 9.36 ms per token, 106.81 tokens per second) llama_print_timings: prompt eval time = 0.00 ms / 1 tokens ( 0.00 ms per token, inf tokens per second) llama_print_timings: eval time = 499.29 ms / 29 runs ( 17.22 ms per token, 58.08 tokens per second) llama_print_timings: total time = 832.57 ms
Want to make some of these yourself?
Run this model