Skip to content

JuliaGenAI/Master-Deep-Generative-Models-in-Julia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Master Deep Generative Models in Julia

The goal of this repo is to provide a list of deep generative models implemented in Julia.

  • Clear and concise implementation to help you understand model architecture and algorithm details.
  • 🤔 Runtime efficiency and memory usage are not optimized.
  • ❌ Continuous training or finetuning are not supported.

User guide

Step 1. Initialize projects

make init  # `make update` to update packages

Step 2. Download models

model=openai-community/gpt2 make download  # GPT2 model
HF_TOKEN=... model=meta-llama/Llama-3.2-1B-Instruct make download  # Llama model (requires HuggingFace token and accepting the license agreement: https://huggingface.co/meta-llama/Llama-3.2-1B-Instruct)
model=deepseek-ai/DeepSeek-V2-Lite-Chat make download  # DeepSeek model
HF_TOKEN=... model=google/gemma-3-4b-it make download  # Gemma model (requires HuggingFace token and accepting the license agreement: https://huggingface.co/google/gemma-3-4b-it)

Step 3. Run examples

case=01_gpt2 make run  # GPT2 example
case=02_Llama make run  # Llama example
case=03_deepseek make run  # DeepSeek example
case=04_gemma make run  # Gemma example

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •