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 144-151
Browse filesFiles changed (8)
- datasets/FCP-20B/encoded/028/supervised.binAdded+3
- datasets/FCP-20B/encoded/029/body.binAdded+3
- datasets/FCP-20B/encoded/029/ids.binAdded+3
- datasets/FCP-20B/encoded/029/labels.binAdded+3
- datasets/FCP-20B/encoded/029/offsets.binAdded+3
- datasets/FCP-20B/encoded/029/supervised.binAdded+3
- datasets/FCP-20B/encoded/030/ids.binAdded+3
- datasets/FCP-20B/encoded/030/labels.binAdded+3
123version https://git-lfs.github.com/spec/v1oid sha256:5efab85363e4e556ffef44cdad14e2948583da75b3151ae0089357c7f3e19f73size 4092248123version https://git-lfs.github.com/spec/v1oid sha256:6e6774801d5754c9a62091cef9313dc9d67491ee6f2ae070a54971f7ad2984c8size 4082056123version https://git-lfs.github.com/spec/v1oid sha256:40d29e349995a8c7a706203397204c027174806dcf435284344940cf4e72a06bsize 2062016848123version https://git-lfs.github.com/spec/v1oid sha256:b2595eb57f63dd0fbec4f4c53a7c0b1a2c47180de95e2b9a8b1bd310a5d4a186size 2062016848123version https://git-lfs.github.com/spec/v1oid sha256:6e8d6798af6805a945daebd07d30be17da002d54e3fa579b0377a9640213cbddsize 4082064123version https://git-lfs.github.com/spec/v1oid sha256:c3e395a02fe97a914252376b16d3d84ed71cbfaa7f6707952b3779904c41a474size 4082056123version https://git-lfs.github.com/spec/v1oid sha256:1a2ede08374b49e87bfa142c7d684517ead0d256c51022a3add71be3e8babdbdsize 2056095000123version https://git-lfs.github.com/spec/v1oid sha256:68823cefa7b8225890d2018aa7dfadb626ac61adc52616513d485b1247cf7bc8size 2056095000datasets/FCP-20B/encoded/028/supervised.binAdded+3
datasets/FCP-20B/encoded/029/body.binAdded+3
datasets/FCP-20B/encoded/029/ids.binAdded+3
datasets/FCP-20B/encoded/029/labels.binAdded+3
datasets/FCP-20B/encoded/029/offsets.binAdded+3
datasets/FCP-20B/encoded/029/supervised.binAdded+3
datasets/FCP-20B/encoded/030/ids.binAdded+3
datasets/FCP-20B/encoded/030/labels.binAdded+3