not-lain commited on
Commit
86d0c35
1 Parent(s): f471efa

Push model using huggingface_hub.

Browse files
Files changed (3) hide show
  1. README.md +33 -0
  2. config.json +6 -0
  3. model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: pxia
3
+ tags:
4
+ - ann
5
+ - model_hub_mixin
6
+ - pxia
7
+ - pytorch_model_hub_mixin
8
+ ---
9
+
10
+ This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration.
11
+
12
+ Library: [pxia](https://github.com/not-lain/pxia)
13
+
14
+ ## how to load
15
+ ```
16
+ pip install pxia
17
+ ```
18
+
19
+ use the AutoModel class
20
+ ```python
21
+ from pxia AutoModel
22
+ model = AutoModel.from_pretrained("phxia/ann")
23
+ ```
24
+ or you can use the model class directly
25
+ ```python
26
+ from pxia import ANN
27
+ model = ANN.from_pretrained("phxia/ann")
28
+ ```
29
+
30
+ ## Contributions
31
+ Any contributions are welcome at https://github.com/not-lain/pxia.
32
+
33
+ <img src="https://huggingface.co/spaces/phxia/README/resolve/main/logo.png"/>
config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "cfg": {
3
+ "a": 2,
4
+ "b": 1
5
+ }
6
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed925e5a5b09bcba5c3846843c439704f8c6e92c1e4752981f2416812b8261aa
3
+ size 88