• 제목/요약/키워드: Prompt Engineering

검색결과 288건 처리시간 0.035초

Measurement of deuterium concentration in heavy water utilizing prompt gamma neutron activation analysis (PGNAA) in comparison with MCNPX simulation results

  • Saeed Salahi;Mahdieh Mokhtari Dorostkar ;Akbar Abdi Saray
    • Nuclear Engineering and Technology
    • /
    • 제54권11호
    • /
    • pp.4231-4235
    • /
    • 2022
  • Considering the importance of deuterium in nuclear science including medical and industrial researches such as (BNCT) and nuclear reactors respectively, it is important to study various possible ways in addition to common methods for measuring its concentration. This study is an effort to measure deuterium concentration using PGNAA. The main idea is to calculate the area under 2.23 MeV gamma-rays photo peak resulting from neutron collision with Hydrogen atoms which are in mix with deuterium in samples. The study carried out by both simulation and experiment. Monte Carlo MCNPX2.6 code has been used for simulation and based on its acceptable results an experimental setup has been arranged. The coordination of results was in the range of R = 0.99 and R = 0.98 in simulation and experiment respectively. The accuracy of the study has been investigated by measuring the concentration of an unknown sample by both PGNAA and Fourier transform infrared spectroscopy (FT-IR) methods in which there were acceptable correlation between these two methods.

Llama2 LLM과 prompting을 통한 Financial QA 풀이 (Application of Llama2 LLM and prompting in Financial QA)

  • 이나경;기경서;권가진
    • 한국정보처리학회:학술대회논문집
    • /
    • 한국정보처리학회 2023년도 추계학술발표대회
    • /
    • pp.487-488
    • /
    • 2023
  • 본 논문에서는 RLHF 기반의 오픈소스 LLM인 llama-2-13b model을 FinQA task에 적용하여 그 성능을 확인해 보았다. 이때, CoT, few-shot과 같은 다양한 prompting 기법들을 적용해보며 어떤 방법이 가장 효과적인지 비교했다. 그 결과, 한 번(total)에 task를 수행한 경우 few-shot 예시를 2개 사용했을 때보다 3개 사용했을 때, subtask로 나누어 수행한 경우 prompt로 답(simple)만 제시했을 때보다 CoT 형식으로 주었을 때, 각각 24.85%의 정확도로 가장 높은 성능을 보였다.

Framework for evaluating code generation ability of large language models

  • Sangyeop Yeo;Yu-Seung Ma;Sang Cheol Kim;Hyungkook Jun;Taeho Kim
    • ETRI Journal
    • /
    • 제46권1호
    • /
    • pp.106-117
    • /
    • 2024
  • Large language models (LLMs) have revolutionized various applications in natural language processing and exhibited proficiency in generating programming code. We propose a framework for evaluating the code generation ability of LLMs and introduce a new metric, pass-ratio@n, which captures the granularity of accuracy according to the pass rate of test cases. The framework is intended to be fully automatic to handle the repetitive work involved in generating prompts, conducting inferences, and executing the generated codes. A preliminary evaluation focusing on the prompt detail, problem publication date, and difficulty level demonstrates the successful integration of our framework with the LeetCode coding platform and highlights the applicability of the pass-ratio@n metric.

Numerical Modeling of Combustion Processes and Pollutant Formations in Direct-Injection Diesel Engines

  • Kim, Yong-Mo;Lee, Joon-Kyu;Ahn, Jae-Hyun;Kim, Seong-Ku
    • Journal of Mechanical Science and Technology
    • /
    • 제16권7호
    • /
    • pp.1009-1018
    • /
    • 2002
  • The Representative Interactive Flamelet (RIF) concept has been applied to numerically simulate the combustion processes and pollutant formation in the direct injection diesel engine. Due to the ability for interactively describing the transient behaviors of local flame structures with CFD solver, the RIF concept has the capabilities to predict the auto-ignition and subsequent flame propagation in the diesel engine combustion chamber as well as to effectively account for the detailed mechanisms of soot formation, NOx formation including thermal NO path, prompt and nitrous 70x formation, and reburning process. Special emphasis is given to the turbulent combustion model which properly accounts for vaporization effects on the mixture fraction fluctuations and the pdf model. The results of numerical modeling using the RIF concept are compared with experimental data and with numerical results of the commonly applied procedure which the low-temperature and high-temperature oxidation processes are represented by the Shell ignition model and the eddy dissipation model, respectively. Numerical results indicate that the RIF approach including the vaporization effect on turbulent spray combustion process successfully predicts the ignition delay time and location as well as the pollutant formation.

IPTV 서비스를 위한 GPON 핵심 MAC 기술 개발 (Improvement of GPON MAC Protocol for IP TV Service)

  • 이승건;장종욱;배문한
    • 한국정보통신학회:학술대회논문집
    • /
    • 한국해양정보통신학회 2008년도 춘계종합학술대회 A
    • /
    • pp.51-54
    • /
    • 2008
  • TPS(Triple Play Service)의 적용을 위한 유망기술로 PON(Passive Optical Network)기술이 있다. PON 기술의 가장 중요한 요소는 패킷의 처리량을 효율적으로 높일 수 있는 MAC(Multiple Access Control)기술이다. MAC 기술의 핵심은 DBA(Dynamic Bandwidth Algorithm)로 내부 환경을 고려하는 SR-DBA(Status Report DBA), 환경을 고려하지 않는 NSR-DBA(Non Status Report DBA)방식이 존재한다. 하지만 GPON의 DBA 알고리즘은 BPON의 알고리즘을 사용하여 성능이 떨어진다. 본 연구에서는 네트워크의 효율적이고 신속한 처리를 위한 BR(Borrow-Refund)-DBA 알고리즘을 개발하였다. 알고리즘의 성능평가를 위하여 처리량(Throughput), 공정성(Fairness), 큐 지연(Queue Delay) 항목에 대해 SR-DBA, NSR-DBA의 환경에 맞추어 평가하였다.

  • PDF

기하학적 접근법에 의한 교량구조의 형태생성 (Form Generation of Structural Bridges based on Geometric Approach)

  • 김남희;고현무;홍성걸
    • 한국전산구조공학회논문집
    • /
    • 제23권4호
    • /
    • pp.379-386
    • /
    • 2010
  • 개념적 설계단계에서 교량형태를 자유롭게 생성하는 것이 매우 중요하다. 그러나 공학적 설계자의 입장에서는 다양한 형태를 상상하기 보다는 힘의 전달방식에 따른 구조시스템의 종류를 우선적으로 생각하게 된다. 이 연구에서는 교량형태를 기하학적 측면에서 새롭게 살펴봄으로써 기존의 공학적 접근법에서 막혔던 상상력의 한계를 확장시키고자 한다. 우선적으로 기존교량의 형태를 기하학적으로 분석하고, 기하학적 특징이 뚜렷한 교량형태에 대해서는 이 연구에서 제시하는 기하학적 접근법을 이용해서 생성해본다. 이 연구의 초점은 새로운 구조물 형태생성의 기하학적 원리를 개발하는 것이 아니라, 기존의 정립된 기하학적 원리를 이용하여 다양한 설계대안을 생성하는 접근법을 제시하고자 한다.

Enhancement of Fall-Detection Rate using Frequency Spectrum Pattern Matching

  • 이수환;오동익;남윤영
    • 인터넷정보학회논문지
    • /
    • 제18권3호
    • /
    • pp.11-17
    • /
    • 2017
  • To the elderly, sudden falls are one of the most frightening accidents. If an accident occurs, a prompt action has to be taken to deal with the situation. Recently, there have been a number of attempts to detect sudden falls using acceleration sensors embedded in the mobile devices, such as smart phones and wrist-bands. However, using the sensor readings only, the detection rate of the falls is around 65%. Ordinary daily activities such as running or jumping could not be well distinguished from the falls. In this paper, we describe our attempts on improving the fall-detection rate. We implemented a wrist-band fall detection module, using a three-axis acceleration sensor. With the pattern matching on the fall signal-strength frequency spectrum, in addition to the conventional signal strength measurement, we could improve the detection rate by 9% point. Furthermore, by applying two wrist-bands in the experiment, we could further improve the detection rate to 82%.

Weighted Centroid Localization Algorithm Based on Mobile Anchor Node for Wireless Sensor Networks

  • Ma, Jun-Ling;Lee, Jung-Hyun;Rim, Kee-Wook;Han, Seung-Jin
    • 한국공간정보시스템학회 논문지
    • /
    • 제11권2호
    • /
    • pp.1-6
    • /
    • 2009
  • Localization of nodes is a key technology for application of wireless sensor network. Having a GPS receiver on every sensor node is costly. In the past, several approaches, including range-based and range-free, have been proposed to calculate positions for randomly deployed sensor nodes. Most of them use some special nodes, called anchor nodes, which are assumed to know their own locations. Other sensors compute their locations based on the information provided by these anchor nodes. This paper uses a single mobile anchor node to move in the sensing field and broadcast its current position periodically. We provide a weighted centroid localization algorithm that uses coefficients, which are decided by the influence of mobile anchor node to unknown nodes, to prompt localization accuracy. We also suggest a criterion which is used to select mobile anchor node which involve in computing the position of nodes for improving localization accuracy. Weighted centroid localization algorithm is simple, and no communication is needed while locating. The localization accuracy of weighted centroid localization algorithm is better than maximum likelihood estimation which is used very often. It can be applied to many applications.

  • PDF

PSR 모델을 이용한 메탄-공기 희박 예혼합 연소의 NOx 생성 경로 연구 (A Study on NOx Formation Pathway of Methane-Air Lean Premixed Combustion by using PSR Model)

  • 이보람;김현;박정규;이민철;박원식
    • 한국자동차공학회논문집
    • /
    • 제17권5호
    • /
    • pp.46-52
    • /
    • 2009
  • In this study the predictions of NOx in methane-air lean premixed combustion in PSR were carried out with GRI 3.0 methane-air combustion mechanism and Zeldovich, nitrous oxide, prompt, and NNH NO formation mechanism by using CHEMKIN code. The results are compared to the JSR experimental data of Rutar for the validation of the model. This study concerns about the importance of the chemical pathways. The chemical pathway most likely to form the NO in methane-air lean-premixed combustion was investigated. The results obtained with the 4 different NO mechanisms for residence time(0.5-1.6ms) and pressure(3, 4.7, 6.5 atm) are compared and discussed.

Sapstain and Mold Control on Radiata Pine Lumber: Laboratory and Field Tests of Selected Fungicides

  • Kim, Jae-Jin;Ra, Jong-Bum;Kim, Hyung-Jun;Kim, Gyu-Hyeok
    • Mycobiology
    • /
    • 제30권1호
    • /
    • pp.37-40
    • /
    • 2002
  • The susceptibility of radiata pine sapwood to fungal attack and the ability of selected fungicides to control colonization of sapstain and mold fungi on green radiata pine sapwood were evaluated. Radiata pine sapwood was highly susceptible to fungal staining, suggesting that prompt application of fungicides after sawing is essential for preventing fungal colonization. The ability of commercial fungicides to prevent fungal discoloration on radiata pine sapwood was assessed using an accelerated 6-week test on small samples in the laboratory, and in field tests using bulk-piled boards exposed outdoors for 6 weeks during summer rainy season. In laboratory tests, Hylite extra provided excellent protection against fungal discoloration even at the lowest concentrations. Hylite clear, Britewood S, and NP-1 Plus provided good short-term protection(2 to 4 weeks), but higher chemical loadings were, required for long-term protection(6 weeks). Woodguard produced little or no protection over the test periods. In field tests, Kathon 893 provided markedly superior protection at the concentration of 0.5 percent or higher. NP-1 Plus provided relatively good protection at all concentrations evaluated. Hylite extra was effective only for short-term protection(2 to 4 weeks) at all concentrations tested, but higher solution strengths were needed for longterm protection.