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
FCP SmolLM2-1.7B scratch source-16B checkpoint
Browse filesFiles changed (7)
- models/FCP-SmolLM2-1.7B-20B/checkpoints/16B/READY.jsonAdded+66
- models/FCP-SmolLM2-1.7B-20B/checkpoints/16B/chat_template.jinjaAdded+8
- models/FCP-SmolLM2-1.7B-20B/checkpoints/16B/config.jsonAdded+32
- models/FCP-SmolLM2-1.7B-20B/checkpoints/16B/generation_config.jsonAdded+10
- models/FCP-SmolLM2-1.7B-20B/checkpoints/16B/model.safetensorsAdded+3
- models/FCP-SmolLM2-1.7B-20B/checkpoints/16B/tokenizer.jsonAdded
- models/FCP-SmolLM2-1.7B-20B/checkpoints/16B/tokenizer_config.jsonAdded+15
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566{ "passed": true, "step": 76136, "body_tokens": 16000000341, "source_tokens": 16000000433, "training_tokens": 39742902826, "job_id": "3021873", "checkpoint_unix_time": 1795423707.4716408, "training_seconds": 416779.10895065404, "training_gpu_hours": 463.08789883473554, "milestone": { "segment": 7, "end_row": 39291912, "source_tokens": 16000000433, "target_tokens": 16000000000, "start_pack": 8527473, "end_pack": 9745065 }, "config": { "seed": 42, "architecture": "smollm17b", "window": 4096, "world_size": 4, "global_batch": 128, "learning_rate": 0.0005, "warmup_steps": 2000, "scheduler": "constant_with_warmup", "adam_betas": [ 0.9, 0.95 ], "adam_epsilon": 1e-08, "weight_decay": 0.01, "max_grad_norm": 1.0, "save_body_tokens": 2000000000, "initialization": "random architecture config only; seed42; Vanilla/FCP share original 360M vocabulary; KLLM retains its original vocabulary; no pretrained weights", "precision": "BF16 parameters, gradients and AdamW moments", "packing": "BFD,1000-record buffers; reset positions and independent fragment attention", "checkpoint": "original-source 2B boundaries through 20B; recovery every 1000 steps latest1", "repo": "meihant/AnonymousModel-mht" }, "code_hashes": { "bfd.py": "ba37e45bfe6882b7c1747bfaafbaf55611f0cdfa2971ad16cd58d88a4009640d", "config.py": "4821e189c07536f8f09414619e61ade0aad1aa1bb7bcac17e9947380fcf00950", "eval_common.py": "4c6389df6dea7ec97286eee6cd40b220b3810892625f7139e0d86b91ec5194c0", "evaluate.py": "3e4b5a81f7f7212aecdf088c0d58935f1cc0de76de9a855f18e7896d52ac78fc", "fcp_format.py": "bef4a540107f949af0e9a2149419ea05cdc4f52385b66eaed84ef25dc40a8305", "gate.py": "34f4866237cefcb33874969717c313bee70db3fbb977d82372a5699bac829cdd", "layout.py": "f30a8a77cb97a4bf8d33248a14bbc9112c358b0a0162255d7a77abb15f8f7e2b", "model.py": "ac457f8f87c2c6b1dc6004566188fe583af19f2018b9dc0fa23d1fd32260db51", "prepare.py": "1df33fdd60e09736c6584b5876e80127ade6d6ca22ab6bc966549595d351d60f", "prepare_eval.py": "bf3f70c40f1010bcc5553d92d1bd1e80de76124ff646e336f799d79a7c9ed94f", "prepare_packs.py": "dc21762726dba8d2902441496d3a502cab50e8b8f90a61cc7eabb9bb5d0116dc", "reused_corpus.py": "4a1c8d6984e4c7dfdd3492b97a4e6830f37f6a030f84c892a3132dcc9e746764", "run.py": "f55799ad51cdd3d9a6614b4aee2848601199cd7fcbfe93d01effa527fd97cb6d", "runtime.py": "3d9caf033512ad7bfa09cf97fbbb83794a00b119f48202c257064b542d3973ae", "train.py": "0c92940082ad5f18035fdfa5ba8b0f79105a931f709b547049026e660fda51bf", "upload.py": "ec68f3bf4fc0642705d5cacf2d4f0334105b89b913ab03781a0a7a65f6320b27", "verify.py": "45391e7a656a8ab47f8898496b4d2fa1b1f2820ba28c0538cda25bb0b9bc84f3" }, "final": false, "method": "fcp", "state_signature": null, "checkpoint_kind": "evaluation", "resumable": false}12345678{% for message in messages %}{% if message['role'] == 'system' %}<|im_start|>system{{ message['content'] }}<|im_end|>{% elif message['role'] == 'user' %}<|im_start|>user{{ message['content'] }}<|im_end|>{% elif message['role'] == 'assistant' %}<|im_start|>assistant{{ message['content'] }}<|im_end|>{% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant{% endif %}1234567891011121314151617181920212223242526272829303132{ "architectures": [ "LlamaForCausalLM" ], "attention_bias": false, "attention_dropout": 0.0, "bos_token_id": 0, "dtype": "bfloat16", "eos_token_id": 0, "head_dim": 64, "hidden_act": "silu", "hidden_size": 2048, "initializer_range": 0.02, "intermediate_size": 8192, "max_position_embeddings": 8192, "mlp_bias": false, "model_type": "llama", "num_attention_heads": 32, "num_hidden_layers": 24, "num_key_value_heads": 32, "pad_token_id": 0, "pretraining_tp": 1, "rms_norm_eps": 1e-05, "rope_parameters": { "rope_theta": 130000, "rope_type": "default" }, "tie_word_embeddings": true, "transformers_version": "5.6.2", "use_cache": true, "vocab_size": 49158}12345678910{ "_from_model_config": true, "bos_token_id": 0, "eos_token_id": 0, "output_attentions": false, "output_hidden_states": false, "pad_token_id": 0, "transformers_version": "5.6.2", "use_cache": true}123version https://git-lfs.github.com/spec/v1oid sha256:5a6dc6e093cd3b35bb6e7d6f3e47711b467c9ad0ffd7d8a78c6d7ee2b2cce51fsize 3422802528123456789101112131415{ "add_prefix_space": false, "backend": "tokenizers", "bos_token": "<|endoftext|>", "clean_up_tokenization_spaces": false, "eos_token": "<|endoftext|>", "errors": "replace", "is_local": true, "local_files_only": true, "model_max_length": 8192, "pad_token": "<|endoftext|>", "tokenizer_class": "GPT2Tokenizer", "unk_token": "<|endoftext|>", "vocab_size": 49152}models/FCP-SmolLM2-1.7B-20B/checkpoints/16B/READY.jsonAdded+66
models/FCP-SmolLM2-1.7B-20B/checkpoints/16B/chat_template.jinjaAdded+8
models/FCP-SmolLM2-1.7B-20B/checkpoints/16B/config.jsonAdded+32
models/FCP-SmolLM2-1.7B-20B/checkpoints/16B/generation_config.jsonAdded+10
models/FCP-SmolLM2-1.7B-20B/checkpoints/16B/model.safetensorsAdded+3
models/FCP-SmolLM2-1.7B-20B/checkpoints/16B/tokenizer.jsonAdded
models/FCP-SmolLM2-1.7B-20B/checkpoints/16B/tokenizer_config.jsonAdded+15