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
Finalize verified models/Co-LMLM-SmolLM2-360M-20B/checkpoints/10B
Browse filesFiles changed (2)
1234567891011121314151617181920212223# Co-LMLM 10B model
Artifacts for the SmolLM2-360M 20B comparison. Stored under `models/Co-LMLM-SmolLM2-360M-20B/checkpoints/10B/` in `meihant/AnonymousModel-mht` (a model repository).
{ "step": 22998, "target_source_tokens": 10000000000, "source_tokens": 10000000091, "training_tokens": 12001641955, "checkpoint_kind": "evaluation", "resumable": false, "model": "SmolLM2-360M", "precision": "BF16 parameters and AdamW moments", "context": 4096, "global_batch": 128, "packing": "BFD", "learning_rate": 0.0005, "warmup_steps": 2000, "scheduler": "constant_with_warmup", "final_checkpoint": false}
See manifest.json for artifact hashes and completeness. The original corpus is the shared nominal-20B FineWeb-Edu source. BFD uses 4096-token sequences and 1000-record candidate buffers.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ "method": "colmlm", "kind": "model", "step": 22998, "target_source_tokens": 10000000000, "source_tokens": 10000000091, "training_tokens": 12001641955, "checkpoint_kind": "evaluation", "resumable": false, "model": "SmolLM2-360M", "precision": "BF16 parameters and AdamW moments", "context": 4096, "global_batch": 128, "packing": "BFD", "learning_rate": 0.0005, "warmup_steps": 2000, "scheduler": "constant_with_warmup", "final_checkpoint": false, "files": [ { "path": "config.json", "bytes": 778, "sha256": "26692c87bf2506c13ee9f71de02d2db89ec71e3690230671e799180cd3e65cf3" }, { "path": "generation_config.json", "bytes": 194, "sha256": "b8733fba00d21edda23e6f7cca5cfe0312e5236dfa2b253e9f389f4ad0a48f58" }, { "path": "model.safetensors", "bytes": 723680672, "sha256": "a321f3f892cbf3de70bc160656b98f21a2f5755ed5914d132975eea071f0d7e5" }, { "path": "tokenizer.json", "bytes": 3523519, "sha256": "a6af0db2ef4b90cbe11ed3c2a6744eeedb7cae4ea8baf1ce40396949c5dddd9c" }, { "path": "tokenizer_config.json", "bytes": 466, "sha256": "fd96339eaaad0449c7df04df9e38291e380418f7caa5157825d27da7a92b1751" }, { "path": "training_progress.json", "bytes": 678, "sha256": "23987eb56f8d597b25f44eb22c074e8c174d86e3d9d2fc2666ab544b1c59d6ae" } ]}models/Co-LMLM-SmolLM2-360M-20B/checkpoints/10B/README.mdAdded+23
models/Co-LMLM-SmolLM2-360M-20B/checkpoints/10B/manifest.jsonAdded+51