Run this model with HF Jobs
Run HiTruong/Sailor_chatbot 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/HiTruong/Sailor_chatbot. 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/HiTruong/Sailor_chatbot 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/HiTruong/Sailor_chatbot. 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/HiTruong/Sailor_chatbot. 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 HiTruong/Sailor_chatbot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HiTruong/Sailor_chatbot with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="HiTruong/Sailor_chatbot") 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("HiTruong/Sailor_chatbot") model = AutoModelForCausalLM.from_pretrained("HiTruong/Sailor_chatbot", 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 HiTruong/Sailor_chatbot with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "HiTruong/Sailor_chatbot" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "HiTruong/Sailor_chatbot", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/HiTruong/Sailor_chatbot
- SGLang
How to use HiTruong/Sailor_chatbot 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 "HiTruong/Sailor_chatbot" \ --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": "HiTruong/Sailor_chatbot", "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 "HiTruong/Sailor_chatbot" \ --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": "HiTruong/Sailor_chatbot", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use HiTruong/Sailor_chatbot with Docker Model Runner:
docker model run hf.co/HiTruong/Sailor_chatbot
Commit History
-
Training in progress, step 480, checkpoint
Verified signaturef2b94de -
Training in progress, step 476, checkpoint
Verified signaturebb3ccee -
Training in progress, step 472, checkpoint
Verified signaturee4409c4 -
Training in progress, step 468, checkpoint
Verified signaturea2f6f18 -
Training in progress, step 464, checkpoint
Verified signaturef53d19c -
Training in progress, step 460, checkpoint
Verified signature7bfe946 -
Training in progress, step 456, checkpoint
Verified signaturea39f6f7 -
Training in progress, step 452, checkpoint
Verified signature19ae775 -
Training in progress, step 448, checkpoint
Verified signaturefbf10cf -
Training in progress, step 444, checkpoint
Verified signature71f67ce -
Training in progress, step 440, checkpoint
Verified signature6e6972e -
Training in progress, step 436, checkpoint
Verified signature5e2ef68 -
Training in progress, step 432, checkpoint
Verified signature7148197 -
Training in progress, step 428, checkpoint
Verified signature0eb3d78 -
Training in progress, step 424, checkpoint
Verified signature014e364 -
Training in progress, step 420, checkpoint
Verified signature6cdd11b -
Training in progress, step 416, checkpoint
Verified signaturec25ab61 -
Training in progress, step 412, checkpoint
Verified signature848443a -
Training in progress, step 408, checkpoint
Verified signature08aebe4 -
Training in progress, step 404, checkpoint
Verified signaturebf501e3 -
Training in progress, step 400, checkpoint
Verified signatureb677e22 -
Training in progress, step 396, checkpoint
Verified signature6275c93 -
Training in progress, step 392, checkpoint
Verified signature5f5eb9b -
Training in progress, step 388, checkpoint
Verified signatured4a2538 -
Training in progress, step 384, checkpoint
Verified signature823b63b -
Training in progress, step 380, checkpoint
Verified signature8e27e28 -
Training in progress, step 376, checkpoint
Verified signatured86f340 -
Training in progress, step 372, checkpoint
Verified signature4fa4f71 -
Training in progress, step 368, checkpoint
Verified signaturea5fcc8a -
Training in progress, step 364, checkpoint
Verified signaturefce909b -
Training in progress, step 360, checkpoint
Verified signatureec6d49e -
Training in progress, step 356, checkpoint
Verified signaturec236783 -
Training in progress, step 352, checkpoint
Verified signaturecfb6f3a -
Training in progress, step 348, checkpoint
Verified signature9b64bd7 -
Training in progress, step 344, checkpoint
Verified signature58cb589 -
Training in progress, step 340, checkpoint
Verified signature9e68584 -
Training in progress, step 336, checkpoint
Verified signatureada4487 -
Training in progress, step 332, checkpoint
Verified signature3ecc5e0 -
Training in progress, step 328, checkpoint
Verified signatured6af4f9 -
Training in progress, step 324, checkpoint
Verified signature2daf7f9 -
Training in progress, step 320, checkpoint
Verified signature6d02af3 -
Training in progress, step 316, checkpoint
Verified signature3579418 -
Training in progress, step 312, checkpoint
Verified signatureb8d32e5 -
Training in progress, step 308, checkpoint
Verified signature5adff69 -
Training in progress, step 304, checkpoint
Verified signature289d59f -
Training in progress, step 300, checkpoint
Verified signature7296560 -
Training in progress, step 292, checkpoint
Verified signatureb199cd1 -
Training in progress, step 288, checkpoint
Verified signaturee16af2b -
Training in progress, step 284, checkpoint
Verified signaturea1a0151 -
Training in progress, step 280, checkpoint
Verified signature7b4cc9c