Text Generation
Transformers
PyTorch
English
thor-lm
causal-lm
thor
optimizer
llama
foundation-model
spectral-momentum
a100-benchmarked
fineweb-edu
Run this model with HF Jobs
Run Ultron28/thor-lm-1b 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/Ultron28/thor-lm-1b. 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/Ultron28/thor-lm-1b 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/Ultron28/thor-lm-1b. 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/Ultron28/thor-lm-1b. 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 Ultron28/thor-lm-1b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Ultron28/thor-lm-1b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Ultron28/thor-lm-1b")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("Ultron28/thor-lm-1b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Ultron28/thor-lm-1b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Ultron28/thor-lm-1b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Ultron28/thor-lm-1b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Ultron28/thor-lm-1b
- SGLang
How to use Ultron28/thor-lm-1b 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 "Ultron28/thor-lm-1b" \ --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": "Ultron28/thor-lm-1b", "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 "Ultron28/thor-lm-1b" \ --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": "Ultron28/thor-lm-1b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Ultron28/thor-lm-1b with Docker Model Runner:
docker model run hf.co/Ultron28/thor-lm-1b
Commit History
-
docs: enhance professional model card, UI widgets, and assets (assets/grand_124m_2000steps.png)
Verified signatureb949d1c -
docs: enhance professional model card, UI widgets, and assets (assets/death_run_titan.png)
Verified signature4b972d9 -
docs: enhance professional model card, UI widgets, and assets (assets/ultron_showcase_master.png)
Verified signature73a9f7b -
docs: enhance professional model card, UI widgets, and assets (generation_config.json)
Verified signature4c488cb -
docs: enhance professional model card, UI widgets, and assets (README.md)
Verified signature58f5f36 -
feat: update model card and publish A100 inference evaluation results (a100_inference_results.json)
Verified signature84f415c -
feat: update model card and publish A100 inference evaluation results (A100_INFERENCE_REPORT.md)
Verified signature84934b0 -
feat: update model card and publish A100 inference evaluation results (inference.py)
Verified signaturefeb3498 -
feat: update model card and publish A100 inference evaluation results (README.md)
Verified signature01ddb56 -
Upload thor_lm_1b_final.pt with huggingface_hub
Verified signature326a1d8 -
Upload telemetry.json with huggingface_hub
Verified signature91e2fed -
Upload thor_lm_1b_latest.pt with huggingface_hub
Verified signature032dc4b -
Upload telemetry.json with huggingface_hub
Verified signaturea8000f7 -
Upload thor_lm_1b_latest.pt with huggingface_hub
Verified signaturea5be635 -
Upload telemetry.json with huggingface_hub
Verified signatured299a92 -
Upload thor_lm_1b_latest.pt with huggingface_hub
Verified signaturef7b93c8 -
Upload telemetry.json with huggingface_hub
Verified signature8760f11 -
Upload thor_lm_1b_latest.pt with huggingface_hub
Verified signature6d276c6 -
Upload telemetry.json with huggingface_hub
Verified signature8ea3db5 -
Upload thor_lm_1b_latest.pt with huggingface_hub
Verified signature93860e5 -
Upload telemetry.json with huggingface_hub
Verified signature0689e5e -
Upload thor_lm_1b_latest.pt with huggingface_hub
Verified signature7431ece -
Upload telemetry.json with huggingface_hub
Verified signature3035545 -
Upload thor_lm_1b_latest.pt with huggingface_hub
Verified signature05d7dac -
Upload telemetry.json with huggingface_hub
Verified signature6d8e844 -
Upload thor_lm_1b_latest.pt with huggingface_hub
Verified signaturee9ee1c7 -
Upload telemetry.json with huggingface_hub
Verified signature742aa95 -
Upload thor_lm_1b_latest.pt with huggingface_hub
Verified signature9cc630b -
Upload telemetry.json with huggingface_hub
Verified signature679c723 -
Upload thor_lm_1b_latest.pt with huggingface_hub
Verified signature407d6d2 -
Upload telemetry.json with huggingface_hub
Verified signature1aab5ec -
Upload thor_lm_1b_latest.pt with huggingface_hub
Verified signatureb66a903
-
Upload telemetry.json with huggingface_hub
Verified signaturec9124fb -
Upload thor_lm_1b_latest.pt with huggingface_hub
Verified signature26e28c8 -
Upload telemetry.json with huggingface_hub
Verified signature2b2041e -
Upload thor_lm_1b_latest.pt with huggingface_hub
Verified signature02ed6f8 -
Upload telemetry.json with huggingface_hub
Verified signature8d9e512 -
Upload thor_lm_1b_latest.pt with huggingface_hub
Verified signature28f1e27 -
Upload telemetry.json with huggingface_hub
Verified signature9c05421 -
Upload thor_lm_1b_latest.pt with huggingface_hub
Verified signature9bca29e -
Upload telemetry.json with huggingface_hub
Verified signaturee4b6f57 -
Upload thor_lm_1b_latest.pt with huggingface_hub
Verified signature3c2443f -
Upload telemetry.json with huggingface_hub
Verified signature4dd6ec0 -
Upload thor_lm_1b_latest.pt with huggingface_hub
Verified signature87e1d87 -
Upload telemetry.json with huggingface_hub
Verified signature84255e3 -
Upload thor_lm_1b_latest.pt with huggingface_hub
Verified signature8dcad7e -
Upload telemetry.json with huggingface_hub
Verified signature95713c8 -
Upload thor_lm_1b_latest.pt with huggingface_hub
Verified signaturee3cc5c9 -
Upload telemetry.json with huggingface_hub
Verified signature8eec692 -
Upload thor_lm_1b_latest.pt with huggingface_hub
Verified signature5d61b9e