Delete .ipynb_checkpoints
Browse files
.ipynb_checkpoints/config-checkpoint.json
DELETED
@@ -1,29 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"architectures": [
|
3 |
-
"LlamaForCausalLM"
|
4 |
-
],
|
5 |
-
"attention_bias": false,
|
6 |
-
"attention_dropout": 0.0,
|
7 |
-
"bos_token_id": 1,
|
8 |
-
"eos_token_id": 2,
|
9 |
-
"head_dim": 128,
|
10 |
-
"hidden_act": "silu",
|
11 |
-
"hidden_size": 8192,
|
12 |
-
"initializer_range": 0.02,
|
13 |
-
"intermediate_size": 28672,
|
14 |
-
"max_position_embeddings": 4096,
|
15 |
-
"mlp_bias": false,
|
16 |
-
"model_type": "llama",
|
17 |
-
"num_attention_heads": 64,
|
18 |
-
"num_hidden_layers": 80,
|
19 |
-
"num_key_value_heads": 8,
|
20 |
-
"pretraining_tp": 1,
|
21 |
-
"rms_norm_eps": 1e-05,
|
22 |
-
"rope_scaling": null,
|
23 |
-
"rope_theta": 10000,
|
24 |
-
"tie_word_embeddings": false,
|
25 |
-
"torch_dtype": "float16",
|
26 |
-
"transformers_version": "4.55.0",
|
27 |
-
"use_cache": true,
|
28 |
-
"vocab_size": 32016
|
29 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.ipynb_checkpoints/upload-checkpoint.py
DELETED
@@ -1,17 +0,0 @@
|
|
1 |
-
from huggingface_hub import HfApi
|
2 |
-
from concurrent.futures import ThreadPoolExecutor
|
3 |
-
import os
|
4 |
-
|
5 |
-
api = HfApi()
|
6 |
-
files = [f"model-000{i:02d}-of-00029.safetensors" for i in range(7, 30)]
|
7 |
-
|
8 |
-
def upload_file(filepath):
|
9 |
-
return api.upload_file(
|
10 |
-
path_or_fileobj=filepath,
|
11 |
-
path_in_repo=filepath,
|
12 |
-
repo_id="emissary-ai/Python-Tab-Completion-CodeLlama-70b",
|
13 |
-
repo_type="model"
|
14 |
-
)
|
15 |
-
|
16 |
-
with ThreadPoolExecutor(max_workers=50) as executor:
|
17 |
-
executor.map(upload_file, files)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|