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 136-143
Browse filesFiles changed (8)
- datasets/KLLM-20B/data/train-00136-of-00392.jsonl.gzAdded+3
- datasets/KLLM-20B/data/train-00137-of-00392.jsonl.gzAdded+3
- datasets/KLLM-20B/data/train-00138-of-00392.jsonl.gzAdded+3
- datasets/KLLM-20B/data/train-00139-of-00392.jsonl.gzAdded+3
- datasets/KLLM-20B/data/train-00140-of-00392.jsonl.gzAdded+3
- datasets/KLLM-20B/data/train-00141-of-00392.jsonl.gzAdded+3
- datasets/KLLM-20B/data/train-00142-of-00392.jsonl.gzAdded+3
- datasets/KLLM-20B/data/train-00143-of-00392.jsonl.gzAdded+3
123version https://git-lfs.github.com/spec/v1oid sha256:3565f46ed14030945b604f89fbe9d14a7fa7a9006b6bdfd0b7a223115339e051size 116225162123version https://git-lfs.github.com/spec/v1oid sha256:b20375eddbcfee413d699caa2368538db2a92f1b242309079045ecce36df9561size 116413701123version https://git-lfs.github.com/spec/v1oid sha256:7955e7157d6a391c9e3e5c31654e6f58a5af829003c7104e4a809d202ff2da22size 116128898123version https://git-lfs.github.com/spec/v1oid sha256:9fbc92569a2c8cf2662d3b4652543e72c25f5e28d438f2b22fdc3107d333fd1esize 115928150123version https://git-lfs.github.com/spec/v1oid sha256:807dfb0cb10dd829d140c28f153e0d3745971fdde478b11c0b7aa8d256f00656size 116563583123version https://git-lfs.github.com/spec/v1oid sha256:b00e8505e03e46801ba74caeecbe4a2501f109cb5f7ef6f9894f9674df5dc1f9size 116517917123version https://git-lfs.github.com/spec/v1oid sha256:af4ed6a1a5bba1a07e90143704211ee912d0a0e30199bb0702a0874e4b0fb71csize 116658983123version https://git-lfs.github.com/spec/v1oid sha256:3959b313b3edcc3f7c44e6ddaf7f70cbd68cd63c235ff7801cac355929aa4e3bsize 116595709datasets/KLLM-20B/data/train-00136-of-00392.jsonl.gzAdded+3
datasets/KLLM-20B/data/train-00137-of-00392.jsonl.gzAdded+3
datasets/KLLM-20B/data/train-00138-of-00392.jsonl.gzAdded+3
datasets/KLLM-20B/data/train-00139-of-00392.jsonl.gzAdded+3
datasets/KLLM-20B/data/train-00140-of-00392.jsonl.gzAdded+3
datasets/KLLM-20B/data/train-00141-of-00392.jsonl.gzAdded+3
datasets/KLLM-20B/data/train-00142-of-00392.jsonl.gzAdded+3
datasets/KLLM-20B/data/train-00143-of-00392.jsonl.gzAdded+3