06 2023 档案

摘要:1. kaggle服务器16G显卡一周40小时. 所以我们直接干一堆谷歌账号即可 2. 谷歌账号的注册: 我们需要FQcolab for windows可以做到. 然后我们注册好账号后.我们注册4个账号. 注册方法. 打开chrome 点最下面的添加按钮.然后一直下一步即可.无脑注册. 3. 为Ch 阅读全文

posted @ 2023-06-29 19:35 张博的博客 阅读(295) 评论(0) 推荐(0)

摘要:http://www.zhangshiyu.com/post/61566.html 阅读全文

posted @ 2023-06-29 18:58 张博的博客 阅读(135) 评论(0) 推荐(0)

摘要:import os import io import json import torch from PIL import Image from flask import Flask, jsonify, request, render_template from flask_cors import C 阅读全文

posted @ 2023-06-13 16:54 张博的博客 阅读(229) 评论(0) 推荐(0)

摘要:import gradio as gr demo = gr.Blocks(css="""#btn {color: red} .abc {font-family: "Comic Sans MS", "Comic Sans", cursive !important}""") a=333 #这里面加上保证 阅读全文

posted @ 2023-06-08 10:11 张博的博客 阅读(39) 评论(0) 推荐(0)

摘要:#Setup envirnment #大概使用59个G内存. conda create -n langchain python=3.8.1 -y conda activate langchain # 拉取仓库 git clone https://github.com/imClumsyPanda/la 阅读全文

posted @ 2023-06-06 15:14 张博的博客 阅读(479) 评论(2) 推荐(0)

摘要:#Setup envirnment conda create -n langchain python=3.8.1 -y conda activate langchain # 拉取仓库 git clone https://github.com/imClumsyPanda/langchain-ChatG 阅读全文

posted @ 2023-06-06 14:34 张博的博客 阅读(136) 评论(0) 推荐(0)

摘要:#Setup envirnment !conda create -n langchain python=3.8.1 -y !conda activate langchain # 拉取仓库 #!git clone https://github.com/imClumsyPanda/langchain-C 阅读全文

posted @ 2023-06-06 14:26 张博的博客 阅读(329) 评论(0) 推荐(0)

摘要:#=写入项目临时代码 #注意代码前面加r ,防止转移的干扰 aaa=r''' #!/usr/bin/env python # coding=utf-8 # Copyright 2023 The HuggingFace Inc. team. All rights reserved. # # Licen 阅读全文

posted @ 2023-06-05 20:13 张博的博客 阅读(156) 评论(0) 推荐(0)

摘要:2023-06-05,10点24colab: argparse: #args = parse_args() parser.parse_known_args()[0] 阅读全文

posted @ 2023-06-05 10:24 张博的博客 阅读(31) 评论(0) 推荐(0)

摘要:assume cs:code ; 记忆点: 1.主函数, 子函数都需要自己维护bp和sp(当然不维护也行,但是非常容易出bug,所以还是要强烈按照下面子函数头,子函数尾.主函数头尾这么写,最安全.) 2. 函数ip都有压栈出站自动维护但是自己要算明白栈的偏移量. code segment radd 阅读全文

posted @ 2023-06-01 10:29 张博的博客 阅读(25) 评论(0) 推荐(0)

导航