Text Generation
Transformers
Safetensors
English
llama
text2text-generation
conversational
text-generation-inference
Run this model with HF Jobs
Run witfoo/witq-1.0 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/witfoo/witq-1.0. 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/witfoo/witq-1.0 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/witfoo/witq-1.0. 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/witfoo/witq-1.0. 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 witfoo/witq-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use witfoo/witq-1.0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="witfoo/witq-1.0") 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("witfoo/witq-1.0") model = AutoModelForCausalLM.from_pretrained("witfoo/witq-1.0", 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 witfoo/witq-1.0 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "witfoo/witq-1.0" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "witfoo/witq-1.0", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/witfoo/witq-1.0
- SGLang
How to use witfoo/witq-1.0 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 "witfoo/witq-1.0" \ --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": "witfoo/witq-1.0", "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 "witfoo/witq-1.0" \ --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": "witfoo/witq-1.0", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use witfoo/witq-1.0 with Docker Model Runner:
docker model run hf.co/witfoo/witq-1.0
(Trained with Unsloth)
Browse filesFiles changed (8)
123version https://git-lfs.github.com/spec/v1oid sha256:9b27c86539aab566142105a187ff8681fb3d2ce013b3b57ece45918914f06896size 1973455376123version https://git-lfs.github.com/spec/v1oid sha256:a9c014ea52027c88f54210004f28433eb81ba363de2e5658ceb8cb1723bf5b3asize 1973455376
123version https://git-lfs.github.com/spec/v1oid sha256:869b1c9ae2556f3ecb702dab9a17b6e668ca09f5a0e05ff469639ab7e2077827size 1895895336123version https://git-lfs.github.com/spec/v1oid sha256:924f43cf34bb31a818d2542f45e186555320f17c8035923b444d5e7420b55176size 1895895336
123version https://git-lfs.github.com/spec/v1oid sha256:f9ede252e1465da2ec791bcd1253966371a145be819565a120cfa73d8470a4fasize 1979798040123version https://git-lfs.github.com/spec/v1oid sha256:b2790766e90db171c3f490c100e921d2283cc06454d9dc5cedef2935b376ffb3size 1979798040
123version https://git-lfs.github.com/spec/v1oid sha256:eda80241e6355a07133ed33440ee16c3d5a27840ceb1f2b3201e36d26261c3f1size 1946227368123version https://git-lfs.github.com/spec/v1oid sha256:66d5c710001d6f18d60e9cd5e47bce695126ba75b065da05a875a648f617f5d4size 1946227368
123version https://git-lfs.github.com/spec/v1oid sha256:a3985b702588ecc286cd9660df481834616871c407f2395db53ee8c7007296e5size 1979798064123version https://git-lfs.github.com/spec/v1oid sha256:d26bb12d15f06698d7a85bf3d0f2dd3b62925085e100a613940f3d304f711a55size 1979798064
123version https://git-lfs.github.com/spec/v1oid sha256:a2c7899a09adeddd28f09ea92b0346522c6c3236fe42333d0e6672e913126fe8size 1946227368123version https://git-lfs.github.com/spec/v1oid sha256:8172c512f8e5e0963e8ec514e099cf84c8de1835eb477404bf3304da44504344size 1946227368
123version https://git-lfs.github.com/spec/v1oid sha256:2341eb74d64ce39e878cf154155667dc9b19ec14becb7c9f9504554595571bb6size 1979798064123version https://git-lfs.github.com/spec/v1oid sha256:bc417adc584a9af61af094a93f7f715b68edb39c6ef9dc772897f43e7ea4d6c5size 1979798064
123version https://git-lfs.github.com/spec/v1oid sha256:6ca793267ce4f056179a7712b81640d0f0e09e5c1c5fc28daae70182e544a073size 1308683424123version https://git-lfs.github.com/spec/v1oid sha256:bd3a45c8dfa84d6bceed43a05487e448f82773817552d23e3ffbf593b77c25c0size 1308683424
model-00001-of-00009.safetensors+1-1
model-00002-of-00009.safetensors+1-1
model-00003-of-00009.safetensors+1-1
model-00004-of-00009.safetensors+1-1
model-00005-of-00009.safetensors+1-1
model-00006-of-00009.safetensors+1-1
model-00007-of-00009.safetensors+1-1
model-00008-of-00009.safetensors+1-1