not-lain commited on
Commit
8fa0b7d
·
verified ·
1 Parent(s): ccbe83f

Push model using huggingface_hub.

Browse files
Files changed (3) hide show
  1. README.md +31 -0
  2. config.json +7 -0
  3. model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: pxia
3
+ tags:
4
+ - hannibal
5
+ - model_hub_mixin
6
+ - pxia
7
+ - pytorch_model_hub_mixin
8
+ - text-generation
9
+ ---
10
+
11
+ This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration.
12
+
13
+ Library: [pxia](https://github.com/not-lain/pxia)
14
+
15
+ ## how to load
16
+ ```
17
+ pip install pxia
18
+ ```
19
+
20
+ ```python
21
+ from pxia import GPT2
22
+ model = GPT2.from_pretrained("phxia/GPT2")
23
+ ```
24
+
25
+ ## Contributions
26
+ Any contributions are welcome at https://github.com/not-lain/pxia
27
+
28
+ ## Myth
29
+ A phoenix is a legendary creature that was part of the ancient Phoenician empire, known for its barbarian warriors who with their general Hannibal fought against the Roman empire.
30
+
31
+ <img src="https://huggingface.co/spaces/phxia/README/resolve/main/logo.png"/>
config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "block_size": 1024,
3
+ "n_embed": 768,
4
+ "n_head": 12,
5
+ "n_layer": 12,
6
+ "vocab_size": 50257
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f576213a6f2a96767d586d534cdbb9c35fbae628cb999dcf1b849420d2567db
3
+ size 702496792