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/FCP-SmolLM2-360M-20B/checkpoints/20B
Browse filesFiles changed (2)
1234567891011121314151617181920212223# FCP 20B model
Artifacts for the SmolLM2-360M 20B comparison. Stored under `models/FCP-SmolLM2-360M-20B/checkpoints/20B/` in `meihant/AnonymousModel-mht` (a model repository).
{ "step": 95158, "target_source_tokens": 20000000000, "source_tokens": 20000000040, "training_tokens": 49672486395, "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": true}
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.1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ "method": "fcp", "kind": "model", "step": 95158, "target_source_tokens": 20000000000, "source_tokens": 20000000040, "training_tokens": 49672486395, "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": true, "files": [ { "path": "chat_template.jinja", "bytes": 391, "sha256": "d2771c9694cc22f4d983cbf2344551d4d0933156a927f673584a358e4aee0563" }, { "path": "config.json", "bytes": 775, "sha256": "6fc5a8f7f998517da9963043785832ee8cc4954b9dd3ad9cb757e0c214db49de" }, { "path": "generation_config.json", "bytes": 215, "sha256": "fd4d3b53dcff228245b5e91b7f6b7729b9b1f7f6e4cf3cdce57cef26db0772ef" }, { "path": "model.safetensors", "bytes": 723686432, "sha256": "940af68d592c5bf2a920c259c808c17943127800cb4a56ca8326f52a64dfa551" }, { "path": "tokenizer.json", "bytes": 3523968, "sha256": "87fd33a66131c780462a54d7d088ce20fa10216134144acd7e6818bbc36ef8ca" }, { "path": "tokenizer_config.json", "bytes": 388, "sha256": "ac5a687ced18da96ff4bc754136508afe2d363a745a1b9c19eca280c1cdbdb47" }, { "path": "training_progress.json", "bytes": 3053, "sha256": "380252045fcfff6b03a6cad9933109f63f559c6cc89232fb2c0fe0a5db6b410c" } ]}models/FCP-SmolLM2-360M-20B/checkpoints/20B/README.mdAdded+23
models/FCP-SmolLM2-360M-20B/checkpoints/20B/manifest.jsonAdded+56