数学建模比赛中,使用大语言模型如chatgpt、文心一言该如何写Prompt(提示)?
在大型语言模型中,"prompt"(中文常译为“提示”或“引导”)是指提供给模型的输入文本,用于指示或引导模型产生特定的输出。它的作用主要是告诉模型用户想要得到什么样的信息或完成什么样的任务。
例如,在使用大型语言模型进行文本生成时,你可以输入一个问题、一段描述或者一个话题作为“prompt”,模型根据这个输入生成相关的回答或内容。prompt的质量和明确性很大程度上影响了模型输出的相关性和准确性。简单来说,prompt就像是给模型的一个指令或者请求,告诉它用户希望它做什么。
那么,在数学建模比赛中,有什么比较好的prompt呢?
下面是一个较好的prompt供大家参考:
我是一名大学生,目前参加数学建模比赛。我需要你的帮助来解决比赛中的问题。请根据以下指引思考并协助我:
(1)问题背景理解:阅读并重述题目的关键点。这个问题是如何产生的,与哪些领域相关?
是否有相似的案例或问题?它们是如何解决的?可以从相关论文中学到什么?
(2)假设和变量提出:
基于实际情况,提出哪些假设来简化问题?这些假设可能对结果产生哪些影响?
识别问题中的关键变量及其相互关系。这些关系是线性、非线性还是其他?
(3)问题归类:
该题目属于哪种类型的问题,如评价、预测、优化或图论?每个小问的类型是什么?
(4)数学模型构建:
使用哪些数学方程或不等式来描述这些变量间的关系?是否需要引入辅助变量或参数?
考虑问题性质,选择哪种模型?对类似问题有哪些参考论文?
(5)解决方案和优化:
根据建立的模型,初步的解决方案应该是什么?有哪些不同的方法?
使用哪些标准或指标来评估解决方案的有效性,如精度、效率、可靠性或实用性?
如果有不足,如何优化模型?是否可以通过调整参数、改进算法或引入新数据来提高性能?
(6)实际应用和局限性:
在实际应用中,这个模型可能遇到哪些挑战?我们如何应对这些挑战?
识别并讨论模型的局限性。对这些局限性,我们可以采取哪些改进措施?
请在回答问题时,给出详细、可行的解题思路和步骤。如果需要数据,请指示数据的获取方式。(后续所有的回答请使用中文)
下面是我的数学建模竞赛的问题:
(注意,后面这个问题需要换成自己的问题)
2023 ICM
Problem E: Light Pollution
Background
Light pollution is used to describe any excessive or poor use of artificial light. Some of the phenomena that we refer to as light pollution include light trespass, over-illumination, and light clutter. These phenomena are most easily observed as a glow in the sky after the sun has set in large cities; however, they may also occur in more remote regions.
Light pollution alters our view of the night sky, has environmental impacts and affects our health and safety. For example, plant maturation may be delayed or accelerated, and migration patterns of wildlife affected. Excessive artificial light may confuse our circadian rhythms, leading to poor sleep quality and perhaps physical and mental health issues. Glare caused by artificial lights may contribute to some motor vehicle accidents.
Community officials or local groups may implement intervention strategies to mitigate the negative effects of light pollution. Artificial light, however, has both positive and negative effects that impact different locations in different ways. For example, to avoid the negative impacts of light pollution listed above, some communities opt for low-light neighborhoods which in turn might lead to increased crime. The impacts of light pollution may depend on factors such as the location’s level of development, population, biodiversity, geography, and climate.
Therefore, assessing the extent of the effects and the potential impacts of any intervention strategies must be tailored to a specific location.
Requirement
COMAP’s Illumination Control Mission (ICM) is working to promote awareness of the impacts of light pollution and develop intervention strategies to mitigate those impacts. In support of this ICM work, your task is to address measuring and mitigating the effects of light pollution in various locations, incorporating both human and non-human concerns. Specifically, you should:
Develop a broadly applicable metric to identify the light pollution risk level of a location.
Apply your metric and interpret its results on the following four diverse types of locations:
a protected land location,
a rural community,
a suburban community, and
an urban community.
Describe three possible intervention strategies to address light pollution. Discuss specific actions to implement each strategy and the potential impacts of these actions on the effects of light pollution in general.
Choose two of your locations and use your metric to determine which of your intervention strategies is most effective for each of them. Discuss how the chosen intervention strategy impacts the risk level for the location.
Finally, for one of your identified locations and its most-effective intervention strategy, produce a 1-page flyer to promote the strategy for that location.
Glossary
Artificial Light: Any non-naturally occurring source of light.
Circadian Rhythms: The natural 24-hour sleep-wake cycle on which humans and other organisms operate.
Glare: Excessive brightness that decreases one’s ability to see.
Intervention Strategies: Policies and/or actions that could be taken to disrupt the negative impacts of light pollution.
Light Clutter: Excessive grouping of lights.
Light Trespass: When light enters unintended areas.
Over-Illumination: Lighting at an intensity higher than what is needed for an activity or location.
Protected Land: Areas that governments or private entities protect from development due to their ecological, cultural, and/or natural importance.
Rural Community: A community located in one of the least densely populated parts of a country or region, and not easily accessible from an urban community.
Suburban Community: A community located in a moderately densely populated part of a country or region, or easily accessible from an urban community.
Urban Community: A community located in one of the most densely populated parts of a country or region.
下面给出按照这个模版chatgpt和文心一言的回答:
chatgpt4:
chatgpt3.5:
文心一言4:
文心一言3.5:
接下来,就可以根据它的回答,一点一点详细展开。
如果不使用prompt,结果是这样的:
chatgpt4.0:
chatgpt3.5:
文心一言4:
文心一言3.5:
相关文章:

数学建模比赛中,使用大语言模型如chatgpt、文心一言该如何写Prompt(提示)?
在大型语言模型中,"prompt"(中文常译为“提示”或“引导”)是指提供给模型的输入文本,用于指示或引导模型产生特定的输出。它的作用主要是告诉模型用户想要得到什么样的信息或完成什么样的任务。 例如,在使…...

tcpdump 抓包无法落盘
文章目录 问题背景解决办法 问题背景 在嵌入式设备中(Linux系统),为了分析两个网络节点的通讯问题,往往需要用到tcpdump,抓一个.pcap的包在PC端进行分析。博主在实际操作中发现,抓包无法实时落盘。 解决办法 # 下面的命令是写在…...

【网站项目】066农家乐信息平台
🙊作者简介:拥有多年开发工作经验,分享技术代码帮助学生学习,独立完成自己的项目或者毕业设计。 代码可以私聊博主获取。🌹赠送计算机毕业设计600个选题excel文件,帮助大学选题。赠送开题报告模板ÿ…...

idea/webstorm 创建Vue实例 Unresolved type Vue 处理方法
1.电脑本地安装node.js 官网下载 2. 其他: 未排除变量,前期试错(以下步骤配置了,但不确定对解决问题是否有帮助)...

C++ 11新特性之语法甜点2
概述 C 11中引入了许多简化编程工作的语法上的新特性,我们暂且美其名曰:“语法甜点”。书接上篇,我们继续介绍C 11中的这些“语法甜点”,也是第二篇关于“语法甜点”的文章。 语法甜点6:模板右边双括号 在C 03中&#…...

【芯片设计- RTL 数字逻辑设计入门 番外篇 8.1 -- memory repair 详细介绍】
文章目录 memory repair 详细介绍Memory Repair 方法Memory Repair 过程举例memory repair 详细介绍 SoC (System on Chip) 的 Memory Repair 是一种技术,用于检测和修复内存中的损坏单元。由于SoC内部集成了大量的逻辑和存储单元,包括RAM(随机访问存储器)、ROM(只读存储…...

2023强网杯复现
强网先锋 SpeedUp 要求2的27次方的阶乘的逐位之和 在A244060 - OEIS 然后我们将4495662081进行sha256加密 就得到了flag flag{bbdee5c548fddfc76617c562952a3a3b03d423985c095521a8661d248fad3797} MISC easyfuzz 通过尝试输入字符串判断该程序对输入字符的验证规则为9…...

IP代理协议有哪些?爬虫代理如何被合理使用?
随着互联网的普及和发展,IP代理作为一种网络代理方式,越来越受到人们的关注。IP代理协议是网络代理的一种规范,它规定了代理服务器与客户端之间进行通信的规则。了解IP代理协议对于使用代理的人来说非常重要,因为它可以帮助我们更…...

Vue学习笔记(二)快速入门
Vue学习笔记(二)快速入门 vue小试牛刀 hello-vue3.html <body><div id"app"><h1>{{msg}}</h1></div><script type"module">import {createApp} from https://unpkg.com/vue3/dist/vue.esm-b…...

在Vue中@click方法不起效
问题描述: 在跟项目的时候,我们可能会遇到我们click点击时,需要执行多个操作,如:调用方法,修改变量等。举个例子,像这样,我们在管理项目中想要编辑某一值,编辑好后&…...

服装行业ERP系统解决方案
我国的服装企业大多属于劳动密集型,主要有三种类型:自有品牌服装生产销售企业、接订单生产型企业及处于产业链下游的零售分销企业。在经营过程中,服装行业面临诸多挑战,如流行周期短、季节性强,市场变化快;…...

AI绘画探索人工智能的未来
🌈个人主页: Aileen_0v0 🔥热门专栏: 华为鸿蒙系统学习|计算机网络|数据结构与算法 💫个人格言:“没有罗马,那就自己创造罗马~” #mermaid-svg-8fL64RHWVzwpzR6m {font-family:"trebuchet ms",verdana,arial,sans-serif;font-siz…...

Java 的 Map 與 List
小心获得List<Map>的size List<Map>没有赋值前,JVM会初始化,所以List<Map>会有一个25的size()。 通過重新new 一個ArrayList 轉化 resTask.setList(new ArrayList<Group>(custMap.values())); 无序的M…...

C++从零开始的打怪升级之路(day24)
这是关于一个普通双非本科大一学生的C的学习记录贴 在此前,我学了一点点C语言还有简单的数据结构,如果有小伙伴想和我一起学习的,可以私信我交流分享学习资料 那么开启正题 今天分享的是关于vector的一些函数 1.构造函数 vector() …...

用 CanvasKit 实现超级丝滑的原神地图(已开源)!!!
首先给大家送上预览地址: 官网地址:https://webstatic.mihoyo.com/ys/app/interactive-map/index.html canvaskit地址:http://106.55.55.247/ky-genshin-map/ 为什么 canvaskit 有如此高的性能? 第一个问题,官方网页…...

MySQL原理(三)锁定机制(2)表锁行锁与页锁
前面提到,mysql锁按照操作颗粒分类,一般认为有表级锁、行级锁、页面锁三种。其实还有一种特殊的全局锁。 锁场景问题全局锁全库逻辑备份加了全局锁之后,整个数据库都是【只读状态】,如果数据库里有很多数据,备份就会花…...

设计模式⑩ :用类来实现
文章目录 一、前言二、Command 模式1. 介绍2.应用3. 总结 三、Interpreter 模式1. 介绍2. 应用3. 总结 参考文章 一、前言 有时候不想动脑子,就懒得看源码又不像浪费时间所以会看看书,但是又记不住,所以决定开始写"抄书"系列。本系…...

Flutter 解决ExpansionTile上下分割线问题,以及title撑满问题
文章目录 前言一、解决上下分割线问题二、使ExpansionTile的title撑满总结 前言 最近在做flutter项目,其中的一个功能用到了ExpansionTile的效果,奈何我们的设计师要求很高,展开的时候不能有上下一根线,而且我们是不需要展开的按…...

数据可视化 pycharts实现时间数据可视化
自用版 数据格式为: 运行效果为: from pyecharts import options as opts from pyecharts.charts import Polar, Page import csv filename "./hot-dog-places.csv" data_x [] data_y [] with open(filename) as f:reader csv.reade…...

深度强化学习(王树森)笔记11
深度强化学习(DRL) 本文是学习笔记,如有侵权,请联系删除。本文在ChatGPT辅助下完成。 参考链接 Deep Reinforcement Learning官方链接:https://github.com/wangshusen/DRL 源代码链接:https://github.c…...

python 实现 macOS状态栏 网速实时显示
安装依赖包: pip install pillow psutil rumpsnetSpeedApp.py from PIL import Image, ImageDraw, ImageFont import psutil import rumpsclass NetSpeedApp(rumps.App):def __init__(self):super(NetSpeedApp, self).__init__("NetSpeed")self.titlese…...

【C++】开源:Windows图形库EasyX配置与使用
😏★,:.☆( ̄▽ ̄)/$:.★ 😏 这篇文章主要介绍Windows图形库EasyX配置与使用。 无专精则不能成,无涉猎则不能通。——梁启超 欢迎来到我的博客,一起学习,共同进步。 喜欢的朋友可以关注一下&#…...

微信小程序 全局变量键值对map对象
在微信小程序中,键值对的map对象通常用于存储和操作键值对的集合。以下是一些常见的操作: 创建map对象 在JavaScript中,可以通过对象字面量语法或者使用new Map()来创建map对象 // 使用对象字面量 var map {key1: value1,key2: value2 };…...

20240131在WIN10下配置whisper
20240131在WIN10下配置whisper 2024/1/31 18:25 首先你要有一张NVIDIA的显卡,比如我用的PDD拼多多的二手GTX1080显卡。【并且极其可能是矿卡!】800¥ 2、请正确安装好NVIDIA最新的545版本的驱动程序和CUDA。 2、安装Torch 3、配置whisper http…...

3338 蓝桥杯 wyz的数组IV 简单
3338 蓝桥杯 wyz的数组IV 简单 //C风格解法1,通过率50% #include<bits/stdc.h>int main(){std::ios::sync_with_stdio(false);std::cin.tie(nullptr);std::cout.tie(nullptr);int n; std::cin >> n;int ans 0;std::vector<int>a(n);for(auto &am…...

git Filename too long
git Filename too long 原因: 文件名限制260长度 解决:全局配置git git config --system core.longpaths true查看: git config --get core.longpaths...

MySQL数据库-理论基础
1.1 什么是数据库 数据: 描述事物的符号记录, 可以是数字、 文字、图形、图像、声音、语言等,数据有多种形式,它们都可以经过数字化后存入计算机。 数据库: 存储数据的仓库,是长期存放在计算机内、有组织…...

立体边界,让arcgis出图更酷炫一些
就是这样子的那个图—— 本期我们还是用长沙市为例, 来手把手的演示制作立体边界, 就是这个样子的边界—— 第一步—准备底图 其实你准备什么底图都可以哈,例如调用天地图、下载个影像图,或者用其他什么的底图,都是…...

【C++】 C++入门—内联函数
C入门 1 内联函数1.1 定义1.2 查看方式1.3 注意 Thanks♪(・ω・)ノ谢谢阅读下一篇文章见!!! 1 内联函数 1.1 定义 程序在执行一个函数前需要做准备工作:要将实参、局部变量、返回地址以及若干寄存…...

软件工程知识梳理2-需求分析
需求分析时软件定义的最后一个阶段,它的基本任务时准确回答系统必须做什么的问题。 输出:本阶段必须的输出时软件需求规格说明书。 角色:需求分析员 参与者:用户、需求分析员 需求分析遵循的准则: 必须理解并描述问…...