mradermacher/nebula-8lang-1.5b-i1-GGUF
2B • Updated • 1.43k
messages listlengths 3 3 |
|---|
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic JavaScript code. Output only the JavaScript code, no explanations."
},
{
"role": "user",
"content": "def _interop_require_default(obj):\n return ... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Rust code. Output only the Rust code, no explanations."
},
{
"role": "user",
"content": "def c_row(row: Int, value: Int) -> Constraint:\n constra... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic C code. Output only the C code, no explanations."
},
{
"role": "user",
"content": "JNIEXPORT void\ndef java_org_lwjgl_opengl_gl41_ngl_vertex_attri... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic TypeScript code. Output only the TypeScript code, no explanations."
},
{
"role": "user",
"content": "network_selector_ui := (:\n network,\n netw... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Swift code. Output only the Swift code, no explanations."
},
{
"role": "user",
"content": "private fn get_id(of value: Value, in scope: Schedule? ... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Go code. Output only the Go code, no explanations."
},
{
"role": "user",
"content": "impl Topic:\n def xxx_discard_unknown(self):\n xxx_messag... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic TypeScript code. Output only the TypeScript code, no explanations."
},
{
"role": "user",
"content": "return promise\n .then( (data: any) => ([dat... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Swift code. Output only the Swift code, no explanations."
},
{
"role": "user",
"content": "def setup_love_count_cell_view(_ cell_view: LoveCountTr... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Kotlin code. Output only the Kotlin code, no explanations."
},
{
"role": "user",
"content": "private fn check_enough_ex(index: Int,count:Int):Bool... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Swift code. Output only the Swift code, no explanations."
},
{
"role": "user",
"content": "def pinch_zoom_view(_ pinch_zoom_view: PinchZoomView, d... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Swift code. Output only the Swift code, no explanations."
},
{
"role": "user",
"content": "def test_init_form_hex():\nhex = \"fffe6400\"\nstr = St... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic C code. Output only the C code, no explanations."
},
{
"role": "user",
"content": "def tp_release_pool(pool: TP_POOL) -> VOID:\n struct threadpoo... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Swift code. Output only the Swift code, no explanations."
},
{
"role": "user",
"content": "def map[U](_ transform: @escaping (element) throws -> U... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic TypeScript code. Output only the TypeScript code, no explanations."
},
{
"role": "user",
"content": "binding_layouts := array_copy(a.binding_layou... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Go code. Output only the Go code, no explanations."
},
{
"role": "user",
"content": "impl DeleteDocumentationVersionInput:\n def set_rest_api_id(... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic TypeScript code. Output only the TypeScript code, no explanations."
},
{
"role": "user",
"content": "return dispatch =>:\n dispatch(_reset_cafe()... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic JavaScript code. Output only the JavaScript code, no explanations."
},
{
"role": "user",
"content": "def cleanup():\n tmp_folder = grunt.config(\... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic TypeScript code. Output only the TypeScript code, no explanations."
},
{
"role": "user",
"content": "view := or:\n obs.value = obs.value or 321\n... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Swift code. Output only the Swift code, no explanations."
},
{
"role": "user",
"content": "public fn send(envelope: SentryEnvelope):\nlast_sent_en... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Python code. Output only the Python code, no explanations."
},
{
"role": "user",
"content": "def may_raise_exception(self, exception_type):\n r... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Swift code. Output only the Swift code, no explanations."
},
{
"role": "user",
"content": "public fn !=(lhs: Column, rhs: Predicate[filter,scalar_... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic JavaScript code. Output only the JavaScript code, no explanations."
},
{
"role": "user",
"content": "def update_in_deep_map(existing, key_path_ite... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic JavaScript code. Output only the JavaScript code, no explanations."
},
{
"role": "user",
"content": "def normalize(v, vmin, vmax, tmin, tmax):\n ... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic TypeScript code. Output only the TypeScript code, no explanations."
},
{
"role": "user",
"content": "return (\n <svg\n width={props.size or DE... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Python code. Output only the Python code, no explanations."
},
{
"role": "user",
"content": "def test_login_jwt_invalid_signature(self) -> None:\n... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic JavaScript code. Output only the JavaScript code, no explanations."
},
{
"role": "user",
"content": "begin_dispute_message := |bot, buyer, seller,... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Go code. Output only the Go code, no explanations."
},
{
"role": "user",
"content": "impl entryPredicate:\n def set_schema_p(self, schema_p: Entr... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Kotlin code. Output only the Kotlin code, no explanations."
},
{
"role": "user",
"content": "def log_message(msg: Str):\nprint(\"Running on: List ... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Rust code. Output only the Rust code, no explanations."
},
{
"role": "user",
"content": "def variable_lengths():\n assert_eqnot (to_bytes(vecnot ... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Go code. Output only the Go code, no explanations."
},
{
"role": "user",
"content": "def test_format_float(t: TestingT):\n tests = [{f: 0, s: \"0... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Rust code. Output only the Rust code, no explanations."
},
{
"role": "user",
"content": "pub fn get_scaling_mode('env self) -> __jni_bindgen.std.r... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic C code. Output only the C code, no explanations."
},
{
"role": "user",
"content": "{\"q_dot_pc_min\", (getter)outputs_get_q_dot_pc_min,(setter)0,\... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic TypeScript code. Output only the TypeScript code, no explanations."
},
{
"role": "user",
"content": "def add(a:number, b:number):\n return a + b"... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Python code. Output only the Python code, no explanations."
},
{
"role": "user",
"content": "def test_client_error(client):\n try:\n cli... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Go code. Output only the Go code, no explanations."
},
{
"role": "user",
"content": "impl BaseKeeper:\n def get_denom_meta_data(self, ctx: SdkCon... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Go code. Output only the Go code, no explanations."
},
{
"role": "user",
"content": "impl GetExportInput:\n def validate(self) -> error:\n inv... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Python code. Output only the Python code, no explanations."
},
{
"role": "user",
"content": "def mix_mode(self):\n return self._mix_modes.selec... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Go code. Output only the Go code, no explanations."
},
{
"role": "user",
"content": "impl CreateAuthorizerInput:\n def validate(self) -> error:\n... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic JavaScript code. Output only the JavaScript code, no explanations."
},
{
"role": "user",
"content": "def ws(opts):\n _this\n _class_call_check(s... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Swift code. Output only the Swift code, no explanations."
},
{
"role": "user",
"content": "internal fn has_medium_header_or_larger() -> Bool:\nspl... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Python code. Output only the Python code, no explanations."
},
{
"role": "user",
"content": "def get(self):\n return self.type(self.value)"
}... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Rust code. Output only the Rust code, no explanations."
},
{
"role": "user",
"content": "def decode(decoder: D) -> Result[self, D.error]:\n #\n ... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Rust code. Output only the Rust code, no explanations."
},
{
"role": "user",
"content": "pub fn set_status(self, input: std.option.crate.model.que... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Go code. Output only the Go code, no explanations."
},
{
"role": "user",
"content": "impl fakeNetworkDispatcher:\n def deliver_network_packet(sel... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic JavaScript code. Output only the JavaScript code, no explanations."
},
{
"role": "user",
"content": "def change_point_radius(radius):\n d3.select... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic C code. Output only the C code, no explanations."
},
{
"role": "user",
"content": "def VL_AND_W(words: Int, owp: WDataOutP, lwp: WDataInP, rwp: WD... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Python code. Output only the Python code, no explanations."
},
{
"role": "user",
"content": "def point_cloud_vs_model_err(points: np.ndarray, mode... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Rust code. Output only the Rust code, no explanations."
},
{
"role": "user",
"content": "pub fn get_canvas(self) -> Arc[mutex[canvas]]:\n arc.clo... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Swift code. Output only the Swift code, no explanations."
},
{
"role": "user",
"content": "public fn _settings(fo uri: DocumentURI) -> FileBuildSe... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Python code. Output only the Python code, no explanations."
},
{
"role": "user",
"content": "def test_unit_multiple_possible_equivalencies(self):\... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Rust code. Output only the Rust code, no explanations."
},
{
"role": "user",
"content": "def fmt(self, f: fmt.formatter['_]) -> Result[(), fmt.Err... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic JavaScript code. Output only the JavaScript code, no explanations."
},
{
"role": "user",
"content": "pause_gm := |name, callback, assets_to_fetch_... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Go code. Output only the Go code, no explanations."
},
{
"role": "user",
"content": "impl ProtocolGuessingDecoder:\n def decode(self, data: List,... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Rust code. Output only the Rust code, no explanations."
},
{
"role": "user",
"content": "pub fn set_bot_version(self, input: std.option.std.string... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic JavaScript code. Output only the JavaScript code, no explanations."
},
{
"role": "user",
"content": "parse_response := function (response):\n dat... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Kotlin code. Output only the Kotlin code, no explanations."
},
{
"role": "user",
"content": "private fn start():\nHandler().post_delayed(:\nstart_... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Rust code. Output only the Rust code, no explanations."
},
{
"role": "user",
"content": "pub fn phone_config(self, inp: crate.model.user_phone_con... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic JavaScript code. Output only the JavaScript code, no explanations."
},
{
"role": "user",
"content": "def assert(condition, message):\n if not con... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Go code. Output only the Go code, no explanations."
},
{
"role": "user",
"content": "def new_promised_client(hook: ClientHook) -> (Client, ClientP... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Go code. Output only the Go code, no explanations."
},
{
"role": "user",
"content": "impl Catalog:\n def auth(self, username: Str, password: Str)... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Python code. Output only the Python code, no explanations."
},
{
"role": "user",
"content": "def _active_mounts(ret):\n // \n // List active... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic TypeScript code. Output only the TypeScript code, no explanations."
},
{
"role": "user",
"content": "add_item_influence := |item: Item, influence_... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic TypeScript code. Output only the TypeScript code, no explanations."
},
{
"role": "user",
"content": "def render_event_row(idx, event):\n if event... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic JavaScript code. Output only the JavaScript code, no explanations."
},
{
"role": "user",
"content": "def number_with_dot(x):\n return x.str().rep... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Python code. Output only the Python code, no explanations."
},
{
"role": "user",
"content": "def init_logger():\n system_log.handlers = [stderr... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic JavaScript code. Output only the JavaScript code, no explanations."
},
{
"role": "user",
"content": "def get_text_for_accelerator(accelerator):\n ... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Rust code. Output only the Rust code, no explanations."
},
{
"role": "user",
"content": "def codegen_unit(self) -> 'tcx CodegenUnit['tcx]:\n self... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic C code. Output only the C code, no explanations."
},
{
"role": "user",
"content": "def adjust_recv_window_size(recv_window_size_ptr: Int32_t, delt... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Kotlin code. Output only the Kotlin code, no explanations."
},
{
"role": "user",
"content": "def security_enabled(security_enabled: Bool):\nsave_p... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic JavaScript code. Output only the JavaScript code, no explanations."
},
{
"role": "user",
"content": "if (not element.get_attribute):\n return fal... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Rust code. Output only the Rust code, no explanations."
},
{
"role": "user",
"content": "pub fn max_results(self, input: Int) -> Self:\n self.max... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic TypeScript code. Output only the TypeScript code, no explanations."
},
{
"role": "user",
"content": "console.log(\"Attempting to fix wrong cppStan... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Kotlin code. Output only the Kotlin code, no explanations."
},
{
"role": "user",
"content": "private fn update_list_view():\nquery = firebase_data... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Python code. Output only the Python code, no explanations."
},
{
"role": "user",
"content": "def _iter_not_link_block(self, direction = \"next\", ... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Kotlin code. Output only the Kotlin code, no explanations."
},
{
"role": "user",
"content": "def check_pay_helper_method():\niou := IOUState(10.DO... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic C code. Output only the C code, no explanations."
},
{
"role": "user",
"content": "smp_append_sign(struct smp_signctx *ctx, const void *ptr, uint3... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic JavaScript code. Output only the JavaScript code, no explanations."
},
{
"role": "user",
"content": "def q(a, d):\n if m.remove_event_listener { ... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Rust code. Output only the Rust code, no explanations."
},
{
"role": "user",
"content": "pub fn next_token(self, inp: impl into[std.string.String]... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic C code. Output only the C code, no explanations."
},
{
"role": "user",
"content": "def clear_tag():\n tag_.clear_to_empty(.google.protobuf.intern... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Go code. Output only the Go code, no explanations."
},
{
"role": "user",
"content": "def test_build_daisy_vars_with_compute_service_account(t: Tes... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Rust code. Output only the Rust code, no explanations."
},
{
"role": "user",
"content": "pub fn with_start_date(self, start_date: NaiveDate) -> Se... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Swift code. Output only the Swift code, no explanations."
},
{
"role": "user",
"content": "private fn upload_image(ui_image: UIImage, _ place: Pla... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic TypeScript code. Output only the TypeScript code, no explanations."
},
{
"role": "user",
"content": "def is_change_in_index(status_code: Str):\n ... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Kotlin code. Output only the Kotlin code, no explanations."
},
{
"role": "user",
"content": "def start_and_quit():\nreader.input_command(\"quit\")... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Rust code. Output only the Rust code, no explanations."
},
{
"role": "user",
"content": "def remove(self, key: K) -> Int:\n distance := K.calc_di... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic JavaScript code. Output only the JavaScript code, no explanations."
},
{
"role": "user",
"content": "def get_action_name(obj):\n if obj.type != N... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Swift code. Output only the Swift code, no explanations."
},
{
"role": "user",
"content": "def on_dfu_service_not_found():\non_update_process_erro... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Rust code. Output only the Rust code, no explanations."
},
{
"role": "user",
"content": "def from(dt: DateTime[tz]) -> SystemTime:\n std.time.dur... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Go code. Output only the Go code, no explanations."
},
{
"role": "user",
"content": "def get_private_channels(c: ClientClient, team_id: Str) -> (L... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Go code. Output only the Go code, no explanations."
},
{
"role": "user",
"content": "impl TestInvokeAuthorizerInput:\n def go_string(self) -> Str... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Go code. Output only the Go code, no explanations."
},
{
"role": "user",
"content": "impl GetExportInput:\n def set_accepts(self, v: Str) -> GetE... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic C code. Output only the C code, no explanations."
},
{
"role": "user",
"content": "{\"weekend_schedule\", (getter)system_control_get_weekend_sched... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Swift code. Output only the Swift code, no explanations."
},
{
"role": "user",
"content": "override fn view_did_load():\nsuper.view_did_load()\nle... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Python code. Output only the Python code, no explanations."
},
{
"role": "user",
"content": "def forward(self, x, x_len):\n embedding = self.dr... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic TypeScript code. Output only the TypeScript code, no explanations."
},
{
"role": "user",
"content": "add_post := or:\n initial_value := { name: '... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic TypeScript code. Output only the TypeScript code, no explanations."
},
{
"role": "user",
"content": "status_bar := |props: IProps, state: IState|:... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Rust code. Output only the Rust code, no explanations."
},
{
"role": "user",
"content": "pub fn set_instance_id(self, input: std.option.std.string... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic C code. Output only the C code, no explanations."
},
{
"role": "user",
"content": "def writer_close_starttag(writer: xmlwriter) -> HRESULT:\n HRE... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Go code. Output only the Go code, no explanations."
},
{
"role": "user",
"content": "impl TestPartition:\n def String(self) -> Str:\n return p... |
[
{
"role": "system",
"content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic Swift code. Output only the Swift code, no explanations."
},
{
"role": "user",
"content": "override fn layout_subviews():\nsuper.layout_subviews()... |
Training pairs for fine-tuning code translation models on Nebula, a universal code intermediate language. Each example is a (Nebula → target language) pair across 8 languages: Python, JavaScript, TypeScript, Go, Swift, Kotlin, Rust, C.
Source code is harvested from StarCoderData (and The Stack for Swift), parsed into individual functions, then converted to Nebula via the Nebula compiler's from-{lang} ingesters. Pairs that fail validation (trivial, error markers, length filters) are dropped.
Each line in train.jsonl / val.jsonl is a chat-formatted SFT example:
{"messages": [
{"role": "system", "content": "You are a code translator. Given code in Nebula (a universal intermediate language), produce the equivalent idiomatic <Language> code. Output only the <Language> code, no explanations."},
{"role": "user", "content": "<nebula source>"},
{"role": "assistant", "content": "<target language source>"}
]}
| Split | Examples |
|---|---|
| Train | 67,703 |
| Val | ~7,500 |
| Per language | ~10,000 (8 langs) |
Split: 90% train / 10% val.
Apache 2.0. Source data is from StarCoderData / The Stack, used under their respective licenses (permissively-licensed code only).