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/FCP-20B artifacts 184-191
Browse filesFiles changed (8)
- datasets/FCP-20B/encoded/036/supervised.binAdded+3
- datasets/FCP-20B/encoded/037/body.binAdded+3
- datasets/FCP-20B/encoded/037/ids.binAdded+3
- datasets/FCP-20B/encoded/037/labels.binAdded+3
- datasets/FCP-20B/encoded/037/offsets.binAdded+3
- datasets/FCP-20B/encoded/037/supervised.binAdded+3
- datasets/FCP-20B/encoded/038/ids.binAdded+3
- datasets/FCP-20B/encoded/038/labels.binAdded+3
123version https://git-lfs.github.com/spec/v1oid sha256:2fee482665e1ce524ad0bfc650f55509c9a180bc77c5ae4a31e7e98f3dd79b0dsize 4071744123version https://git-lfs.github.com/spec/v1oid sha256:93c7bbe299ddb3511c1592a6300ba4e15bdcbfcfc3f8306933fabdd42bc5dd30size 4043248123version https://git-lfs.github.com/spec/v1oid sha256:72ce8b2aa5ae97cd4842e13813ea6eb05222eb8c269226d8f1e53fb4c8f295acsize 2038903316123version https://git-lfs.github.com/spec/v1oid sha256:2efa825e8bdb9a773863da3eb9fd1f410d9e80315502da2129766a0e3c8dd7f2size 2038903316123version https://git-lfs.github.com/spec/v1oid sha256:ce4348cb2f7b7fe0f20317b406a557d4e161308c4d057e9acae450fef660ff94size 4043256123version https://git-lfs.github.com/spec/v1oid sha256:530d5c9320c83d6108ca7abc386ade0e885b27623d3c901a60f15e7c40f5a0c7size 4043248123version https://git-lfs.github.com/spec/v1oid sha256:4f1886d767e310dfaebe46165fb52187d0ee913bb6ed197d4b33f379bd78278bsize 2055490272123version https://git-lfs.github.com/spec/v1oid sha256:4b1c326dfa8a381b2a364455976585bcbf5685f6c81678c08990364fc8722644size 2055490272datasets/FCP-20B/encoded/036/supervised.binAdded+3
datasets/FCP-20B/encoded/037/body.binAdded+3
datasets/FCP-20B/encoded/037/ids.binAdded+3
datasets/FCP-20B/encoded/037/labels.binAdded+3
datasets/FCP-20B/encoded/037/offsets.binAdded+3
datasets/FCP-20B/encoded/037/supervised.binAdded+3
datasets/FCP-20B/encoded/038/ids.binAdded+3
datasets/FCP-20B/encoded/038/labels.binAdded+3