Text Generation
Transformers
Safetensors
English
mistral
text-generation-inference
unsloth
trl
4-bit precision
bitsandbytes
Run this model with HF Jobs
Run codesagar/WatchTowerReasoning_4bit 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/codesagar/WatchTowerReasoning_4bit. 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/codesagar/WatchTowerReasoning_4bit 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/codesagar/WatchTowerReasoning_4bit. 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.
Instructions to use codesagar/WatchTowerReasoning_4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use codesagar/WatchTowerReasoning_4bit with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="codesagar/WatchTowerReasoning_4bit")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("codesagar/WatchTowerReasoning_4bit") model = AutoModelForCausalLM.from_pretrained("codesagar/WatchTowerReasoning_4bit", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use codesagar/WatchTowerReasoning_4bit with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "codesagar/WatchTowerReasoning_4bit" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "codesagar/WatchTowerReasoning_4bit", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/codesagar/WatchTowerReasoning_4bit
- SGLang
How to use codesagar/WatchTowerReasoning_4bit 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 "codesagar/WatchTowerReasoning_4bit" \ --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": "codesagar/WatchTowerReasoning_4bit", "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 "codesagar/WatchTowerReasoning_4bit" \ --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": "codesagar/WatchTowerReasoning_4bit", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Unsloth Desktop
- Docker Model Runner
How to use codesagar/WatchTowerReasoning_4bit with Docker Model Runner:
docker model run hf.co/codesagar/WatchTowerReasoning_4bit
Trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
Files changed (2)
- tokenizer.json+7-16
- tokenizer_config.json+2-1
30 unmodified lines313233343536373839404142434445464748495051525380 unmodified lines13413513613713813930 unmodified lines"special": true}],"normalizer": {"type": "Sequence","normalizers": [{"type": "Prepend","prepend": "▁"},{"type": "Replace","pattern": {"String": " "},"content": "▁"}]},"pre_tokenizer": null,"post_processor": {"type": "TemplateProcessing","single": [80 unmodified lines"end_of_word_suffix": null,"fuse_unk": true,"byte_fallback": true,"vocab": {"<unk>": 0,"<s>": 1,30 unmodified lines3132333435363738394041424380 unmodified lines12412512612712812913030 unmodified lines"special": true}],"normalizer": null,"pre_tokenizer": {"type": "Metaspace","replacement": "▁","prepend_scheme": "first","split": false},"post_processor": {"type": "TemplateProcessing","single": [80 unmodified lines"end_of_word_suffix": null,"fuse_unk": true,"byte_fallback": true,"ignore_merges": false,"vocab": {"<unk>": 0,"<s>": 1,
12345624 unmodified lines31323334353637{"add_bos_token": true,"add_eos_token": false,"added_tokens_decoder": {"0": {"content": "<unk>",24 unmodified lines"bos_token": "<s>","clean_up_tokenization_spaces": false,"eos_token": "</s>","legacy": true,"model_max_length": 32768,"pad_token": "<unk>","padding_side": "left",123456724 unmodified lines32333435363738{"add_bos_token": true,"add_eos_token": false,"add_prefix_space": null,"added_tokens_decoder": {"0": {"content": "<unk>",24 unmodified lines"bos_token": "<s>","clean_up_tokenization_spaces": false,"eos_token": "</s>","legacy": false,"model_max_length": 32768,"pad_token": "<unk>","padding_side": "left",
tokenizer.json+7-16
tokenizer_config.json+2-1