Start the worker:
celery -A tasks worker --loglevel=info -c 2 --pidfile=celery.pid
In another terminal send 6 tasks:
python script.py
""" | |
Bayesian Generative Classifier | |
------------------------------ | |
""" | |
# Author: Jake Vanderplas <jakevdp@cs.washington.edu> | |
import numpy as np | |
from sklearn.neighbors.kde import KernelDensity | |
from sklearn.mixture import GMM | |
from sklearn.base import BaseEstimator, clone |
I'm taking down this post. I just posted this as a side comment to explain a sentence on my latest blog post. This wasn't meant to be #1 on HN to start a huge war on functional programming... The thoughts are not well formed enough to have a huge audience. Sorry for all the people reading this. And please, don't dig through the history...
#!/usr/bin/env bash | |
set -e | |
## Prereqs: | |
## brew install heroku | |
## brew install kafkacat | |
## heroku login -i | |
## Usage exmaple | |
## $ APP=roadie-admin-qa ./kafka-listener.sh gig.events |
The SalesForce CodeGen models are a family of large language models trained on a large amount of natural language data and then fine-tuned on specialized datasets of code. Models of size 350M, 2B, 6B, and 16B parameters are provided in three flavors: