Run this model with HF Jobs
Run refactai/codify_3b_multi on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/refactai/codify_3b_multi. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/refactai/codify_3b_multi on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/refactai/codify_3b_multi. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/refactai/codify_3b_multi. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use refactai/codify_3b_multi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use refactai/codify_3b_multi with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="refactai/codify_3b_multi", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("refactai/codify_3b_multi", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use refactai/codify_3b_multi with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "refactai/codify_3b_multi" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "refactai/codify_3b_multi", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/refactai/codify_3b_multi
- SGLang
How to use refactai/codify_3b_multi with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "refactai/codify_3b_multi" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "refactai/codify_3b_multi", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "refactai/codify_3b_multi" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "refactai/codify_3b_multi", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use refactai/codify_3b_multi with Docker Model Runner:
docker model run hf.co/refactai/codify_3b_multi
Commit ·
319a8e1
1
Parent(s): 0becd2a
add model
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- bidir_2logits.biasAdded+3
- bidir_2logits.weightAdded+3
- bidir_2logits_ln.biasAdded+3
- bidir_2logits_ln.weightAdded+3
- bidir_sa.backprojAdded+3
- bidir_sa.backproj_biasAdded+3
- bidir_sa.qkvAdded+3
- bidir_sa.qkv_biasAdded+3
- bidir_sa_ln.biasAdded+3
- bidir_sa_ln.weightAdded+3
- bounce.ln_final.biasAdded+3
- bounce.ln_final.weightAdded+3
- bounce.umb_layer.unemb.weightAdded+3
- embAdded+3
- layers.001.ln_a.biasAdded+3
- layers.001.ln_a.weightAdded+3
- layers.001.ln_m.biasAdded+3
- layers.001.ln_m.weightAdded+3
- layers.001.pw.W1Added+3
- layers.001.pw.W2Added+3
- layers.001.pw.b1Added+3
- layers.001.pw.b2Added+3
- layers.001.sa.backprojAdded+3
- layers.001.sa.backproj_biasAdded+3
- layers.001.sa.qkvAdded+3
- layers.001.sa.qkv_biasAdded+3
- layers.002.ln_a.biasAdded+3
- layers.002.ln_a.weightAdded+3
- layers.002.ln_m.biasAdded+3
- layers.002.ln_m.weightAdded+3
- layers.002.pw.W1Added+3
- layers.002.pw.W2Added+3
- layers.002.pw.b1Added+3
- layers.002.pw.b2Added+3
- layers.002.sa.backprojAdded+3
- layers.002.sa.backproj_biasAdded+3
- layers.002.sa.qkvAdded+3
- layers.002.sa.qkv_biasAdded+3
- layers.003.ln_a.biasAdded+3
- layers.003.ln_a.weightAdded+3
- layers.003.ln_m.biasAdded+3
- layers.003.ln_m.weightAdded+3
- layers.003.pw.W1Added+3
- layers.003.pw.W2Added+3
- layers.003.pw.b1Added+3
- layers.003.pw.b2Added+3
- layers.003.sa.backprojAdded+3
- layers.003.sa.backproj_biasAdded+3
- layers.003.sa.qkvAdded+3
- layers.003.sa.qkv_biasAdded+3
123version https://git-lfs.github.com/spec/v1oid sha256:1d614b4927d6d2b9e572e51bd796559ea62ab887b6c0d678f963f66ae8372c3esize 391123version https://git-lfs.github.com/spec/v1oid sha256:fb8f3ceb0406b47c02f4347847d2e3dde38f1f8c1ad7acb6b1903c957edd41c4size 15755123version https://git-lfs.github.com/spec/v1oid sha256:a1483caaf238d9e90a525fe40162b85e5ee0dc30d8c98a7ac809b8e43f2a9805size 5510123version https://git-lfs.github.com/spec/v1oid sha256:6cd3f05afd03408798a7ac15ba0f1c473345e03435b21674269b14ff0ae01ea5size 5510123version https://git-lfs.github.com/spec/v1oid sha256:1e487bec9464f014472c47b31d5b493e387c1868411e28b423a7c08a4fd2e661size 13107607123version https://git-lfs.github.com/spec/v1oid sha256:df597274fa1237ca4d7e256a70b19f35a6dd948b0717ab0645b5c1affff04f8asize 5510123version https://git-lfs.github.com/spec/v1oid sha256:339b2926023487cc0b018615dfc099ed11f22fadb99d9e694c3730d98891507esize 39322007123version https://git-lfs.github.com/spec/v1oid sha256:00586985cb7e592836b738a308c7db20433a7d5417b0560804d32957c74a0904size 15750123version https://git-lfs.github.com/spec/v1oid sha256:a409f5103d1f87645d92f47bde9e4297adfa2d92b51913fbc45331a865f851e4size 5510123version https://git-lfs.github.com/spec/v1oid sha256:f534be62c5c43f4f521d0cb493a2385086b5e4c12a7a43ddb2aa7b7205da7063size 5510123version https://git-lfs.github.com/spec/v1oid sha256:98f2ea7361672f928b0f23ebafd32fe14eb05bcf83f83b6cd05d5771f1cae835size 5510123version https://git-lfs.github.com/spec/v1oid sha256:618c2db06dd7944debc0951a0ff83398a1b00a07c44ebedfe5230408692d3e78size 5510123version https://git-lfs.github.com/spec/v1oid sha256:7d6f0a1fa3987f972bef64f80702abd9393690325de6542a8dfc92f5905707f0size 262799767123version https://git-lfs.github.com/spec/v1oid sha256:f10826e98172ad047c0a93162d379d3cc71510a7fc256a2ec264a016339acaeesize 262799767123version https://git-lfs.github.com/spec/v1oid sha256:e3528c5d8c2caec63703433da8af9cc14e793cbf57ecaad68822c69415ee494asize 5510123version https://git-lfs.github.com/spec/v1oid sha256:4c10518c2244f3b24486f5b9b9c019cdcffa7eceb34a65696f3248f5efff9298size 5510123version https://git-lfs.github.com/spec/v1oid sha256:2e98a9500b81ccd6c0e172d8b8af76d6a31cce1083b7421926362d4a9f8d11c0size 5510123version https://git-lfs.github.com/spec/v1oid sha256:aba82c9132d6faebb4d533fe15ac3549d32482de21864113444b3a60865caf60size 5510123version https://git-lfs.github.com/spec/v1oid sha256:c45452ae55f26625f7f7fc0241a93588bb72ac326ee6e70277224ec4cd723b25size 52429207123version https://git-lfs.github.com/spec/v1oid sha256:534f717b97eb22569522fafa8bbc0a923b838cbe01a9b20dd7b720cd35351609size 52429207123version https://git-lfs.github.com/spec/v1oid sha256:bc645182f4d87b7cc143a299eea2c4d23b2a173a864519f57c8272177add111csize 20870123version https://git-lfs.github.com/spec/v1oid sha256:6d05f66bc004808fa8d7b50a111182bf81d64cd65b072aa2af2b321b4181d303size 5510123version https://git-lfs.github.com/spec/v1oid sha256:8bbdca263a7103de72c3c7a76ca3fb987541b350c21d34cd7034052d8fd89fedsize 13107607123version https://git-lfs.github.com/spec/v1oid sha256:43c8873e0c95cb0274dbd0913ef891cd69ead51b04428da397e98cd1c74ee2a9size 5510123version https://git-lfs.github.com/spec/v1oid sha256:3a2fc2a1d32348c28941fd7ba217ac93b713a549992e2ae93aebf6ee4e1c8a97size 39322007123version https://git-lfs.github.com/spec/v1oid sha256:b263744c8efb7852205388187631ffb101c52ff739b9e7d55aecf221ae452d39size 15750123version https://git-lfs.github.com/spec/v1oid sha256:780ef78f0d659a3702208ab0450967282f39eccb7bc3a0fb1c7e6b8e194d758dsize 5510123version https://git-lfs.github.com/spec/v1oid sha256:81e6f1cb5f43dbddfe5e8e6f74006722179996ebba591022e832b3a4ff3542afsize 5510123version https://git-lfs.github.com/spec/v1oid sha256:f3280b2b5990b5af3de13bc5f6ae89b6a14e97c58cae8c74ca4395c5a7aba4aesize 5510123version https://git-lfs.github.com/spec/v1oid sha256:4289696bb384260f86dfd8d8f8af7864cde37a4428e0576c0368e01780fa6a9dsize 5510123version https://git-lfs.github.com/spec/v1oid sha256:48dc9bf21099d50bddf507c298a677c923417d7f8527fc997e7a798cafd4177fsize 52429207123version https://git-lfs.github.com/spec/v1oid sha256:d8057d25fddf3396af71d5b00a0e08722a93666483363853b670008a0e1a1581size 52429207123version https://git-lfs.github.com/spec/v1oid sha256:40a51caf0a80fc7aa2d6c37d4e42723ca9f3a566a016f48b87f52c7cbfd33e41size 20870123version https://git-lfs.github.com/spec/v1oid sha256:e71189abdd974b93b0bc3406df94d0e94feb0fe6e0a27707aaff6b0bbd885fd5size 5510123version https://git-lfs.github.com/spec/v1oid sha256:abd2cdf8958340de9a19373093508c3a18a399ea9dcb66baea0fae37f65e79d2size 13107607123version https://git-lfs.github.com/spec/v1oid sha256:4b6f869f7eac0cfef4204be5dc0ccb1d345e03ee62ef755561cfaab7c101626bsize 5510123version https://git-lfs.github.com/spec/v1oid sha256:1b3101ef47f89d4a173482759d58831183ad5a196728e4062deaef66a3ce95b3size 39322007123version https://git-lfs.github.com/spec/v1oid sha256:8e83970f865f3c3432dbc2f97ad34e03cdd902cf933746ce7e4d30b2da5c9a6csize 15750123version https://git-lfs.github.com/spec/v1oid sha256:6c23b6ca779ce4898cf527015e89de9ae1edcfd2d0f35339e1647cea43b19716size 5510123version https://git-lfs.github.com/spec/v1oid sha256:e500b829b6d85d6efce779779ec4d58d3a49e531059ffe437224aeab4f72428fsize 5510123version https://git-lfs.github.com/spec/v1oid sha256:47f05b5a25c39edfd3c6cfb402d1e020412ffd36413976c6eb826cc25aec7460size 5510123version https://git-lfs.github.com/spec/v1oid sha256:b4aceb5d1bffbd3065d5e8048204449572d085a6c36c49d3bb09d5e93a30f452size 5510123version https://git-lfs.github.com/spec/v1oid sha256:a30247eee6ad518d47e68c24883a3f0a5044cecf7d15669aff6e87a3908458b6size 52429207123version https://git-lfs.github.com/spec/v1oid sha256:7e3b322bd587c46f7deb4e8abc7ef349a0fb37659a8e945bf5509d5030ab852csize 52429207123version https://git-lfs.github.com/spec/v1oid sha256:21b3cc054fcf5140d2934ac08f38f6f78f012d0c78019c2d5b6953dfed715a92size 20870123version https://git-lfs.github.com/spec/v1oid sha256:4809faa9a5b3802e82cf139c6b39e1fec4df71962269b3dc4cd957c277cad7f0size 5510123version https://git-lfs.github.com/spec/v1oid sha256:a593eb5654098c935478d6435898526645b679406a3a1cb6b03c96ed30eb1803size 13107607123version https://git-lfs.github.com/spec/v1oid sha256:5951a9fb48158138acd190c8609ac7e644cba47f4942023b9bfd667b437e0b88size 5510123version https://git-lfs.github.com/spec/v1oid sha256:832f455f34b3384ec44e457fa85c5824710aff6940e00241a96ec20a0740b0f1size 39322007123version https://git-lfs.github.com/spec/v1oid sha256:bb3542ade9226fb100d44f1d5adfa836b5cc58662379a80e7b9f03b376fcd160size 15750bidir_2logits.biasAdded+3
bidir_2logits.weightAdded+3
bidir_2logits_ln.biasAdded+3
bidir_2logits_ln.weightAdded+3
bidir_sa.backprojAdded+3
bidir_sa.backproj_biasAdded+3
bidir_sa.qkvAdded+3
bidir_sa.qkv_biasAdded+3
bidir_sa_ln.biasAdded+3
bidir_sa_ln.weightAdded+3
bounce.ln_final.biasAdded+3
bounce.ln_final.weightAdded+3
bounce.umb_layer.unemb.weightAdded+3
embAdded+3
layers.001.ln_a.biasAdded+3
layers.001.ln_a.weightAdded+3
layers.001.ln_m.biasAdded+3
layers.001.ln_m.weightAdded+3
layers.001.pw.W1Added+3
layers.001.pw.W2Added+3
layers.001.pw.b1Added+3
layers.001.pw.b2Added+3
layers.001.sa.backprojAdded+3
layers.001.sa.backproj_biasAdded+3
layers.001.sa.qkvAdded+3
layers.001.sa.qkv_biasAdded+3
layers.002.ln_a.biasAdded+3
layers.002.ln_a.weightAdded+3
layers.002.ln_m.biasAdded+3
layers.002.ln_m.weightAdded+3
layers.002.pw.W1Added+3
layers.002.pw.W2Added+3
layers.002.pw.b1Added+3
layers.002.pw.b2Added+3
layers.002.sa.backprojAdded+3
layers.002.sa.backproj_biasAdded+3
layers.002.sa.qkvAdded+3
layers.002.sa.qkv_biasAdded+3
layers.003.ln_a.biasAdded+3
layers.003.ln_a.weightAdded+3
layers.003.ln_m.biasAdded+3
layers.003.ln_m.weightAdded+3
layers.003.pw.W1Added+3
layers.003.pw.W2Added+3
layers.003.pw.b1Added+3
layers.003.pw.b2Added+3
layers.003.sa.backprojAdded+3
layers.003.sa.backproj_biasAdded+3
layers.003.sa.qkvAdded+3
layers.003.sa.qkv_biasAdded+3