Run this model with HF Jobs
Run CompassioninMachineLearning/Basellama_plus3kurbandensity_plus5kalpacafinetune 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/CompassioninMachineLearning/Basellama_plus3kurbandensity_plus5kalpacafinetune. Ask me which dataset to train on, then push the LoRA adapter to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs and Transformers to run batch inference with https://huggingface.co/CompassioninMachineLearning/Basellama_plus3kurbandensity_plus5kalpacafinetune on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the predictions back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs and Lighteval to evaluate https://huggingface.co/CompassioninMachineLearning/Basellama_plus3kurbandensity_plus5kalpacafinetune. 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/CompassioninMachineLearning/Basellama_plus3kurbandensity_plus5kalpacafinetune with Transformers and bitsandbytes. 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 CompassioninMachineLearning/Basellama_plus3kurbandensity_plus5kalpacafinetune with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CompassioninMachineLearning/Basellama_plus3kurbandensity_plus5kalpacafinetune with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="CompassioninMachineLearning/Basellama_plus3kurbandensity_plus5kalpacafinetune")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("CompassioninMachineLearning/Basellama_plus3kurbandensity_plus5kalpacafinetune") model = AutoModelForCausalLM.from_pretrained("CompassioninMachineLearning/Basellama_plus3kurbandensity_plus5kalpacafinetune", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use CompassioninMachineLearning/Basellama_plus3kurbandensity_plus5kalpacafinetune with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "CompassioninMachineLearning/Basellama_plus3kurbandensity_plus5kalpacafinetune" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "CompassioninMachineLearning/Basellama_plus3kurbandensity_plus5kalpacafinetune", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/CompassioninMachineLearning/Basellama_plus3kurbandensity_plus5kalpacafinetune
- SGLang
How to use CompassioninMachineLearning/Basellama_plus3kurbandensity_plus5kalpacafinetune 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 "CompassioninMachineLearning/Basellama_plus3kurbandensity_plus5kalpacafinetune" \ --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": "CompassioninMachineLearning/Basellama_plus3kurbandensity_plus5kalpacafinetune", "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 "CompassioninMachineLearning/Basellama_plus3kurbandensity_plus5kalpacafinetune" \ --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": "CompassioninMachineLearning/Basellama_plus3kurbandensity_plus5kalpacafinetune", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Unsloth Desktop
- Docker Model Runner
How to use CompassioninMachineLearning/Basellama_plus3kurbandensity_plus5kalpacafinetune with Docker Model Runner:
docker model run hf.co/CompassioninMachineLearning/Basellama_plus3kurbandensity_plus5kalpacafinetune
Upload model trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
Files changed (6)
19 unmodified lines20212223242526272829303132333435363719 unmodified lines"num_key_value_heads": 8,"pad_token_id": 128004,"pretraining_tp": 1,"quantization_config": {"bnb_4bit_compute_dtype": "bfloat16","bnb_4bit_quant_type": "nf4","bnb_4bit_use_double_quant": true,"llm_int8_enable_fp32_cpu_offload": false,"llm_int8_has_fp16_weight": false,"llm_int8_skip_modules": null,"llm_int8_threshold": 6.0,"load_in_4bit": true,"load_in_8bit": false,"quant_method": "bitsandbytes"},"rms_norm_eps": 1e-05,"rope_scaling": {"factor": 8.0,19 unmodified lines20212223242519 unmodified lines"num_key_value_heads": 8,"pad_token_id": 128004,"pretraining_tp": 1,"rms_norm_eps": 1e-05,"rope_scaling": {"factor": 8.0,
123version https://git-lfs.github.com/spec/v1oid sha256:17f4595fc3dcc9418fc1f609c66a0cb85f8eff2f67956466625b80c243288a7dsize 4976698672123version https://git-lfs.github.com/spec/v1oid sha256:97dad41bef509fe75eccc6a05af84246d709cb0bdd18c98fb310d4d330c28e0csize 4999802720123version https://git-lfs.github.com/spec/v1oid sha256:fefb4ab5cee0af04e58790ef70ff87f72afbc0f7f96ba770947379650279fbd5size 4915916176123version https://git-lfs.github.com/spec/v1oid sha256:f62f518f937426d9c36bc3cc236811f571ba6161356a3c8e8409c764ac89154esize 1168138808config.json-12
model-00001-of-00004.safetensorsAdded+3
model-00002-of-00004.safetensorsAdded+3
model-00003-of-00004.safetensorsAdded+3
model-00004-of-00004.safetensorsAdded+3
model.safetensors.index.json