repository
stringlengths
6
104
sdk
stringclasses
5 values
license
stringlengths
2
25
βŒ€
likes
int64
1
9.3k
stabilityai/stable-diffusion
gradio
mit
9,303
HuggingFaceH4/open_llm_leaderboard
gradio
apache-2.0
6,094
dalle-mini/dalle-mini
static
apache-2.0
5,281
facebook/MusicGen
gradio
cc-by-nc-4.0
3,043
jbilcke-hf/ai-comic-factory
docker
null
2,797
AP123/IllusionDiffusion
gradio
openrail
2,647
pharmapsychotic/CLIP-Interrogator
gradio
mit
2,160
microsoft/HuggingGPT
gradio
null
2,068
Gustavosta/MagicPrompt-Stable-Diffusion
gradio
mit
1,537
camenduru-com/webui
gradio
null
1,495
DeepFloyd/IF
docker
other
1,487
sanchit-gandhi/whisper-jax
docker
null
1,426
suno/bark
gradio
cc-by-nc-4.0
1,420
ysharma/ChatGPT4
gradio
mit
1,327
mteb/leaderboard
gradio
null
1,312
damo-vilab/modelscope-text-to-video-synthesis
gradio
null
1,280
huggingface-projects/QR-code-AI-art-generator
gradio
null
1,278
CompVis/stable-diffusion-license
static
null
1,268
timbrooks/instruct-pix2pix
gradio
null
1,131
ysharma/Explore_llamav2_with_TGI
gradio
mit
1,116
akhaliq/AnimeGANv2
gradio
null
1,113
togethercomputer/OpenChatKit
static
null
1,019
anzorq/finetuned_diffusion
gradio
mit
1,001
openai/whisper
gradio
null
995
fffiloni/img-to-music
gradio
null
987
sczhou/CodeFormer
gradio
null
954
hysts/ControlNet
gradio
mit
932
DragGan/DragGan
gradio
null
892
fffiloni/CLIP-Interrogator-2
gradio
null
873
huggingface-projects/diffuse-the-rest
static
null
866
tiiuae/falcon-180b-demo
gradio
null
835
JohnSmith9982/ChuanhuChatGPT
gradio
gpl-3.0
825
hysts/ControlNet-v1-1
gradio
mit
814
Vision-CAIR/minigpt4
gradio
other
806
Logspace/Langflow
docker
mit
804
lnyan/stablediffusion-infinity
gradio
apache-2.0
764
facebook/seamless_m4t
gradio
null
764
huggingchat/chat-ui
docker
apache-2.0
761
google/sdxl
gradio
mit
759
HuggingFaceH4/starchat-playground
gradio
mit
751
merve/ChatGPT-prompt-generator
gradio
apache-2.0
745
microsoft/visual_chatgpt
gradio
osl-3.0
727
fffiloni/zeroscope
gradio
null
727
akhaliq/ArcaneGAN
gradio
null
719
coqui/xtts
gradio
null
692
haoheliu/audioldm-text-to-audio-generation
gradio
bigscience-openrail-m
675
lambdalabs/image-mixer-demo
gradio
openrail
655
vinthony/SadTalker
gradio
mit
654
runwayml/stable-diffusion-v1-5
gradio
mit
632
HuggingFaceH4/zephyr-chat
docker
mit
598
PKUWilliamYang/VToonify
gradio
null
582
Xintao/GFPGAN
gradio
apache-2.0
579
fffiloni/Image-to-Story
gradio
null
557
sd-concepts-library/stable-diffusion-conceptualizer
gradio
mit
548
Salesforce/BLIP2
gradio
bsd-3-clause
548
HuggingFaceH4/falcon-chat
gradio
apache-2.0
545
prodia/fast-stable-diffusion
gradio
mit
543
PaddlePaddle/ERNIE-ViLG
gradio
apache-2.0
529
zomehwh/vits-models
gradio
apache-2.0
522
CarperAI/StableVicuna
gradio
cc-by-nc-4.0
522
camenduru-com/webui-docker
docker
null
521
THUDM/GLM-130B
gradio
apache-2.0
512
CVPR/Image-Animation-using-Thin-Plate-Spline-Motion-Model
gradio
null
510
multimodalart/LoraTheExplorer
gradio
mit
506
multimodalart/latentdiffusion
gradio
mit
502
skytnt/moe-tts
gradio
mit
497
openai/point-e
gradio
null
495
uwnlp/guanaco-playground-tgi
gradio
null
491
CVPR/ml-talking-face
gradio
cc-by-nc-sa-4.0
471
darkstorm2150/Stable-Diffusion-Protogen-x3.4-webui
docker
null
465
tloen/alpaca-lora
gradio
apache-2.0
453
multimodalart/dreambooth-training
gradio
mit
452
runwayml/stable-diffusion-inpainting
gradio
null
447
lmsys/chatbot-arena-leaderboard
gradio
apache-2.0
444
jbilcke-hf/AI-WebTV
docker
null
441
huggingface-projects/diffusers-gallery
static
mit
440
Xenova/whisper-web
static
null
438
Salesforce/BLIP
gradio
bsd-3-clause
432
fffiloni/Pix2Pix-Video
gradio
null
432
Anonymous-sub/Rerender
gradio
null
430
nielsr/comparing-captioning-models
gradio
null
419
fffiloni/ControlNet-Video
gradio
null
411
jeffistyping/Youtube-Whisperer
gradio
null
408
BlinkDL/RWKV-World-7B
gradio
apache-2.0
405
hysts/Shap-E
gradio
mit
405
Sanster/Lama-Cleaner-lama
gradio
apache-2.0
403
Yuliang/ICON
gradio
null
402
kakaobrain/karlo
gradio
null
398
elevenlabs/tts
gradio
null
398
vumichien/Whisper_speaker_diarization
gradio
null
396
BilalSardar/Voice-Cloning
gradio
mit
390
lambdalabs/stable-diffusion-image-variations
gradio
mit
389
akhaliq/GFPGAN
gradio
apache-2.0
382
shi-labs/OneFormer
docker
mit
381
daspartho/prompt-extend
gradio
apache-2.0
380
BlinkDL/ChatRWKV-gradio
gradio
apache-2.0
377
shi-labs/Versatile-Diffusion
gradio
mit
371
ysharma/OpenAI_TTS_New
gradio
mit
371
Plachta/VITS-Umamusume-voice-synthesizer
gradio
null
368
project-baize/chat-with-baize
gradio
cc-by-nc-4.0
365

image/png

πŸ“Š Dataset Description

This dataset comprises code files of Huggingface Spaces that have more than 0 likes as of November 10, 2023. This dataset contains various programming languages totaling in 672 MB of compressed and 2.05 GB of uncompressed data.

πŸ“ Data Fields

Field Type Description
repository string Huggingface Spaces repository names.
sdk string Software Development Kit of the space.
license string License type of the space.

🧩 Data Structure

Data structure of the data.

spaces/
β”œβ”€ author1/
β”‚  β”œβ”€ space1
β”‚  β”œβ”€ space2
β”œβ”€ author2/
β”‚  β”œβ”€ space1
β”‚  β”œβ”€ space2
β”‚  β”œβ”€ space3

πŸ›οΈ Licenses

Huggingface Spaces contains a variety of licenses. Here is the list of the licenses that this dataset contains:

[
   'None',
   'mit',
   'apache-2.0',
   'openrail',
   'gpl-3.0',
   'other',
   'afl-3.0',
   'unknown',
   'creativeml-openrail-m',
   'cc-by-nc-4.0',
   'cc-by-4.0',
   'cc',
   'cc-by-nc-sa-4.0',
   'bigscience-openrail-m',
   'bsd-3-clause',
   'agpl-3.0',
   'wtfpl',
   'gpl',
   'artistic-2.0',
   'lgpl-3.0',
   'cc-by-sa-4.0',
   'Configuration error',
   'bsd',
   'cc-by-nc-nd-4.0',
   'cc0-1.0',
   'unlicense',
   'llama2',
   'bigscience-bloom-rail-1.0',
   'gpl-2.0',
   'bsd-2-clause',
   'osl-3.0',
   'cc-by-2.0',
   'cc-by-3.0',
   'cc-by-nc-3.0',
   'cc-by-nc-2.0',
   'cc-by-nd-4.0',
   'openrail++',
   'bigcode-openrail-m',
   'bsd-3-clause-clear',
   'eupl-1.1',
   'cc-by-sa-3.0',
   'mpl-2.0',
   'c-uda',
   'gfdl',
   'cc-by-nc-sa-2.0',
   'cc-by-2.5',
   'bsl-1.0',
   'odc-by',
   'deepfloyd-if-license',
   'ms-pl',
   'ecl-2.0',
   'pddl',
   'ofl-1.1',
   'lgpl-2.1',
   'postgresql',
   'lppl-1.3c',
   'ncsa',
   'cc-by-nc-sa-3.0'
]

πŸ“Š Dataset Statistics

Language File Extension File Counts File Size (MB) Line Counts
Python .py 141,560 1079.0 28,653,744
SQL .sql 21 523.6 645
JavaScript .js 6,790 369.8 2,137,054
Markdown .md 63,237 273.4 3,110,443
HTML .html 1,953 265.8 516,020
C .c 1,320 132.2 3,558,826
Go .go 429 46.3 6,331
CSS .css 3,097 25.6 386,334
C Header .h 2,824 20.4 570,948
C++ .cpp 1,117 15.3 494,939
TypeScript .ts 4,158 14.8 439,551
TSX .tsx 4,273 9.4 306,416
Shell .sh 3,294 5.5 171,943
Perl .pm 92 4.2 128,594
C# .cs 22 3.9 41,265

πŸ–₯️ Language

image/png

πŸ“ Size

image/png

πŸ“ Line Count

image/png

πŸ€— Huggingface Spaces Statistics

πŸ› οΈ Software Development Kit (SDK)

Software Development Kit pie chart.

image/png

πŸ›οΈ License

License chart.

image/png

πŸ“… Dataset Creation

This dataset was created in these steps:

  1. Scraped all spaces using the Huggingface Hub API.
from huggingface_hub import HfApi
api = HfApi()

spaces = api.list_spaces(sort="likes", full=1, direction=-1)
  1. Filtered spaces with more than 0 likes.
a = {}

for i in tqdm(spaces):
  i = i.__dict__
  if i['likes'] > 0:
    try:
      try:
          a[i['id']] = {'sdk': i['sdk'], 'license': i['cardData']['license'], 'likes': i['likes']}
      except KeyError:
        a[i['id']] = {'sdk': i['sdk'], 'license': None, 'likes': i['likes']}
    except:
      a[i['id']] = {'sdk': "Configuration error", 'license': "Configuration error", 'likes': i['likes']}

data_list = [{'repository': key, 'sdk': value['sdk'], 'license': value['license'], 'likes': value['likes']} for key, value in a.items()]

df = pd.DataFrame(data_list)
  1. Cloned spaces locally.
from huggingface_hub import snapshot_download

programming = ['.asm', '.bat', '.cmd', '.c', '.h', '.cs', '.cpp', '.hpp', '.c++', '.h++', '.cc', '.hh', '.C', '.H', '.cmake', '.css', '.dockerfile', 'Dockerfile', '.f90', '.f', '.f03', '.f08', '.f77', '.f95', '.for', '.fpp', '.go', '.hs', '.html', '.java', '.js', '.jl', '.lua', 'Makefile', '.md', '.markdown', '.php', '.php3', '.php4', '.php5', '.phps', '.phpt', '.pl', '.pm', '.pod', '.perl', '.ps1', '.psd1', '.psm1', '.py', '.rb', '.rs', '.sql', '.scala', '.sh', '.bash', '.command', '.zsh', '.ts', '.tsx', '.tex', '.vb']
pattern = [f"*{i}" for i in programming]

for i in repos:
  snapshot_download(i, repo_type="space", local_dir=f"spaces/{i}", allow_patterns=pattern)
  1. Processed the data to derive statistics.
Downloads last month
759