Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,49 @@
|
|
1 |
-
---
|
2 |
-
license: apache-2.0
|
3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
---
|
4 |
+
---
|
5 |
+
license: apache-2.0
|
6 |
+
---
|
7 |
+
from
|
8 |
+
https://huggingface.co/bartowski/Llama-3.1-Nemotron-70B-Instruct-HF-GGUF/tree/main
|
9 |
+
|
10 |
+
|
11 |
+
!apt-get install aria2
|
12 |
+
!aria2c -x 16 -s 16 <URL>
|
13 |
+
|
14 |
+
|
15 |
+
|
16 |
+
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
+
|
21 |
+
|
22 |
+
|
23 |
+
!./llama-gguf-split --merge Llama-3.1-Nemotron-70B-Instruct-HF-Q8_0-00001-of-00002.gguf Nemotron-70B-Instruct-HF-Q8_0.gguf
|
24 |
+
|
25 |
+
|
26 |
+
|
27 |
+
!/content/llama.cpp/llama-gguf-split --split-max-size 10G /content/llama.cpp/Nemotron-70B-Instruct-HF-Q8_0.gguf /content/Nemotron-70B-Instruct-HF-Q8
|
28 |
+
|
29 |
+
from huggingface_hub import upload_folder
|
30 |
+
|
31 |
+
# مسار المجلد المراد رفعه
|
32 |
+
folder_path = "/content/split_model" # استبدل هذا بالمسار الصحيح
|
33 |
+
|
34 |
+
# اسم المستودع
|
35 |
+
repo_id = "sdyy/Nemotron-70B-Instruct-HF-Q8_8parts"
|
36 |
+
|
37 |
+
# اسم المجلد في المستودع (اختياري)
|
38 |
+
repo_folder_name = "split_model" # استبدل هذا بالاسم الذي تريده
|
39 |
+
|
40 |
+
# توكن Hugging Face الخاص بك
|
41 |
+
token = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
42 |
+
|
43 |
+
# رفع المجلد
|
44 |
+
upload_folder(
|
45 |
+
folder_path=folder_path,
|
46 |
+
repo_id=repo_id,
|
47 |
+
repo_type="model",
|
48 |
+
token=token,
|
49 |
+
)
|