470 research outputs found
Private-Library-Oriented Code Generation with Large Language Models
Large language models (LLMs), such as Codex and GPT-4, have recently
showcased their remarkable code generation abilities, facilitating a
significant boost in coding efficiency. This paper will delve into utilizing
LLMs for code generation in private libraries, as they are widely employed in
everyday programming. Despite their remarkable capabilities, generating such
private APIs poses a formidable conundrum for LLMs, as they inherently lack
exposure to these private libraries during pre-training. To address this
challenge, we propose a novel framework that emulates the process of
programmers writing private code. This framework comprises two modules:
APIFinder first retrieves potentially useful APIs from API documentation; and
APICoder then leverages these retrieved APIs to generate private code.
Specifically, APIFinder employs vector retrieval techniques and allows user
involvement in the retrieval process. For APICoder, it can directly utilize
off-the-shelf code generation models. To further cultivate explicit proficiency
in invoking APIs from prompts, we continuously pre-train a reinforced version
of APICoder, named CodeGenAPI. Our goal is to train the above two modules on
vast public libraries, enabling generalization to private ones. Meanwhile, we
create four private library benchmarks, including TorchDataEval,
TorchDataComplexEval, MonkeyEval, and BeatNumEval, and meticulously handcraft
test cases for each benchmark to support comprehensive evaluations. Numerous
experiments on the four benchmarks consistently affirm the effectiveness of our
approach. Furthermore, deeper analysis is also conducted to glean additional
insights
Utilization of glucagon-like peptide-1 receptor agonists in children and adolescents in China: a real-world study
BackgroundGlucagon-like peptide-1 receptor agonists (GLP-1RAs) have been widely used in treating type 2 diabetes mellitus (T2DM) and obesity in adults, but scientific research about the indication in children and adolescents is scarce. The current study aims to explore the prescriptions of GLP-1RAs in children and adolescents in China and to evaluate its rationality.MethodsGLP-1RA prescriptions of children and adolescents were retrospectively obtained from the Hospital Prescription Analysis Cooperative Project. The study extracted information on patientâs demographic characteristics, monotherapy and combination therapy of GLP-1RAs, and trends in GLP-1RA usage from 2016 to 2021. The rationality of GLP-1RA prescriptions was comprehensively assessed based on the indications approved by China National Medical Products Administration (NMPA), the U.S. Food and Drug Administration (FDA), European Medicines Agency (EMA), Pharmaceuticals and Medical Devices Agency (PMDA), and published randomized controlled trials (RCTs).ResultsA total of 234 prescriptions from 46 hospitals were included, with a median age of 17 years old. The majority of patients were diagnosed with overweight/obesity or prediabetes/diabetes, accounting for 43.59% and 46.15%, respectively. There were 88 patients on GLP-1RA monotherapy. GLP-1RAs plus metformin was the most common combination therapy (38.89%). 12.39% of patients were found a co-administration with orlistat. The share of overweight/obesity prescriptions increased from 27% in 2016 to 54% in 2021, whereas prediabetes/diabetes prescriptions declined from 55% to 42%. The prescriptions were divided into appropriate and questionable groups according to the diagnosis, and the potentially questionable prescription was related to age (p = 0.017), department visited (p = 0.002), and any hospitalization (p < 0.001).ConclusionsThis study described the prescribing of GLP-1RAs in children and adolescents. Our findings indicated that the utilization of GLP-1RAs has increased from 2016 to 2021. There was a strong basis for administering GLP-1RAs in overweight/obesity and prediabetes/diabetes, whereas the evidence was insufficient in other conditions. It is crucial to demand robust and sustained efforts to enhance the awareness of the safety of utilization of GLP-1RAs in children and adolescents
COVID-19 causes record decline in global CO2 emissions
The considerable cessation of human activities during the COVID-19 pandemic
has affected global energy use and CO2 emissions. Here we show the
unprecedented decrease in global fossil CO2 emissions from January to April
2020 was of 7.8% (938 Mt CO2 with a +6.8% of 2-{\sigma} uncertainty) when
compared with the period last year. In addition other emerging estimates of
COVID impacts based on monthly energy supply or estimated parameters, this
study contributes to another step that constructed the near-real-time daily CO2
emission inventories based on activity from power generation (for 29
countries), industry (for 73 countries), road transportation (for 406 cities),
aviation and maritime transportation and commercial and residential sectors
emissions (for 206 countries). The estimates distinguished the decline of CO2
due to COVID-19 from the daily, weekly and seasonal variations as well as the
holiday events. The COVID-related decreases in CO2 emissions in road
transportation (340.4 Mt CO2, -15.5%), power (292.5 Mt CO2, -6.4% compared to
2019), industry (136.2 Mt CO2, -4.4%), aviation (92.8 Mt CO2, -28.9%),
residential (43.4 Mt CO2, -2.7%), and international shipping (35.9Mt CO2,
-15%). Regionally, decreases in China were the largest and earliest (234.5 Mt
CO2,-6.9%), followed by Europe (EU-27 & UK) (138.3 Mt CO2, -12.0%) and the U.S.
(162.4 Mt CO2, -9.5%). The declines of CO2 are consistent with regional
nitrogen oxides concentrations observed by satellites and ground-based
networks, but the calculated signal of emissions decreases (about 1Gt CO2) will
have little impacts (less than 0.13ppm by April 30, 2020) on the overserved
global CO2 concertation. However, with observed fast CO2 recovery in China and
partial re-opening globally, our findings suggest the longer-term effects on
CO2 emissions are unknown and should be carefully monitored using multiple
measures
Near-real-time monitoring of global COâ emissions reveals the effects of the COVID-19 pandemic
The COVID-19 pandemic is impacting human activities, and in turn energy use and carbon dioxide (COâ) emissions. Here we present daily estimates of country-level CO2 emissions for different sectors based on near-real-time activity data. The key result is an abrupt 8.8% decrease in global COâ emissions (â1551 Mt COâ) in the first half of 2020 compared to the same period in 2019. The magnitude of this decrease is larger than during previous economic downturns or World War II. The timing of emissions decreases corresponds to lockdown measures in each country. By July 1st, the pandemicâs effects on global emissions diminished as lockdown restrictions relaxed and some economic activities restarted, especially in China and several European countries, but substantial differences persist between countries, with continuing emission declines in the U.S. where coronavirus cases are still increasing substantially
Recommended from our members
Near-real-time monitoring of global CO2 emissions reveals the effects of the COVID-19 pandemic
The COVID-19 pandemic is impacting human activities, and in turn energy use and carbon dioxide (CO2) emissions. Here we present daily estimates of country-level CO2 emissions for different sectors based on near-real-time activity data. The key result is an abrupt 8.8% decrease in global CO2 emissions (â1551 Mt CO2) in the first half of 2020 compared to the same period in 2019. The magnitude of this decrease is larger than during previous economic downturns or World War II. The timing of emissions decreases corresponds to lockdown measures in each country. By July 1st, the pandemicâs effects on global emissions diminished as lockdown restrictions relaxed and some economic activities restarted, especially in China and several European countries, but substantial differences persist between countries, with continuing emission declines in the U.S. where coronavirus cases are still increasing substantially
Multidifferential study of identified charged hadron distributions in -tagged jets in proton-proton collisions at 13 TeV
Jet fragmentation functions are measured for the first time in proton-proton
collisions for charged pions, kaons, and protons within jets recoiling against
a boson. The charged-hadron distributions are studied longitudinally and
transversely to the jet direction for jets with transverse momentum 20 GeV and in the pseudorapidity range . The
data sample was collected with the LHCb experiment at a center-of-mass energy
of 13 TeV, corresponding to an integrated luminosity of 1.64 fb. Triple
differential distributions as a function of the hadron longitudinal momentum
fraction, hadron transverse momentum, and jet transverse momentum are also
measured for the first time. This helps constrain transverse-momentum-dependent
fragmentation functions. Differences in the shapes and magnitudes of the
measured distributions for the different hadron species provide insights into
the hadronization process for jets predominantly initiated by light quarks.Comment: All figures and tables, along with machine-readable versions and any
supplementary material and additional information, are available at
https://cern.ch/lhcbproject/Publications/p/LHCb-PAPER-2022-013.html (LHCb
public pages
Study of the decay
The decay is studied
in proton-proton collisions at a center-of-mass energy of TeV
using data corresponding to an integrated luminosity of 5
collected by the LHCb experiment. In the system, the
state observed at the BaBar and Belle experiments is
resolved into two narrower states, and ,
whose masses and widths are measured to be where the first uncertainties are statistical and the second
systematic. The results are consistent with a previous LHCb measurement using a
prompt sample. Evidence of a new
state is found with a local significance of , whose mass and width
are measured to be and , respectively. In addition, evidence of a new decay mode
is found with a significance of
. The relative branching fraction of with respect to the
decay is measured to be , where the first
uncertainty is statistical, the second systematic and the third originates from
the branching fractions of charm hadron decays.Comment: All figures and tables, along with any supplementary material and
additional information, are available at
https://cern.ch/lhcbproject/Publications/p/LHCb-PAPER-2022-028.html (LHCb
public pages
Measurement of the ratios of branching fractions and
The ratios of branching fractions
and are measured, assuming isospin symmetry, using a
sample of proton-proton collision data corresponding to 3.0 fb of
integrated luminosity recorded by the LHCb experiment during 2011 and 2012. The
tau lepton is identified in the decay mode
. The measured values are
and
, where the first uncertainty is
statistical and the second is systematic. The correlation between these
measurements is . Results are consistent with the current average
of these quantities and are at a combined 1.9 standard deviations from the
predictions based on lepton flavor universality in the Standard Model.Comment: All figures and tables, along with any supplementary material and
additional information, are available at
https://cern.ch/lhcbproject/Publications/p/LHCb-PAPER-2022-039.html (LHCb
public pages
- âŠ