ACCC1380 commited on
Commit
551de70
1 Parent(s): b36275a

Upload lora5/Untitled.ipynb with huggingface_hub

Browse files
Files changed (1) hide show
  1. lora5/Untitled.ipynb +71 -0
lora5/Untitled.ipynb ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 5,
6
+ "id": "34e58d25-f8b6-48c4-980d-a453e4031425",
7
+ "metadata": {},
8
+ "outputs": [
9
+ {
10
+ "name": "stdout",
11
+ "output_type": "stream",
12
+ "text": [
13
+ " adding: Untitled.ipynb (deflated 74%)\n",
14
+ " adding: Untitled1.ipynb (deflated 21%)\n",
15
+ " adding: arknight_all_v2_pro-000001.safetensors^C\n",
16
+ "\n",
17
+ "\n",
18
+ "\n",
19
+ "zip error: Interrupted (aborting)\n"
20
+ ]
21
+ }
22
+ ],
23
+ "source": [
24
+ "!zip ./a.zip ./*"
25
+ ]
26
+ },
27
+ {
28
+ "cell_type": "code",
29
+ "execution_count": null,
30
+ "id": "c3d6136e-800d-4749-af84-1b6f8d410a32",
31
+ "metadata": {},
32
+ "outputs": [],
33
+ "source": [
34
+ "import wandb\n",
35
+ "\n",
36
+ "# 使用token登录wandb\n",
37
+ "wandb.login(key='6cdd066d56acd416b1c1680133e37589511d81f7')\n",
38
+ "\n",
39
+ "# 初始化项目\n",
40
+ "wandb.init(project=\"example_project\", entity=\"your_username\")\n",
41
+ "\n",
42
+ "# 上传文件到wandb\n",
43
+ "wandb.save('./a.zip')\n",
44
+ "\n",
45
+ "# 结束运行\n",
46
+ "wandb.finish()\n"
47
+ ]
48
+ }
49
+ ],
50
+ "metadata": {
51
+ "kernelspec": {
52
+ "display_name": "Python 3 (ipykernel)",
53
+ "language": "python",
54
+ "name": "python3"
55
+ },
56
+ "language_info": {
57
+ "codemirror_mode": {
58
+ "name": "ipython",
59
+ "version": 3
60
+ },
61
+ "file_extension": ".py",
62
+ "mimetype": "text/x-python",
63
+ "name": "python",
64
+ "nbconvert_exporter": "python",
65
+ "pygments_lexer": "ipython3",
66
+ "version": "3.8.10"
67
+ }
68
+ },
69
+ "nbformat": 4,
70
+ "nbformat_minor": 5
71
+ }