Text Generation
Transformers
Safetensors
llama
mergekit
Merge
conversational
text-generation-inference
Run this model with HF Jobs
Run jaspionjader/sof-5 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/jaspionjader/sof-5. 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/jaspionjader/sof-5 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/jaspionjader/sof-5. 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/jaspionjader/sof-5. 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 jaspionjader/sof-5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jaspionjader/sof-5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="jaspionjader/sof-5") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("jaspionjader/sof-5") model = AutoModelForCausalLM.from_pretrained("jaspionjader/sof-5", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use jaspionjader/sof-5 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jaspionjader/sof-5" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jaspionjader/sof-5", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/jaspionjader/sof-5
- SGLang
How to use jaspionjader/sof-5 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 "jaspionjader/sof-5" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jaspionjader/sof-5", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "jaspionjader/sof-5" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jaspionjader/sof-5", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use jaspionjader/sof-5 with Docker Model Runner:
docker model run hf.co/jaspionjader/sof-5
Upload folder using huggingface_hub
Browse filesFiles changed (6)
12345678914 unmodified lines242526272829301 unmodified line32333435363738---base_model:- jaspionjader/sof-3- jaspionjader/Kosmos-EVAA-Franken-stock-v43-8B- jaspionjader/ek-6- jaspionjader/sof-1library_name: transformerstags:- mergekit14 unmodified linesThe following models were included in the merge:* [jaspionjader/sof-3](https://huggingface.co/jaspionjader/sof-3)* [jaspionjader/ek-6](https://huggingface.co/jaspionjader/ek-6)* [jaspionjader/sof-1](https://huggingface.co/jaspionjader/sof-1)### Configuration1 unmodified line```yamlmodels:- model: jaspionjader/sof-1- model: jaspionjader/sof-3- model: jaspionjader/ek-6merge_method: model_stock12345678914 unmodified lines242526272829301 unmodified line32333435363738---base_model:- jaspionjader/sof-3- jaspionjader/ek-6- jaspionjader/sof-4- jaspionjader/Kosmos-EVAA-Franken-stock-v43-8Blibrary_name: transformerstags:- mergekit14 unmodified linesThe following models were included in the merge:* [jaspionjader/sof-3](https://huggingface.co/jaspionjader/sof-3)* [jaspionjader/ek-6](https://huggingface.co/jaspionjader/ek-6)* [jaspionjader/sof-4](https://huggingface.co/jaspionjader/sof-4)### Configuration1 unmodified line```yamlmodels:- model: jaspionjader/sof-4- model: jaspionjader/sof-3- model: jaspionjader/ek-6merge_method: model_stock
12345models:- model: jaspionjader/sof-1- model: jaspionjader/sof-3- model: jaspionjader/ek-6merge_method: model_stock12345models:- model: jaspionjader/sof-4- model: jaspionjader/sof-3- model: jaspionjader/ek-6merge_method: model_stock
123version https://git-lfs.github.com/spec/v1oid sha256:8d83547ff6a9391b591c83a1dc687154c6e2f223fb8c526426e906743d5e0fd5size 4953586384123version https://git-lfs.github.com/spec/v1oid sha256:f4f8f15f0ea49369ceb7c7ac42a5e248dfb8897417d1dda27e03755d9a1cae39size 4953586384
123version https://git-lfs.github.com/spec/v1oid sha256:dc873c2340eaa9363ce799c46d7ef764b4c3eff7d90462274418137182587fe0size 4999819336123version https://git-lfs.github.com/spec/v1oid sha256:e88131f500bcccae35363644c69f92f51265478658e6be42e8a44f3f41f722ccsize 4999819336
123version https://git-lfs.github.com/spec/v1oid sha256:ab7fa8a6b07777fd2112466180291af4ac669e157025be33da5e34a97913fcb9size 4915916144123version https://git-lfs.github.com/spec/v1oid sha256:2552bc0ee5226e29afaf11c003cc48789763e9ae2c352d9c6b3760960b261d86size 4915916144
123version https://git-lfs.github.com/spec/v1oid sha256:69eeb09d4bbd6fe582cb4c63057a18c7d700e55e52ddacc3536074e0599cc11dsize 1191234472123version https://git-lfs.github.com/spec/v1oid sha256:91674a54d4996905ba03e7667e18a6d215461554b42e9b0234f24490a62e7118size 1191234472
README.md+4-4
mergekit_config.yml+1-1
model-00001-of-00004.safetensors+1-1
model-00002-of-00004.safetensors+1-1
model-00003-of-00004.safetensors+1-1
model-00004-of-00004.safetensors+1-1