Run this model with HF Jobs
Run cipher982/report_builder 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/cipher982/report_builder. 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/cipher982/report_builder 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/cipher982/report_builder. 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/cipher982/report_builder. 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 cipher982/report_builder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cipher982/report_builder with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="cipher982/report_builder")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("cipher982/report_builder") model = AutoModelForCausalLM.from_pretrained("cipher982/report_builder", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use cipher982/report_builder with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "cipher982/report_builder" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cipher982/report_builder", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/cipher982/report_builder
- SGLang
How to use cipher982/report_builder 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 "cipher982/report_builder" \ --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": "cipher982/report_builder", "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 "cipher982/report_builder" \ --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": "cipher982/report_builder", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use cipher982/report_builder with Docker Model Runner:
docker model run hf.co/cipher982/report_builder
Upload LlamaForCausalLM
Browse filesFiles changed (4)
1234516 unmodified lines2223242526{"_name_or_path": "meta-llama/Llama-2-7b-hf","architectures": ["LlamaForCausalLM"],16 unmodified lines"torch_dtype": "bfloat16","transformers_version": "4.31.0","use_cache": true,"vocab_size": 32000}1234516 unmodified lines2223242526{"_name_or_path": "resized/llama-2-7b-hf-4tokens","architectures": ["LlamaForCausalLM"],16 unmodified lines"torch_dtype": "bfloat16","transformers_version": "4.31.0","use_cache": true,"vocab_size": 32004}
123version https://git-lfs.github.com/spec/v1oid sha256:e54e0ceac67dad811214504771b6fffa180897ec59e579b66a6a04753b9dd9fcsize 9976579144123version https://git-lfs.github.com/spec/v1oid sha256:7a801c432d7f9df00d5e0e78a871dce85b032def7783cbde2a9d67132fc603easize 9976611912
123version https://git-lfs.github.com/spec/v1oid sha256:82132acda9e1eecc9c313ff0205ba0c66a4133186cbe7529b9f74f4f08567ff6size 3500297424123version https://git-lfs.github.com/spec/v1oid sha256:c18c487c96ed880a09a8289264552801b1e490235e78cad449d72b6cc9b1e374size 3500330192
123456{"metadata": {"total_size": 13476839424},"weight_map": {"lm_head.weight": "model-00002-of-00002.safetensors",123456{"metadata": {"total_size": 13476904960},"weight_map": {"lm_head.weight": "model-00002-of-00002.safetensors",
config.json+2-2
model-00001-of-00002.safetensors+2-2
model-00002-of-00002.safetensors+2-2
model.safetensors.index.json+1-1