khulnasoft commited on
Commit
f8cc7ea
1 Parent(s): 94bad0e

Create models/download.ps1

Browse files
Files changed (1) hide show
  1. models/download.ps1 +60 -0
models/download.ps1 ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ $models = @(
2
+ "nlpconnect/vit-gpt2-image-captioning",
3
+ "lllyasviel/ControlNet",
4
+ "lllyasviel/sd-controlnet-canny",
5
+ "lllyasviel/sd-controlnet-depth",
6
+ "lllyasviel/sd-controlnet-hed",
7
+ "lllyasviel/sd-controlnet-mlsd",
8
+ "lllyasviel/sd-controlnet-openpose",
9
+ "lllyasviel/sd-controlnet-scribble",
10
+ "lllyasviel/sd-controlnet-seg",
11
+ "runwayml/stable-diffusion-v1-5",
12
+ "damo-vilab/text-to-video-ms-1.7b",
13
+ "microsoft/speecht5_asr",
14
+ "JorisCos/DCCRNet_Libri1Mix_enhsingle_16k",
15
+ "espnet/kan-bayashi_ljspeech_vits",
16
+ "facebook/detr-resnet-101",
17
+ "microsoft/speecht5_hifigan",
18
+ "microsoft/speecht5_vc",
19
+ "openai/whisper-base",
20
+ "Intel/dpt-large",
21
+ "facebook/detr-resnet-50-panoptic",
22
+ "facebook/detr-resnet-50",
23
+ "google/owlvit-base-patch32",
24
+ "impira/layoutlm-document-qa",
25
+ "ydshieh/vit-gpt2-coco-en",
26
+ "dandelin/vilt-b32-finetuned-vqa",
27
+ "lambdalabs/sd-image-variations-diffusers",
28
+ "facebook/maskformer-swin-base-coco",
29
+ "Intel/dpt-hybrid-midas"
30
+ )
31
+
32
+ $CURRENT_DIR = Get-Location
33
+
34
+ foreach ($model in $models) {
35
+ Write-Host "----- Downloading from https://huggingface.co/$model -----"
36
+ if (Test-Path $model) {
37
+ Set-Location $model
38
+ git pull
39
+ git lfs pull
40
+ Set-Location $CURRENT_DIR
41
+ } else {
42
+ git clone "https://huggingface.co/$model" $model
43
+ }
44
+ }
45
+
46
+ $datasets = @(
47
+ "Matthijs/cmu-arctic-xvectors"
48
+ )
49
+
50
+ foreach ($dataset in $datasets) {
51
+ Write-Host "----- Downloading from https://huggingface.co/datasets/$dataset -----"
52
+ if (Test-Path $dataset) {
53
+ Set-Location $dataset
54
+ git pull
55
+ git lfs pull
56
+ Set-Location $CURRENT_DIR
57
+ } else {
58
+ git clone "https://huggingface.co/datasets/$dataset" $dataset
59
+ }
60
+ }