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 72-79
Browse filesFiles changed (8)
- datasets/KLLM-20B/data/train-00072-of-00392.jsonl.gzAdded+3
- datasets/KLLM-20B/data/train-00073-of-00392.jsonl.gzAdded+3
- datasets/KLLM-20B/data/train-00074-of-00392.jsonl.gzAdded+3
- datasets/KLLM-20B/data/train-00075-of-00392.jsonl.gzAdded+3
- datasets/KLLM-20B/data/train-00076-of-00392.jsonl.gzAdded+3
- datasets/KLLM-20B/data/train-00077-of-00392.jsonl.gzAdded+3
- datasets/KLLM-20B/data/train-00078-of-00392.jsonl.gzAdded+3
- datasets/KLLM-20B/data/train-00079-of-00392.jsonl.gzAdded+3
123version https://git-lfs.github.com/spec/v1oid sha256:114ba2587b683c6f1851549eb6d3d53b353dd2f38b08c3fbc391d741b150daa1size 118375320123version https://git-lfs.github.com/spec/v1oid sha256:ec7c8a194967f8c26bfbfecc8226476aaf9ff62a37a23f88c1a4d95c634e5765size 118326673123version https://git-lfs.github.com/spec/v1oid sha256:9d347ad17f126eef545f7ae5f6d4c04bc21ce796f5af6e7f000ef46f43e0e017size 118168591123version https://git-lfs.github.com/spec/v1oid sha256:81a09fb257d3e703a709e65dc5d940830f1b8136c2b1148193bb5686e40ad231size 118381341123version https://git-lfs.github.com/spec/v1oid sha256:fb096b3e45d659ed027780f1d4af48f4373d827d195f969fb8bc30dbb5498f89size 117692573123version https://git-lfs.github.com/spec/v1oid sha256:848bb4dbae063bb03bacf23f51416fc328f7b3bc2bedb34915c46336179593efsize 117667769123version https://git-lfs.github.com/spec/v1oid sha256:88395028610387f1bed48df92ec04022e532ed9c4a287dd2b11062aa7c0323cfsize 117558797123version https://git-lfs.github.com/spec/v1oid sha256:b71a356ba0f08bb2b87db56e57cb2e89267f23656e8b51e25ea61de724070d20size 117721134datasets/KLLM-20B/data/train-00072-of-00392.jsonl.gzAdded+3
datasets/KLLM-20B/data/train-00073-of-00392.jsonl.gzAdded+3
datasets/KLLM-20B/data/train-00074-of-00392.jsonl.gzAdded+3
datasets/KLLM-20B/data/train-00075-of-00392.jsonl.gzAdded+3
datasets/KLLM-20B/data/train-00076-of-00392.jsonl.gzAdded+3
datasets/KLLM-20B/data/train-00077-of-00392.jsonl.gzAdded+3
datasets/KLLM-20B/data/train-00078-of-00392.jsonl.gzAdded+3
datasets/KLLM-20B/data/train-00079-of-00392.jsonl.gzAdded+3