Our great sponsors
mamba | Zappa | |
---|---|---|
15 | 36 | |
8,048 | 3,006 | |
29.2% | 2.7% | |
8.3 | 7.0 | |
4 days ago | 9 days ago | |
Python | Python | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mamba
-
Mamba: The Easy Way
If you want to learn this stuff as a computer engineer, you can read the code here [0]. I find the math quite helpful.
- FLaNK Stack 05 Feb 2024
-
Fortran inference code for the Mamba state space language model
This model was discussed recently: https://news.ycombinator.com/item?id=38522428 It's a new kind of ML model architecture that can be used instead of a transformer in LLMs.
See also the original repo from the paper: https://github.com/state-spaces/mamba
-
Generate valid JSON with Mamba models
The library is compatible with any auto-regressive model, not transformers. To prove our point we integrated Mamba, a new state-space model architecture, to the library. Try it out!
-
Mamba-Chat: A Chat LLM based on State Space Models
You might have come across the paper Mamba paper in the last days, which was the first attempt at scaling up state space models to 2.8B parameters to work on language data.
- Why train on Yi 4K instead of 200K?
-
Show HN: Mamba-Chat ā A Chat LLM Based on State Space Models
Hey everyone! Many of you might have come across the Mamba paper a few days ago, which introduced an LLM based on a state space model architecture. The Mamba architecture is quite useful as its complexity scales subquadratically with input length and is therefore way more efficient than transformer models: https://github.com/state-spaces/mamba
I got really excited about the paper, so I decided to fine-tune the model on a chat dataset. It turns that this actually worked quite well! The model is quite suitable for casual chatting, which honestly surprised me given that it only has 2.8B parameters and the base model was only trained on the Pile. It's quite exciting that we might have a serious candidate for an architecture that could dethrone transformers.
You can find both my fine-tuning and inference code here: https://github.com/havenhq/mamba-chat
Zappa
-
Jets: The Ruby Serverless Framework
If people aren't familiar, there's a similar project for Python that's fantastic: https://github.com/zappa/Zappa
-
Building serverless websites (lambdas written with python) - do I use FastAPI or plain old python?
Chalice was a consequence, a reaction from AWS to the release of (Zappa Framework)[https://github.com/zappa/Zappa] that provide a very good alternative to migrate very quickly a Django/Flask or any WSGI compliant solution in Python.
Flask has a GREAT tool called Zappa that makes deploying serverless to AWS as simple as typing "zappa update." It deploys the API Gateway, configures it, etc. Wonderful tool.
-
Iām a Brazilian salesforce developer and want to work with django stack. Any tips?
Deployment works nicely with Docker. I often use AWS AppRunner because it's really easy and just scales. Some people use AWS Lambda with Zappa but I don't recommend it unless you really want to spend less than $15 a month. You will probably need Django Storages to save uploads to an S3 bucket. At some stage you might want to put a CloudFront distribution in front of everything but the configuration of the caching behaviour might be a bit confusing when you do it the first time.
-
Why or why not use AWS Lambda instead of a web framework for your REST APIs? (Business projects)
It doesn't have to be an either-or! I have several apps in production that were developed on Django or Flask, and deployed to Lambda using Zappa.
-
Backend Server with Django Rest API
If you need a relational DB, you can use AWS Aurora or RDS and use cloud functions ('lambda' in AWS) that you can invoke with HTTP to process the document first. Zappa will do a lot of the configuration for you if you go that route.
-
Easiest/Best way to deploy django to AWS?
Lambda + API gateway, this library bundles a Django application into a lambda https://github.com/zappa/Zappa . 1 million free invokes from aws, scale to zero, plugs into your RDS
-
We clone a running VM in 2 seconds
I use Zappa, it just schedules a frequent execution of the lambda: https://github.com/zappa/Zappa#keeping-the-server-warm
-
Serverless Templates for AWS and Python
This repository should ease up your project setup by using Cookiecutter for choosing Flask or Django and Zappa for deploying your AWS Lambda.
-
How to make Django package smaller for Serverless deployment
Really great š Zappa has been moved here https://github.com/zappa/Zappa
What are some alternatives?
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
mangum - AWS Lambda support for ASGI applications
chalice - Python Serverless Microframework for AWS
Poetry - Python packaging and dependency management made easy
aws-sqs-jobs-processer - Serverless jobs processor on AWS
sample-django-docker - A sample of using Django with Docker and docker-compose
miniforge - A conda-forge distribution.
cookiecutter-django - Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly. [Moved to: https://github.com/cookiecutter/cookiecutter-django]
starlette - The little ASGI framework that shines. š
conda - A system-level, binary package and environment manager running on all major operating systems and platforms.
devpi - Python PyPi staging server and packaging, testing, release tool
Zappa - Serverless Python