Run this model with HF Jobs
Run meihant/AnonymousModel-mht 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/meihant/AnonymousModel-mht. 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/meihant/AnonymousModel-mht 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/meihant/AnonymousModel-mht. 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/meihant/AnonymousModel-mht. 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 meihant/AnonymousModel-mht with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use meihant/AnonymousModel-mht with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="meihant/AnonymousModel-mht")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("meihant/AnonymousModel-mht", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use meihant/AnonymousModel-mht with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "meihant/AnonymousModel-mht" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "meihant/AnonymousModel-mht", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/meihant/AnonymousModel-mht
- SGLang
How to use meihant/AnonymousModel-mht 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 "meihant/AnonymousModel-mht" \ --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": "meihant/AnonymousModel-mht", "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 "meihant/AnonymousModel-mht" \ --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": "meihant/AnonymousModel-mht", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use meihant/AnonymousModel-mht with Docker Model Runner:
docker model run hf.co/meihant/AnonymousModel-mht
Add datasets/KLLM-20B artifacts 144-151
Browse filesFiles changed (8)
- datasets/KLLM-20B/data/train-00144-of-00392.jsonl.gzAdded+3
- datasets/KLLM-20B/data/train-00145-of-00392.jsonl.gzAdded+3
- datasets/KLLM-20B/data/train-00146-of-00392.jsonl.gzAdded+3
- datasets/KLLM-20B/data/train-00147-of-00392.jsonl.gzAdded+3
- datasets/KLLM-20B/data/train-00148-of-00392.jsonl.gzAdded+3
- datasets/KLLM-20B/data/train-00149-of-00392.jsonl.gzAdded+3
- datasets/KLLM-20B/data/train-00150-of-00392.jsonl.gzAdded+3
- datasets/KLLM-20B/data/train-00151-of-00392.jsonl.gzAdded+3
123version https://git-lfs.github.com/spec/v1oid sha256:6c4606ebbb5ec8c02e042d5fb1f9ae89928a55cd507fd2436d0fad35aba93aa2size 116792426123version https://git-lfs.github.com/spec/v1oid sha256:dc696138ebc2a8f2028f9f2448af250f47ab903198d58c51f662612aaa218c73size 116953424123version https://git-lfs.github.com/spec/v1oid sha256:0cda19e0bcbd6aac399927dcfb2c9556b79c46d14cfac10d97a5e73a06e96cc6size 116777186123version https://git-lfs.github.com/spec/v1oid sha256:f951bb15b0ad88e6cc858a8127dee2c271106c4ee747c1641771b1ccd5c31d32size 116984874123version https://git-lfs.github.com/spec/v1oid sha256:6f8843bea8aedb1e9870031f4ed53a63def16456b4de39c7495dfcb7bb002a7asize 115847311123version https://git-lfs.github.com/spec/v1oid sha256:306b7c763baa194afade2c5a39b9de3ae8edc53ee57ebaa617692045052de6aasize 115746540123version https://git-lfs.github.com/spec/v1oid sha256:38b6231bd75d6475317b7a4f908de0f4eb78d5bf2d2e90fab0472868fdc06894size 115807130123version https://git-lfs.github.com/spec/v1oid sha256:13e211adfd1ddb6b2a658622ebebd7a816036a03eaac1f91cf07de41709cd465size 115881448datasets/KLLM-20B/data/train-00144-of-00392.jsonl.gzAdded+3
datasets/KLLM-20B/data/train-00145-of-00392.jsonl.gzAdded+3
datasets/KLLM-20B/data/train-00146-of-00392.jsonl.gzAdded+3
datasets/KLLM-20B/data/train-00147-of-00392.jsonl.gzAdded+3
datasets/KLLM-20B/data/train-00148-of-00392.jsonl.gzAdded+3
datasets/KLLM-20B/data/train-00149-of-00392.jsonl.gzAdded+3
datasets/KLLM-20B/data/train-00150-of-00392.jsonl.gzAdded+3
datasets/KLLM-20B/data/train-00151-of-00392.jsonl.gzAdded+3