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 120-127
Browse filesFiles changed (8)
- datasets/KLLM-20B/data/train-00120-of-00392.jsonl.gzAdded+3
- datasets/KLLM-20B/data/train-00121-of-00392.jsonl.gzAdded+3
- datasets/KLLM-20B/data/train-00122-of-00392.jsonl.gzAdded+3
- datasets/KLLM-20B/data/train-00123-of-00392.jsonl.gzAdded+3
- datasets/KLLM-20B/data/train-00124-of-00392.jsonl.gzAdded+3
- datasets/KLLM-20B/data/train-00125-of-00392.jsonl.gzAdded+3
- datasets/KLLM-20B/data/train-00126-of-00392.jsonl.gzAdded+3
- datasets/KLLM-20B/data/train-00127-of-00392.jsonl.gzAdded+3
123version https://git-lfs.github.com/spec/v1oid sha256:67c7b960345fcd19397c18665d71c649638c0ab309617ff098871cbff1a01825size 116763038123version https://git-lfs.github.com/spec/v1oid sha256:ac9a5cbc3012e4e0b879a6a227090428cc62a244dd6c7f249781b6fe91ccbca6size 117140770123version https://git-lfs.github.com/spec/v1oid sha256:3cfa7dbb55e291e59bc75e00829cc9034d834c606aedeb18b0cbc4d11fdf54dbsize 116782181123version https://git-lfs.github.com/spec/v1oid sha256:22b96fd580f8417a56b419688b04330ad02b5b241519b06d2d3e647dd497f1a8size 117055071123version https://git-lfs.github.com/spec/v1oid sha256:defa7e3e4fa47e7a18ffd9fa179d7d0694a18cbdafb2951b0fc5d9774bb83faasize 116263351123version https://git-lfs.github.com/spec/v1oid sha256:73cc2944ce2fb40c242aaba06664e1248cecda13cde78ab755ddbc7ed37c0df0size 116500353123version https://git-lfs.github.com/spec/v1oid sha256:125baf3a6337319016d675e5c2345b7fe4454b9ad6341103dc27c68f1571ed61size 116406469123version https://git-lfs.github.com/spec/v1oid sha256:8aecba68a89ab33a313ebe986c75e13f27cbed9c81da1af56a0b3e9cde7f38dcsize 116425043datasets/KLLM-20B/data/train-00120-of-00392.jsonl.gzAdded+3
datasets/KLLM-20B/data/train-00121-of-00392.jsonl.gzAdded+3
datasets/KLLM-20B/data/train-00122-of-00392.jsonl.gzAdded+3
datasets/KLLM-20B/data/train-00123-of-00392.jsonl.gzAdded+3
datasets/KLLM-20B/data/train-00124-of-00392.jsonl.gzAdded+3
datasets/KLLM-20B/data/train-00125-of-00392.jsonl.gzAdded+3
datasets/KLLM-20B/data/train-00126-of-00392.jsonl.gzAdded+3
datasets/KLLM-20B/data/train-00127-of-00392.jsonl.gzAdded+3