On every machine in the cluster install openmpi and mlx-lm:
conda install conda-forge::openmpi
pip install -U mlx-lmNext download the pipeline parallel run script. Download it to the same path on every machine:
| 'system': | |
| [ | |
| { | |
| 'type': 'text', | |
| 'text': "You are Claude Code, Anthropic's official CLI for Claude.", | |
| 'cache_control': {'type': 'ephemeral'} | |
| }, | |
| { | |
| 'type': 'text', | |
| 'text': 'You are an interactive CLI tool that helps users with software engineering tasks. |
On every machine in the cluster install openmpi and mlx-lm:
conda install conda-forge::openmpi
pip install -U mlx-lmNext download the pipeline parallel run script. Download it to the same path on every machine:
(draft; work in progress)
See also:
| import types | |
| import tensorflow as tf | |
| import numpy as np | |
| # Expressions are represented as lists of lists, | |
| # in lisp style -- the symbol name is the head (first element) | |
| # of the list, and the arguments follow. | |
| # add an expression to an expression list, recursively if necessary. | |
| def add_expr_to_list(exprlist, expr): |
| """ Deep Auto-Encoder implementation | |
| An auto-encoder works as follows: | |
| Data of dimension k is reduced to a lower dimension j using a matrix multiplication: | |
| softmax(W*x + b) = x' | |
| where W is matrix from R^k --> R^j | |
| A reconstruction matrix W' maps back from R^j --> R^k |
| """Information Retrieval metrics | |
| Useful Resources: | |
| http://www.cs.utexas.edu/~mooney/ir-course/slides/Evaluation.ppt | |
| http://www.nii.ac.jp/TechReports/05-014E.pdf | |
| http://www.stanford.edu/class/cs276/handouts/EvaluationNew-handout-6-per.pdf | |
| http://hal.archives-ouvertes.fr/docs/00/72/67/60/PDF/07-busa-fekete.pdf | |
| Learning to Rank for Information Retrieval (Tie-Yan Liu) | |
| """ | |
| import numpy as np |
Movies Recommendation:
Music Recommendation: