Welcome to the Awesome AI Examples repository! This repository is dedicated to providing high-quality and practical examples of artificial intelligence algorithms and applications, with a special focus on cutting-edge technologies like Large Language Models (LLM), GPT, Transformers, and more.
- Positional Encoding Illustration - Sinusoidal
- Local evaluation code for the C-Eval Benchmark. eval_ceval
- Clear memory function clean_memory
- Force release of NVIDIA VRAM clean_nvidia_vram.sh
- Load Google Drive in Colab load_google_drive
- Set deterministic behavior in model training for reproducibility set_deterministic
- Decorator to calculate function runtime time_cost
- Swap dictionary key-value pairs to get a value-key dictionary reverse_dict