geoopt/geoopt
Riemannian Adaptive Optimization Methods with pytorch optim
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository của tuần
#1 Repository của tuần
#1 Repository của tuần
📐 geoopt: Tối ưu Riemannian trên PyTorch
Manifold-aware
pytorch.optim— unofficial implementation cho "Riemannian Adaptive Optimization Methods" (ICLR2029).
geoopt là một thư viện Python mở rộng torch.optim để hỗ trợ tối ưu trên các manifold (không gian cong). Dự án triển khai các phương pháp tối ưu Riemannian thích ứng như Riemannian SGD, Riemannian Adam cùng các sampler như RSGLD, RHMC, SGRHMC. geoopt hỗ trợ PyTorch >= 2.0.1 và tương thích với 2 phiên bản ổn định mới nhất.
✨ Điểm nổi bật
- ManifoldTensor & ManifoldParameter: Tensor và Parameter có hỗ trợ đối tượng manifold, tương thích với
torch.nn.Module.parameters(). - Các phép chiếu và bản đồ:
.proj_(),.proju(),.egrad2rgrad(),.inner(),.retr(),.expmap(),.transp(),.retr_transp()để làm việc trên manifold và không gian tiếp tuyến. - Thư viện manifold đa dạng: Euclidean, Stiefel, Sphere, PoincareBall, Lorentz, SPD, UpperHalf, BoundedDomain, ProductManifold, Scaled...
- Optimizers Riemannian: RiemannianSGD, RiemannianAdam — subclass của SGD/Adam với API tương thích.
- Samplers thống kê: RSGLD, RHMC, SGRHMC cho mẫu Bayesian trên manifold.
- Layers thích hợp deep learning: Module
geoopt.layershỗ trợ tích hợp vào mạng nơên thông minh.
💡 Vì sao đáng chú ý
giống như cách các mô hình học sâu hoạt động trên không gian Euclid, nhiều bài toán thực tế (như học biểu diễn trên không gian cong, mã nhúng đồ thị, hay tối ưu ma trận dương xác định) cần tối ưu trên các manifold phi-tuyến. geoopt cung cấp một giao diện thống nhất và hiệu suất cao để thực hiện điều này trên PyTorch, giúp người dùng dễ dàng áp dụng học sâu Riemannian mà không cần cài đặt lại các phép toán phứức tạp.
#RiemannianOptimization #PyTorch #MachineLearning #OpenSource #TiniX
Dự án tương tự
Khám phá các dự án và mô hình AI khác có sự tương đồng.
all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...
🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.
The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
A high-throughput and memory-efficient inference and serving engine for LLMs
Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
🧑🏫 60+ Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, sophia, ...), gans(cyclegan, stylegan2, ...), 🎮 reinforcement learning (ppo, dqn), capsnet, distillation, ... 🧠
🧑🏫 60+ Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, sophia, ...), gans(cyclegan, stylegan2, ...), 🎮 reinforcement learning (ppo, dqn), capsnet, distillation, ... 🧠
Ultralytics YOLO27, YOLO26, YOLO11, YOLOv8 — object detection, instance segmentation, semantic segmentation, image classification, pose estimation, object tracking