trucks cities 1101f and
Thoughts and ideas about how to apply LLMs in specific domains like clinic/law/finance
Applying LLMs in Specific Domains As a university student who has just completed fine-tuning TinyLLaMA-1b with clinical instruction data using the QLo ......
[题解]CF1811D Umka and a Long Flight
思路 假设原题目中的 \(n\) 在本文中为 \(num\),则原长方形的长 \(m = f_{num + 1}\) 和宽 \(n = f_{num}\)。 显然对于最初始的长方形,显然是要将一个 \(f_{num} \times f_{num}\) 的长方形丢进去的,并且要么放最左边,要么放在最右 ......
特殊的bug:element 0 of tensors does not require grad and does not have a grad_fn
很多帖子都说了,设置requires_grad_()就行。 但是我这次遇到的不一样,设置了都不行。 我是这种情况,在前面设置了torch.no_grad():,又在这个的作用域下进行了requires_grad_(),这是不起作用的。 简单版: with torch.no_grad(): model ......
sql: between and
SELECT * FROM ( SELECT t.*, ROWNUM rn FROM hr.bi_history t ) WHERE rn BETWEEN 5 AND 10; ......
[引]Power Automate Use variables and the % notation
Variable manipulation and the % notation - Power Automate | Microsoft Learn 变量操作和 % 表示法 - Power Automate | Microsoft Learn In this articleHardcoded va ......
hdfs报错:There are 0 datanode(s) running and 0 node(s) are excluded in this operation
namenode的日志还是打印There are 0 datanode(s) running and 0 node(s) are excluded in this operation.吗 报错信息如下所示。其中,【X】是当前正在运行的DataNode数量,【Y】是被排除在此操作之外的DataNode ......
CF1051C Vasya and Big Integers 题解
Problem - 1051E - Codeforces Vasya and Big Integers - 洛谷 感谢女队提交记录推荐给我的一道题 \(Orz\) 首先 \(O(n^2)\) 的 \(dp\) 是 simple 的,如果你没看出来你可能是像我一样把题目看错了 设 \(dp_i\) 表 ......
Python - pandas 报错:ValueError: 'HIS_批准文号' is both an index level and a column label, which is ambiguous.
问题描述 file:[Terminal] ValueError: 'HIS_批准文号' is both an index level and a column label, which is ambiguous. ValueError: cannot insert 招采_批准文号, already ......
FLAC: Federated Learning with Autoencoder Compression and Convergence Guarantee-2022
目的:减少通信量(成本),例如VGGNet架构具有大约1.38亿个参数(4264 Mb) 方法:具有自动编码器压缩(Autoencoder Compression)且具有收敛保证(Convergence Guarantee);利用冗余信息(the redundant information)和FL的 ......
CF1055F Tree and XOR
这道题代码虽然比较短,但花了我整整一天才过,太菜了 这是 CF241B 的加强版,但是有点不同,因为 CF241B 后半部分求前 \(k\) 大的和没法优化了,而这道题能把前面的求第 \(k\) 小时间复杂度优化到单 log ,但是需要注意这道题开 trie 完全开不下,所以肯定没法 trie 上二 ......
cloudflare,vercel and netlify的作用和区别
Cloudflare,Vercel和Netlify都是为开发者提供的云计算服务,但它们的功能和特性有所不同。 Cloudflare的主要使命是帮助构建更好的互联网。它是世界上最大的网络之一,为企业、非营利组织、博客作者和任何有互联网存在的人提供更快、更安全的网站和应用。Cloudflare的网络上有 ......
英语一课一练一年级扩展阅读02Art Class and Drawings-艺术课和绘画
PDF格式公众号回复关键字:YYYKYLY02 记忆树 1 It is time for the art class. 翻译 现在是艺术课的时间。 简化记忆 艺术课 句子结构 1"It is time for":这是一个固定句型,用来表示做某件事情的时间到了。"it"(它)是形式主语,真正主语是 " ......
Configuration 'compile' is obsolete and has been replaced with 'implementati解决方案
Android Studio更新到3.1.2编译之前的项目直接抛出下面的异常,这让我很是头疼,经过一翻查找发现是我们配置文件中的API已经过期,我对过期的API进行修改就Over了 1、异常显示 Configuration ‘compile’ is obsolete and has been rep ......
[论文阅读] Learning Component-Level and Inter-Class Glyph Representation for few-shot Font Generation
Pre title: Learning Component-Level and Inter-Class Glyph Representation for few-shot Font Generation accepted: ICME 2023 paper: https://ieeexplore.ie ......
初中英语优秀范文100篇-035My Favourite City-我最喜欢的城市
PDF格式公众号回复关键字:SHCZFW035 记忆树 1 I like Shanghai best because it is different from other cities in China. 翻译 我最喜欢上海,因为它不同于中国其他城市。 简化记忆 上海 句子结构 1"I like S ......
bootloader and fireware
简介 bootloader扮演的角色 bootloader是一段代码,负责以下基本功能: 基础的硬件初始化。 从闪存、网络或其他类型的非易失性存储中加载二进制应用程序,通常是操作系统内核。 可能需要对应的二进制程序文件进行解压缩。 执行应用程序。 除了这些基本功能外,大多数引导加载程序还提供一个菜单 ......
config-ipv6-and-iptv
title: 中国移动宽带配置ipv6与IPTV author: Tokisaki Galaxy top: false cover: false toc: true comments: true mathjax: false noindex: false sitemap: true date: 20 ......
LandBench 1.0: a benchmark dataset and evaluation metrics for data-driven land surface variables prediction
李老师对于landbench的,基准模型进行的论文。 里面对于变量,数据集的描述,写论文可以用。 题目: “LandBench 1.0: a benchmark dataset and evaluation metrics for data-driven land surface variables ......
How to permanently delete a file stored in GIT (both from the local and remote repositories)?
First run git filter-branch -f --index-filter "git rm -rf --cached --ignore-unmatch FOLDERNAME" -- --all Then shrink the .git folder rm -rf .git/refs/ ......
Codeforces Round 638 (Div. 2)B. Phoenix and Beauty
B. Phoenix and Beauty 这道题目学到的东西: 从给出的数据范围观察,得到一些有用信息(峰哥教的) 考虑无解的情况‘ 其实这题考虑怎么操作是比较难的,如果能想出来满足条件的结果就比较好了(我在说什么我自己也不知道,算了直接看下面的图吧) 假设\(k=3\),下面是我们得到的结果数列 ......
CF1519F Chests and Keys
CF1519F Chests and Keys 给定 \(n,m\) 表示存在 \(n\) 个宝箱和 \(m\) 把钥匙,第 \(i\) 把钥匙需要 \(b_i\) 元,第 \(i\) 个宝箱内部有 \(a_i\) 元。 现在进行一场游戏,Bob 是本场游戏的玩家,而 Alice 则是场景布置者,A ......
(15-418)Lecture 5 Performance Optimization Part 1 Work Distribution and Scheduling
高性能编程的三个目标: 执行单元的负载均衡 减少线程、进程间的交流 减少额外开销 尽量先实现一个最简单的解决方案,之后对其扩展以提高性能。 Balancing the workload 理想情况下,所有处理器在整个程序执行期间都忙于计算。 根据Amdahl定律,程序中的串行部分的比例对最大加速比有很 ......
L2CAP(Logical Link Control and Adaptation Protocol)
逻辑链路(Logical Link):不是真实的物理链路(acl),上层的多个profile怎么表示连接呢? 就是通过逻辑链路,CID在逻辑链路的两端,举例: 1. 如本端和远端的SDP,SCID=0X40,DCID=0XB9,SCID=0X40和DCID=0XB9就表示一条逻辑链路; 2. 本端和 ......
Json.NET Converting between JSON and XML
Json.NET supports converting JSON to XML and vice versa using the XmlNodeConverter. Elements, attributes, text, comments, character data, processing i ......
[转]js实现口令加密算法之一PBEWithMD5AndDES(现在MD5和DES已不够安全,现应使用PBEwithSHA1and128bitAES-CBC-BC)
原文地址:javascript - 将 Java 的 PBEWithMD5AndDES 转换为 JavaScript - IT工具网 我正在尝试在 JavaScript 中复制 Java 代码。 下面是我的Java代码: public static String encrypt(String inp ......
[Ynoi2007]rfplca/[CF1491H] Yuezheng Ling and Dynamic Tree
题目描述 给定一棵大小为 \(n\) 的 \(1\) 为根节点的树,树用如下方式给出:输入 \(a_2,a_3,\dots,a_n\),保证 \(1\leq a_i<i\),将 \(a_i\) 与 \(i\) 连边形成一棵树。 接下来有 \(m\) 次操作,操作有两种: 1 l r x 令 \(a_ ......
Jellyfish and OEIS
Jellyfish and OEIS 题意 题面传送门 题解 恭恭敬敬给致远磕大头。 首先我们将原序列分割成很多块,使得每一块都是相对位置的排列。且这一块内不可分割出另外的块。 例如:\([3,1,2][5,4]\),而 \([1,2,3]\) 是不合法的,因为他可以被分割为 \([1][2][3] ......
CF1912G Great City Saint Petersburg记录
题目链接:https://codeforces.com/contest/1912/attachments/download/23419/icpc-nerc-2023-statements.pdf 题意简述 相信大家都听说过经典的接雨水问题。给定 \(n\) 个数作为初始的地砖高度分布 \(a_i\) ......
Hierarchical Clustering-based Personalized Federated Learning for Robust and Fair Human Activity Recognition-2023
任务:人类活动识别任务Human Activity Recognition HAR 指标:系统准确性、公平性、鲁棒性、可扩展性 方法:1. 提出一个带有层次聚类(针对鲁棒性和公平的HAR)个性化的FL框架FedCHAR;通过聚类(利用用户之间的内在相似关系)提高模型性能的准确性、公平性、鲁棒性。 2 ......
论文阅读-Self-supervised and Interpretable Data Cleaning with Sequence Generative Adversarial Networks
1. GARF 简介 代码地址:https://github.com/PJinfeng/Garf-master 基于 SeqGAN 提出了一种自监督、数据驱动的数据清洗框架——GARF。 GARF 的数据清洗分为两个步骤: 规则生成 (Rule generation with SeqGAN):利用 ......