Upload folder using huggingface_hub
Browse files- README.md +0 -4
- config.json +2 -1
- generation_config.json +1 -1
- model.safetensors +2 -2
README.md
CHANGED
@@ -45,8 +45,4 @@ pipe = pipeline('text-generation', model=model, tokenizer=tokenizer, do_sample=F
|
|
45 |
print(pipe('Hello World!'))
|
46 |
|
47 |
model.save_pretrained(save_path)
|
48 |
-
|
49 |
-
os.system(f'ls -alh {save_path}')
|
50 |
-
create_repo(repo_id, exist_ok=True)
|
51 |
-
upload_folder(repo_id=repo_id, folder_path=save_path)
|
52 |
```
|
|
|
45 |
print(pipe('Hello World!'))
|
46 |
|
47 |
model.save_pretrained(save_path)
|
|
|
|
|
|
|
|
|
48 |
```
|
config.json
CHANGED
@@ -6,6 +6,7 @@
|
|
6 |
"attention_dropout": 0.0,
|
7 |
"bos_token_id": 1,
|
8 |
"eos_token_id": 2,
|
|
|
9 |
"hidden_act": "silu",
|
10 |
"hidden_size": 8,
|
11 |
"initializer_range": 0.02,
|
@@ -20,7 +21,7 @@
|
|
20 |
"sliding_window": null,
|
21 |
"tie_word_embeddings": false,
|
22 |
"torch_dtype": "bfloat16",
|
23 |
-
"transformers_version": "4.
|
24 |
"use_cache": true,
|
25 |
"vocab_size": 32768
|
26 |
}
|
|
|
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": 8,
|
12 |
"initializer_range": 0.02,
|
|
|
21 |
"sliding_window": null,
|
22 |
"tie_word_embeddings": false,
|
23 |
"torch_dtype": "bfloat16",
|
24 |
+
"transformers_version": "4.43.0.dev0",
|
25 |
"use_cache": true,
|
26 |
"vocab_size": 32768
|
27 |
}
|
generation_config.json
CHANGED
@@ -2,5 +2,5 @@
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
-
"transformers_version": "4.
|
6 |
}
|
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
+
"transformers_version": "4.43.0.dev0"
|
6 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dfd76f04308538fbac8f47145851c2d13cec912f17774524c0bc127ec3bc859a
|
3 |
+
size 1103072
|