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/KLLM-SmolLM2-360M-20B
Browse filesFiles changed (2)
12345678910111213141516171819202122# KLLM 20B model
Artifacts for the SmolLM2-360M 20B comparison. Stored under `models/KLLM-SmolLM2-360M-20B/` in `meihant/AnonymousModel-mht` (a model repository).
{ "step": 39882, "source_records": 49131472, "source_tokens": 20000000040, "training_tokens": 20799383452, "question_tokens": 49131472, "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.123456789101112131415161718192021222324252627282930313233343536373839404142434445{ "method": "kllm", "kind": "model", "step": 39882, "source_records": 49131472, "source_tokens": 20000000040, "training_tokens": 20799383452, "question_tokens": 49131472, "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": "config.json", "bytes": 778, "sha256": "d0321fb8700678e23f4cd206f7958d7488ac982f5097bb7dedce6f24197fb3fa" }, { "path": "generation_config.json", "bytes": 194, "sha256": "b8733fba00d21edda23e6f7cca5cfe0312e5236dfa2b253e9f389f4ad0a48f58" }, { "path": "model.safetensors", "bytes": 723893792, "sha256": "d4fc37d781b577d9072db6dd9bc496ddc3f298f3785efd1175e0c422ad8960b9" }, { "path": "tokenizer.json", "bytes": 3544733, "sha256": "f75fde26d0654775af4deb7f0cd0a4d94e7e92ce4b72ad4442aa9d352bc445f5" }, { "path": "tokenizer_config.json", "bytes": 466, "sha256": "fd96339eaaad0449c7df04df9e38291e380418f7caa5157825d27da7a92b1751" } ]}models/KLLM-SmolLM2-360M-20B/README.mdAdded+22
models/KLLM-SmolLM2-360M-20B/manifest.jsonAdded+45