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 480-487
Browse filesFiles changed (8)
- datasets/KLLM-20B/source2b/counts/086.binAdded+3
- datasets/KLLM-20B/source2b/counts/087.binAdded+3
- datasets/KLLM-20B/source2b/counts/088.binAdded+3
- datasets/KLLM-20B/source2b/counts/089.binAdded+3
- datasets/KLLM-20B/source2b/counts/090.binAdded+3
- datasets/KLLM-20B/source2b/counts/091.binAdded+3
- datasets/KLLM-20B/source2b/counts/092.binAdded+3
- datasets/KLLM-20B/source2b/counts/093.binAdded+3
123version https://git-lfs.github.com/spec/v1oid sha256:892a045c8068c6b187ad0065df17b7715216d70c5a02ed3cf76d640b43cab136size 4080056123version https://git-lfs.github.com/spec/v1oid sha256:1263f8fb474cba38825d7c07ff3d1446d7ff12b5da002c6cfa828a4b3a35b79csize 4085512123version https://git-lfs.github.com/spec/v1oid sha256:0771fd56d91ed617a506ccc2a56cca254d2b0eb7c3cb538a42f8313dd39d3381size 4080792123version https://git-lfs.github.com/spec/v1oid sha256:eac3d1bd04a8d0288be37751de6dbe612f566835d376be19b6f2e5cb683d68dfsize 4055128123version https://git-lfs.github.com/spec/v1oid sha256:c94cc484c5c80156f64d7b311c73498368df000c5f5fe265100239262630bc33size 4065440123version https://git-lfs.github.com/spec/v1oid sha256:b2d9905705f07bcd29de7674a36d842949be9f843e3ec605a698ba12263e28c1size 4074560123version https://git-lfs.github.com/spec/v1oid sha256:af586e71de02585ba2e5b7bceee6262f5a0a8045ab324fb010f1d7d99cb56d34size 4070088123version https://git-lfs.github.com/spec/v1oid sha256:40483fa3519f82e450109a5728f39b11050708b34e1738c080d75be885876729size 4065240datasets/KLLM-20B/source2b/counts/086.binAdded+3
datasets/KLLM-20B/source2b/counts/087.binAdded+3
datasets/KLLM-20B/source2b/counts/088.binAdded+3
datasets/KLLM-20B/source2b/counts/089.binAdded+3
datasets/KLLM-20B/source2b/counts/090.binAdded+3
datasets/KLLM-20B/source2b/counts/091.binAdded+3
datasets/KLLM-20B/source2b/counts/092.binAdded+3
datasets/KLLM-20B/source2b/counts/093.binAdded+3