ayjays132's picture
Update README.md
4c7e66c verified
|
raw
history blame
15.2 kB
---
tags:
- image-generation
- generative-model
- multimodal
- SOTA
model_name: CustomImageGenerator
model_type: image-generation
description: >
CustomImageGenerator is a state-of-the-art multimodal generative model based
on the GPT-2 architecture, capable of generating high-quality images from
textual prompts. The model combines advanced techniques from natural language
processing (NLP) and computer vision to produce visually coherent and
contextually relevant images.
architecture: GPT-2
tasks:
- image-generation
references:
- title: Generative Pre-trained Transformer 2.0
url: >
https://cdn.openai.com/better-language-models/language_models_are_unsupervised_multitask_learners.pdf
- title: Learning to Generate Images from Text
url: https://arxiv.org/abs/1511.02793
- title: Stable Diffusion Models for Image Generation
url: https://arxiv.org/abs/2105.05233
related_models:
- name: BigGAN
description: State-of-the-art generative adversarial network (GAN) for image generation.
url: https://github.com/ajbrock/BigGAN-PyTorch
- name: CLIP
description: >
Contrastive Language-Image Pre-training model for understanding images and
text.
url: https://github.com/openai/CLIP
language:
- en
license: apache-2.0
---
<style>
/* General Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&display=swap');
body {
font-family: 'Montserrat', sans-serif;
background-color: #121212;
margin: 0;
padding: 20px;
line-height: 1.6;
color: #e0e0e0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
border-radius: 10px;
background: rgba(255, 255, 255, 0.05);
}
.container {
max-width: 900px;
margin: 20px auto;
padding: 40px;
background-color: #1e1e1e;
border-radius: 20px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
overflow: hidden;
animation: fadeIn 1s ease-in-out;
border: 2px solid #333;
}
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
.section {
margin-bottom: 60px;
padding: 20px;
border-radius: 10px;
background: rgba(255, 255, 255, 0.05);
transition: background 0.3s ease, transform 0.3s ease;
}
.section:hover {
background: rgba(255, 255, 255, 0.1);
transform: translateY(-5px);
}
.section-header {
text-align: center;
margin-bottom: 40px;
animation: slideIn 1s ease-in-out;
border-bottom: 2px solid #333;
padding-bottom: 10px;
position: relative;
}
@keyframes slideIn {
0% {
transform: translateX(-100%);
opacity: 0;
}
100% {
transform: translateX(0);
opacity: 1;
}
}
.section-title {
font-size: 36px;
font-weight: 800;
margin-bottom: 20px;
text-transform: uppercase;
letter-spacing: 2px;
color: #e0e0e0;
animation: fadeIn 1s ease-in-out;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}
.section-description {
font-size: 18px;
line-height: 1.8;
color: #b0b0b0;
animation: fadeIn 1s ease-in-out;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.trendy-feature h1 {
font-size: 36px;
margin-bottom: 20px;
color: #333;
}
/* Carousel Styles */
.carousel {
position: relative;
width: 100%;
max-width: 600px;
margin: auto;
overflow: hidden;
}
.carousel-inner {
display: flex;
width: 100%;
transition: transform 0.5s ease;
}
.carousel-item {
min-width: 100%;
box-sizing: border-box;
}
.carousel img {
width: 100%;
display: block;
}
.carousel-controls {
position: absolute;
top: 50%;
width: 100%;
display: flex;
justify-content: space-between;
transform: translateY(-50%);
}
.carousel-control-prev,
.carousel-control-next {
background-color: rgba(0, 0, 0, 0.5);
color: white;
border: none;
padding: 10px;
cursor: pointer;
}
.dot-container {
text-align: center;
padding: 10px;
}
.dot {
height: 15px;
width: 15px;
margin: 0 2px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
transition: background-color 0.6s ease;
}
.active,
.dot:hover {
background-color: #717171;
}
.detail {
display: flex;
align-items: center;
margin-bottom: 20px;
color: #e0e0e0;
animation: fadeIn 1s ease-in-out;
padding: 10px;
border-radius: 8px;
transition: background 0.3s ease, transform 0.3s ease;
}
.detail:hover {
background: rgba(255, 255, 255, 0.1);
transform: translateY(-5px);
}
.detail-icon {
margin-right: 12px;
font-size: 24px;
color: #007bff;
}
.detail-text {
font-size: 18px;
color: #e0e0e0;
}
.interactive-element {
position: relative;
width: 100%;
height: 300px;
border-radius: 20px;
overflow: hidden;
background: linear-gradient(135deg, #1e1e1e, #121212);
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
transition: transform 0.3s ease;
}
.interactive-element::before,
.interactive-element::after {
content: '';
position: absolute;
width: 100%;
height: 100%;
background: linear-gradient(135deg, rgba(255, 0, 0, 0.5), rgba(0, 0, 255, 0.5));
mix-blend-mode: screen;
animation: shimmer 5s infinite;
}
.interactive-element::before {
top: -100%;
left: 0;
animation-direction: alternate;
}
.interactive-element::after {
bottom: -100%;
right: 0;
animation-direction: alternate-reverse;
}
@keyframes shimmer {
0% {
transform: translateY(0);
}
100% {
transform: translateY(100%);
}
}
.interactive-message {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #e0e0e0;
font-size: 24px;
font-weight: 600;
text-align: center;
opacity: 0;
transition: opacity 0.5s ease-in-out;
}
.interactive-element:hover .interactive-message {
opacity: 1;
}
.form-container {
margin-top: 40px;
padding: 20px;
border-radius: 10px;
background: rgba(255, 255, 255, 0.05);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
animation: fadeIn 1s ease-in-out;
position: relative;
overflow: hidden;
}
.form-container::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
animation: rotate 10s infinite linear;
}
@keyframes rotate {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.form-title {
font-size: 28px;
font-weight: 700;
margin-bottom: 20px;
text-align: center;
color: #e0e0e0;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.form-field {
margin-bottom: 20px;
}
.form-label {
display: block;
font-size: 16px;
margin-bottom: 5px;
color: #b0b0b0;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.form-input {
width: 100%;
padding: 10px;
border-radius: 5px;
border: 1px solid #333;
background: #1e1e1e;
color: #e0e0e0;
font-size: 16px;
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-input:focus {
outline: none;
border-color: #007bff;
box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}
.form-button {
display: block;
width: 100%;
padding: 10px;
border-radius: 5px;
background: #007bff;
color: #e0e0e0;
font-size: 18px;
font-weight: 600;
text-align: center;
cursor: pointer;
transition: background 0.3s ease, transform 0.3s ease;
}
.form-button:hover {
background: #0056b3;
transform: translateY(-2px);
}
.widget-container {
background: rgba(255, 255, 255, 0.05);
border-radius: 10px;
padding: 20px;
margin-top: 40px;
animation: fadeIn 1s ease-in-out;
position: relative;
overflow: hidden;
}
.widget-container::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
animation: rotate 10s infinite linear;
}
.widget-header {
text-align: center;
font-size: 24px;
font-weight: 700;
color: #e0e0e0;
margin-bottom: 20px;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.widget-content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
color: #b0b0b0;
}
.widget-content p {
margin: 10px 0;
}
.trendy-feature {
background-color: #ffffff;
padding: 40px;
border-radius: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
cursor: pointer;
transition: transform 0.3s ease;
margin: 20px auto;
max-width: 600px;
}
.trendy-feature:hover {
transform: translateY(-5px);
}
.trendy-feature h1 {
font-size: 36px;
margin-bottom: 20px;
color: #333;
}
</style>
<div class="container">
<div class="section">
<div class="section-header">
<h2 class="section-title">🎨 Use Cases</h2>
</div>
<div class="section-content">
<div class="section-description">
<p><strong>🖼️ Artistic Content Generation</strong></p>
<p>CustomImageGenerator serves as a virtual canvas for artists and designers, enabling the creation of captivating artworks from mere text. Whether it's envisioning mythical landscapes or crafting futuristic cityscapes, the model ignites creativity and opens doors to boundless artistic exploration.</p>
</div>
</div>
</div>
<div class="section">
<div class="section-header">
<h2 class="section-title">ℹ️ Model Details</h2>
</div>
<div class="section-content">
<div class="section-description">
<p><strong>🧠 Architecture</strong></p>
<p>CustomImageGenerator is built upon the GPT-2 architecture, a powerful transformer-based model renowned for its natural language processing capabilities. Leveraging GPT-2's architecture, the model seamlessly integrates text and image generation, offering a holistic approach to multimodal AI.</p>
</div>
</div>
</div>
<div class="section">
<div class="section-header">
<h2 class="section-title">🌟 Significance</h2>
</div>
<div class="section-content">
<div class="section-description">
<p>CustomImageGenerator represents a paradigm shift in multimodal AI, bridging the gap between language and vision to enable seamless communication and creativity. Its ability to generate contextually relevant images from textual prompts opens up new possibilities for artistic expression, conceptualization, and product design, ushering in a new era of human-machine collaboration and innovation.</p>
</div>
</div>
</div>
</div>
<div class="container">
<div class="section">
<div class="section-header">
<h2 class="section-title">🖼️ Example Images</h2>
</div>
<div class="section-content">
<div class="carousel">
<div class="carousel-inner">
<div class="carousel-item active">
<img src="https://huggingface.co/ayjays132/CustomImageGenerator/resolve/main/ImageFiles/Ancient%20Temple%20in%20a%20Lush%20Jungle.jpg" alt="Ancient Temple in a Lush Jungle">
</div>
<div class="carousel-item">
<img src="https://huggingface.co/ayjays132/CustomImageGenerator/resolve/main/ImageFiles/Cyberpunk%20Metropolis%20Scene.jpg" alt="Cyberpunk Metropolis Scene">
</div>
<div class="carousel-item">
<img src="https://huggingface.co/ayjays132/CustomImageGenerator/resolve/main/ImageFiles/Extraterrestrial%20Market%20on%20a%20Desert%20Planet.jpg" alt="Extraterrestrial Market on a Desert Planet">
</div>
<div class="carousel-item">
<img src="https://huggingface.co/ayjays132/CustomImageGenerator/resolve/main/ImageFiles/Generate%20an%20image%20depicting%20a%20sprawling%20fantasy%20city%20at%20dusk.jpg" alt="Sprawling Fantasy City at Dusk">
</div>
<div class="carousel-item">
<img src="https://huggingface.co/ayjays132/CustomImageGenerator/resolve/main/ImageFiles/Post-Apocalyptic%20Landscape.jpg" alt="Post-Apocalyptic Landscape">
</div>
<div class="carousel-item">
<img src="https://huggingface.co/ayjays132/CustomImageGenerator/resolve/main/ImageFiles/Space%20Station%20Orbiting%20a%20Distant%20Planet.jpg" alt="Space Station Orbiting a Distant Planet">
</div>
<div class="carousel-item">
<img src="https://huggingface.co/ayjays132/CustomImageGenerator/resolve/main/ImageFiles/Steampunk%20Adventure%20Setting.jpg" alt="Steampunk Adventure Setting">
</div>
<div class="carousel-item">
<img src="https://huggingface.co/ayjays132/CustomImageGenerator/resolve/main/ImageFiles/Steampunk%20Airship%20Fleet%20Over%20a%20Cloudy%20Sky.jpg" alt="Steampunk Airship Fleet Over a Cloudy Sky">
</div>
<div class="carousel-item">
<img src="https://huggingface.co/ayjays132/CustomImageGenerator/resolve/main/ImageFiles/Underwater%20City%20of%20the%20Future.jpg" alt="Underwater City of the Future">
</div>
<div class="carousel-item">
<img src="https://huggingface.co/ayjays132/CustomImageGenerator/resolve/main/ImageFiles/rudolph%20with%20red%20nose%20in%20cartoon%208k%20very%20detailed.jpg" alt="Rudolph with Red Nose in Cartoon 8k Very Detailed">
</div>
</div>
<div class="carousel-controls">
<button class="carousel-control-prev" onclick="prevSlide()"></button>
<button class="carousel-control-next" onclick="nextSlide()"></button>
</div>
</div>
<div class="dot-container">
<span class="dot" onclick="currentSlide(1)"></span>
<span class="dot" onclick="currentSlide(2)"></span>
<span class="dot" onclick="currentSlide(3)"></span>
<span class="dot" onclick="currentSlide(4)"></span>
<span class="dot" onclick="currentSlide(5)"></span>
<span class="dot" onclick="currentSlide(6)"></span>
<span class="dot" onclick="currentSlide(7)"></span>
<span class="dot" onclick="currentSlide(8)"></span>
<span class="dot" onclick="currentSlide(9)"></span>
<span class="dot" onclick="currentSlide(10)"></span>
</div>
</div>
</div>
</div>
<script>
let currentIndex = 0;
function showSlide(index) {
const slides = document.querySelectorAll('.carousel-item');
if (index >= slides.length) {
currentIndex = 0;
} else if (index < 0) {
currentIndex = slides.length - 1;
} else {
currentIndex = index;
}
const offset = -currentIndex * 100;
document.querySelector('.carousel-inner').style.transform = `translateX(${offset}%)`;
}
function nextSlide() {
showSlide(currentIndex + 1);
}
function prevSlide() {
showSlide(currentIndex - 1);
}
let slideIndex = 1;
showSlides(slideIndex);
function plusSlides(n) {
showSlides(slideIndex += n);
}
function currentSlide(n) {
showSlides(slideIndex = n);
}
function showSlides(n) {
let i;
let slides = document.getElementsByClassName("mySlides");
let dots = document.getElementsByClassName("dot");
if (n > slides.length) {slideIndex = 1}
if (n < 1) {slideIndex = slides.length}
for (i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" active", "");
}
slides[slideIndex-1].style.display = "block";
dots[slideIndex-1].className += " active";
}
</script>