3 research outputs found

    TreeGen: A Tree-Based Transformer Architecture for Code Generation

    Full text link
    A code generation system generates programming language code based on an input natural language description. State-of-the-art approaches rely on neural networks for code generation. However, these code generators suffer from two problems. One is the long dependency problem, where a code element often depends on another far-away code element. A variable reference, for example, depends on its definition, which may appear quite a few lines before. The other problem is structure modeling, as programs contain rich structural information. In this paper, we propose a novel tree-based neural architecture, TreeGen, for code generation. TreeGen uses the attention mechanism of Transformers to alleviate the long-dependency problem, and introduces a novel AST reader (encoder) to incorporate grammar rules and AST structures into the network. We evaluated TreeGen on a Python benchmark, HearthStone, and two semantic parsing benchmarks, ATIS and GEO. TreeGen outperformed the previous state-of-the-art approach by 4.5 percentage points on HearthStone, and achieved the best accuracy among neural network-based approaches on ATIS (89.1%) and GEO (89.6%). We also conducted an ablation test to better understand each component of our model

    Correlation Analysis Between Required Surgical Indexes and Complications in Patients With Coronary Heart Disease

    Get PDF
    A total of 215 patients with coronary heart disease (CHD) were analyzed with SPSS. Samples of different genders showed significance in the obtuse marginal branch of the left circumflex branch × 1, the diagonal branch D1 × 1, and the ms PV representation. Patients with left circumflex branch occlusion are more male and tend to be younger. Age displayed a positive correlation with left intima-media thickness (IMT) and right IMT. This indicated that as age increases, the values of left IMT and right IMT increase. Samples of different CHD types showed significance in the obtuse marginal branch of the left circumflex branch × 1, the middle part of RCA × 1, and the middle part of the left anterior descending branch × 1.5. For non-ST-segment elevation angina pectoris with acute total vascular occlusion, the left circumflex artery is the most common, followed by the right coronary artery and anterior descending branch. Ultrasound of carotid IMT in patients with CHD can predict changes in left ventricular function, but no specific correlation between left and right common carotid IMT was found. Samples with or without the medical history of ASCVD showed significance in the branch number of coronary vessel lesions. The value of the branch number of coronary vessel lesions in patients with atherosclerotic cardiovascular disease (ASCVD) was higher than in those without ASCVD. The occurrence of complication is significantly relative with the distance of left circumflex branch × 1, the middle segment of left anterior descending branch × 1.5, and the distance of left anterior descending branch × 1. For patients without complications, the values in the distal left circumflex branch × 1, the middle left anterior descending branch × 1.5, and the distal left anterior descending branch × 1 were higher than those for patients with complications. The VTE scores showed a positive correlation with the proximal part of RCA × 1, the branch number of coronary vessel lesions, the posterior descending branch of left circumflex branch × 1, the distal part of left circumflex branch × 1, and the middle part of left anterior descending branch × 1.5

    Pentafluorosulfanyl-Substituted Benzopyran Analogues As New Cyclooxygenase‑2 Inhibitors with Excellent Pharmacokinetics and Efficacy in Blocking Inflammation

    No full text
    In this report, we disclose the design and synthesis of a series of pentafluorosulfanyl (SF<sub>5</sub>) benzopyran derivatives as novel COX-2 inhibitors with improved pharmacokinetic and pharmacodynamic properties. The pentafluorosulfanyl compounds showed both potency and selectivity for COX-2 and demonstrated efficacy in several murine models of inflammation and pain. More interestingly, one of the compounds, <i>R</i>,<i>S</i>-<b>3a</b>, revealed exceptional efficacy in the adjuvant induced arthritis (AIA) model, achieving an ED<sub>50</sub> as low as 0.094 mg/kg. In addition, the pharmacokinetics of compound <i>R</i>,<i>S</i>-<b>3a</b> in rat revealed a half-life in excess of 12 h and plasma drug concentrations well above its IC<sub>90</sub> for up to 40 h. When <i>R</i>,<i>S</i>-<b>3a</b> was dosed just two times a week in the AIA model, efficacy was still maintained. Overall, drug <i>R</i>,<i>S</i>-<b>3a</b> and other analogues are suitable candidates that merit further investigation for the treatment of inflammation and pain as well as other diseases where COX-2 and PGE<sub>2</sub> play a role in their etiology
    corecore