volodymyrs commited on
Commit
8e85c37
1 Parent(s): 4fde1c0

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. README.md +31 -0
  2. apache-tomcat-9.0.80-src.zip +3 -0
  3. new_file.json +1 -0
  4. upload_file.pyt +9 -0
README.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ # Example metadata to be added to a model card.
3
+ # Full model card template at https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/modelcard_template.md
4
+ language:
5
+ - fr
6
+ - en
7
+ license: apache-2.0
8
+ library_name: allennlp
9
+ tags:
10
+ - audio
11
+ - automatic-speech-recognition
12
+ - speech
13
+ - allennlp
14
+ model-index:
15
+ - name: small_model
16
+ results:
17
+ - task:
18
+ type: test_model_type
19
+ dataset:
20
+ type: any_dataset_type
21
+ name: any_dataset_name
22
+ metrics:
23
+ - type: metric_type
24
+ value: metric_name
25
+ ---
26
+
27
+ This markdown file contains the spec for the modelcard metadata regarding evaluation parameters. When present, and only then, 'model-index', 'datasets' and 'license' contents will be verified when git pushing changes to your README.md file.
28
+ Valid license identifiers can be found in [our docs](https://huggingface.co/docs/hub/repositories-licenses).
29
+
30
+ For the full model card template, see: [https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/modelcard_template.md](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/modelcard_template.md).
31
+
apache-tomcat-9.0.80-src.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6602aa4e08eadac3bb0420e5da9bb58261a93dcc384da74ee86328016cc862fd
3
+ size 12628127
new_file.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"name": "after-next"}
upload_file.pyt ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ from huggingface_hub import HfApi
2
+ api = HfApi()
3
+ api.upload_file(
4
+ path_or_fileobj="README.md",
5
+ path_in_repo="README.md",
6
+ repo_id="REPO_ID",
7
+ revision="revision111",
8
+ repo_type="model"
9
+ )