CIS8398_Project Presentation

Group2: AI Driven ‘Likes’ Prediction of Hugging Face Models


Prashasti Patil | Rishabh Jain | Surabhi Chanchal | Tejaswini Bhosle | Navya Madhuri Buyyana Pragada

2023-12-06

Recap Project Proposal

Peer Comments Summary

Hugging Face Model Dataset

knitr::kable(head(new_df,10)) 
model_id private downloads created_At pipeline_tag transformers endpoints_compatible pytorch autotrain_compatible license.apache.2.0 bert text.generation.inference tensorboard text.classification en jax generated_from_trainer text.generation text2text.generation gpt2 has_space model.index tf automatic.speech.recognition fill.mask likes
alireza7/ARMAN-SS-100-persian-base-wiki-summary 0 3 2022-03-02 23:29:05 text2text-generation 1 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1
allenai/t5-small-squad11 0 3 2022-03-02 23:29:05 text2text-generation 1 1 1 1 0 0 1 0 0 1 1 0 0 1 0 1 0 0 0 0 1
allenai/wmt16-en-de-dist-6-1 0 3 2022-03-02 23:29:05 translation 1 1 1 1 1 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 1
amine/bert-base-5lang-cased 0 3 2022-03-02 23:29:05 fill-mask 1 0 1 1 1 1 0 0 0 1 1 0 0 0 0 0 0 1 0 1 1
anegi/autonlp-dialogue-summariztion-583416409 0 3 2022-03-02 23:29:05 text2text-generation 1 1 1 1 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 1
arampacha/DialoGPT-medium-simpsons 0 3 2022-03-02 23:29:05 conversational 1 1 1 1 0 0 1 0 0 0 0 0 1 0 1 1 0 0 0 0 1
arampacha/wav2vec2-large-xlsr-ukrainian 0 3 2022-03-02 23:29:05 automatic-speech-recognition 1 1 1 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 1 0 1
arampacha/wav2vec2-xls-r-1b-hy 0 3 2022-03-02 23:29:05 automatic-speech-recognition 1 1 1 0 1 0 0 1 0 0 0 1 0 0 0 0 1 0 1 0 1
atkh6673/DialoGPT-small-trump 0 3 2022-03-02 23:29:05 conversational 1 1 1 1 0 0 1 0 0 0 0 0 1 0 1 0 0 0 0 0 1
ayush19/rick-sanchez 0 3 2022-03-02 23:29:05 conversational 1 1 1 1 0 0 1 0 0 0 0 0 1 0 1 0 0 0 0 0 1

Data Summary

Results from Data Exploration

Below are some key aspects of the data exploration:

Example data and Predictors

Analytics Plan

Exploratory Data Analysis

# Create a bar plot
ggplot(tags_df, aes(x = reorder(Tag, -Frequency), y = Frequency, fill = Tag)) +
  geom_bar(stat = "identity") +
  theme(axis.text.x = element_text(angle = 45, hjust = 1)) +
  labs(title = "Top 20 Tags across Models", x = "Tag", y = "Count")

ggplot(top_20_tags, aes(x = reorder(pipeline_tag, -n), y = n)) +
  geom_bar(stat = "identity", fill = "skyblue", color = "black") +
  labs(title = "Top 20 Pipeline Tags", x = "Pipeline Tags", y = "Count") +
  theme(axis.text.x = element_text(angle = 45, hjust = 1))

Exploratory Data Analysis (Cont..)

ggplot(access_counts_df, aes(x = "", y = Freq, fill = Var1)) +
  geom_bar(stat = "identity", width = 1, color = "white") +
  geom_text(aes(label = ifelse(percentage >= threshold, paste0(round(percentage, 1), "%"), "")), 
            position = position_stack(vjust = 0.5), color = "black", size = 7) +
  coord_polar("y") +
  labs(title = "Public Vs Private Repository") +
  scale_fill_manual(values = c("Public" = alpha("blue" , 0.5), "Private" = "red")) +
  theme_void()

Exploratory Data Analysis Cntd..

square_width = 5
corrplot(correlation_matrix, method = "number" , tl.cex = 0.7 , col = my_colors , addrect = 2, 
         number.cex = 0.9 )

Exploratory Data Analysis cont

# Print the interactive plot
p

XAI

plot(h2o_exp_pdp_likes, geom = "profiles") +
  ggtitle("Breakdown Plot for New Observation")

ML Procedure Summary

Key Takeaways