-
Notifications
You must be signed in to change notification settings - Fork 0
/
Anleitungen.html
122 lines (112 loc) · 5.06 KB
/
Anleitungen.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Guide: GitHub and Hugging Face Sign-up</title>
<style>
body {
font-family: Arial, sans-serif;
line-height: 1.6;
padding: 20px;
max-width: 800px;
margin: 0 auto;
}
h1 {
color: #333;
}
h2 {
color: #666;
}
ol {
padding-left: 20px;
}
li {
margin-bottom: 10px;
}
img {
max-width: 100%;
height: auto;
margin: 20px 0;
border: 1px solid #ddd;
border-radius: 4px;
padding: 5px;
}
.language-section {
margin-bottom: 30px;
padding: 15px;
background-color: #f8f9fa;
border-radius: 5px;
}
</style>
</head>
<body>
<h1>1: GitHub and Hugging Face Sign-up</h1>
<h2> GitHub Sign-up</h2>
<ol>
<li>Open the GitHub website: <a href="https://github.com">https://github.com</a></li>
<li>Click on "Sign up" in the upper right corner.</li>
<img src="Images/githup_signup.png" alt="GitHub Sign-up Page">
<li>Enter your university email address.</li>
<li>Create a password and choose a username.</li>
<li>Follow the prompts to create your personal account.</li>
<li>During sign up, you'll be asked to verify your email address. Without a verified email address, you won't be able to complete some basic GitHub tasks, such as creating a repository.</li>
</ol>
<h2> Hugging Face Sign-up with GitHub Account</h2>
<ol>
<li>Visit the Hugging Face website: <a href="https://huggingface.co">https://huggingface.co</a></li>
<li>Click on "Sign up" in the upper right corner.</li>
<li>On the sign-up page, you'll see a form with the following fields:
<ul>
<li>Email Address</li>
<li>Password</li>
</ul>
</li>
<li>Click on the "Next" button.</li>
<li>Complete your account. You can also connect the account with GitHub by entering your GitHub username.</li>
<img src="Images/hugging_face.png" alt="Hugging Face Sign-up Page">
<li>After completing the sign-up process, you can log in to Hugging Face using your email address and password.</li>
</ol>
<h1>2. How to Create a GitHub Repository</h1>
<h2> Create a New Repository on GitHub</h2>
<ol>
<li>Log in to your GitHub account.</li>
<li>Click the '+' icon in the top right corner of the page.</li>
<img src="Images/repositpory.png" alt="GitHub Repository">
<li>Select "New repository" from the dropdown menu.</li>
<li>Fill in the repository name.</li>
<li>(Optional) Add a description for your repository.</li>
<li>Choose whether the repository should be public or private.</li>
<li>(Optional) Select "Initialize this repository with a README" (here you can explain what this repository is about).</li>
<li>Click "Create repository".</li>
</ol>
<h2> Import Colab Notebooks into your GitHub Repository</h2>
<ol>
<li>In Colab, go to <code>File</code> > <code>Save a copy in GitHub</code>.</li>
<li>If you haven't connected your GitHub account, you'll be prompted to do so.</li>
<li>Choose the repository and file path where you want to save the notebook.</li>
<li>Add a commit message and click "OK".</li>
</ol>
<h1>3. How to Add Collaborators to Your Repository</h1>
<ol>
<li>Navigate to the main page of the repository on GitHub.</li>
<li>Under your repository name, select <strong>Settings</strong>. If the "Settings" tab isn't visible, select <strong>Settings</strong> from the dropdown menu.</li>
<li>In the sidebar under the "Access" section, select <strong>Collaborators</strong>.</li>
<li>Click <strong>Add people</strong>.</li>
<li>In the search field, start typing the name of the person you want to invite, then click their name in the list of matches.</li>
<li>Click <strong>Add NAME to REPOSITORY</strong>.</li>
<li>The user will receive an email inviting them to the repository. Once they accept the invitation, they will have collaborator access to your repository.</li>
</ol>
<h1>4. How to Create a HuggingFace Token</h1>
<ol>
<li>Log in to your Hugging Face account.</li>
<li>Click on your profile name in the upper right corner and select "Settings".</li>
<li>Choose "Access Tokens" from the left menu.</li>
<img src="Images/token.png" alt="Hugging Face Token Page">
<li>Click on "Create new token".</li>
<li>Enter a name for your token and select the desired permissions.</li>
<li>Click on "Create".</li>
<li>Copy the generated token and store it securely. It will only be shown once.</li>
</ol>
</body>
</html>