SearcharxivSearch

arXiv subjects

Edwin Kim

Publications and source records attributed to Edwin Kim.

3 recordsLinked to original sources

AI-Assisted SQL Authoring at Industry Scale

SqlCompose brings generative AI into the data analytics domain. SQL is declarative, has formal table schemas, and is often written in a non-linear manner. We address each of these challenges and develop a set of models that shows the importance of each problem. We first develop an internal SQL benchmark to perform offline tests at Meta. We evaluate how well the Public Llama model performs. We attain a BLEU score of 53% and 24% for single- and multi-line predictions, respectively. This performance is consistent with prior works on imperative languages. We then fine-tune Llama on our internal data and database schemas. SqlComposeSA substantially outperforms Llama by 16 percentage points on BLEU score. SQL is often written with multiple sub queries and in a non-sequential manner. We develop SqlComposeFIM which is aware of the context before and after the line(s) that need to be completed. This fill-in-the-middle model outperform SqlComposeFIM by 35 percentage points. We also measure how often the models get the correct table names, and SqlComposeFIM is able to do this 75% of the time. Aside from our scientific research, we also roll out SqlComposeFIM at Meta. SqlCompose is used on a weekly basis by over 10k users including data scientists and software engineers, less than 1% of users have disabled SqlCompose. We use the feedback from users to improve SqlCompose. Interesting positive themes include completing tedious or repetitive SQL clauses, suggesting boilerplate coding, and help in eliminate the need to remember difficult SQL syntax. The most significant negative themes was table and column name hallucinations, which has been reduced with the release of SqlComposeFIM. The SqlCompose models consistently outperform public and internal LLMs, despite being smaller (7 bn and 13 bn), which provides early indications that smaller specialist models can outperform larger general purpose models.

cs.SE

Electron Spin Resonance Shift and Linewidth Broadening of Nitrogen-Vacancy Centers in Diamond as a Function of Electron Irradiation Dose

A high-nitrogen-concentration diamond sample was subject to 200-keV electron irradiation using a transmission electron microscope. The optical and spin-resonance properties of the nitrogen-vacancy (NV) color centers were investigated as a function of the irradiation dose up to 6.4\times1021 e-/cm2. The microwave transition frequency of the NV- center was found to shift by up to 0.6% (17.1 MHz) and the linewidth broadened with increasing electron-irradiation dose. Unexpectedly, the measured magnetic sensitivity is best at the lowest irradiation dose, even though the NV concentration increases monotonically with increasing dose. This is in large part due to a sharp reduction in optically-detected spin contrast at higher doses.

quant-ph

Chemical Vapor Deposition-Assembled Graphene Field-Effect Transistor on Hexagonal Boron Nitride

We investigate key electrical properties of monolayer graphene assembled by chemical-vapor-deposition (CVD) as impacted by supporting substrate material. Graphene field-effect transistors (GFETs) were fabricated with carbon channel placing directly on hexagonal boron nitride (h-BN) and SiO2, respectively. Small-signal transconductance (gm) and effective carrier mobility ({\mu}eff) are improved by 8.5 and 4 times on h-BN, respectively, as compared with that on SiO2. Compared with GFET with exfoliated graphene on SiO2, gm and {\mu}eff measured from device with CVD graphene on h-BN substrate exhibits comparable values. The experiment demonstrates the potential of employing h-BN as a platform material for large-area carbon electronics.

cond-mat.mtrl-sci