Run this model with HF Jobs
Run sjh11/AstroSpecLM 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 to fine-tune https://huggingface.co/sjh11/AstroSpecLM. 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/sjh11/AstroSpecLM 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.
Instructions to use sjh11/AstroSpecLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use sjh11/AstroSpecLM with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Clarify local SpecMAE path setup
Browse filesFiles changed (2)
- README.md+8-5
- model_config.yaml+1-2
43 unmodified lines444546474849505152535455563 unmodified lines6061626343 unmodified lines- validation loss: 0.8958333147- LoRA rank / alpha: 16 / 32Use this checkpoint with the AstroSpecLM source release and pass this repositorydirectory as `--adapter-dir`. Use `model_config.yaml` as the inference config.```bashpython3 scripts/chat.py \--config /path/to/AstroSpecLM/model_config.yaml \--adapter-dir /path/to/AstroSpecLM \--spectrum-npy /path/to/demo_flux.npy```3 unmodified linespipeline. Its generated descriptions and inferred physical properties requireindependent validation before scientific use. Training datasets and the Qwenbase model are governed by their respective licenses.43 unmodified lines44454647484950515253545556575859603 unmodified lines64656643 unmodified lines- validation loss: 0.8958333147- LoRA rank / alpha: 16 / 32Use this checkpoint with the AstroSpecLM source release and pass the downloadedmodel directory as `--adapter-dir`. After downloading, replace`/absolute/path/to/AstroSpecLM` in `model_config.yaml` with the absolute localpath of the downloaded model directory.```bashhf download sjh11/AstroSpecLM --local-dir /absolute/path/to/AstroSpecLMpython3 scripts/chat.py \--config /absolute/path/to/AstroSpecLM/model_config.yaml \--adapter-dir /absolute/path/to/AstroSpecLM \--spectrum-npy /path/to/demo_flux.npy```3 unmodified linespipeline. Its generated descriptions and inferred physical properties requireindependent validation before scientific use. Training datasets and the Qwenbase model are governed by their respective licenses.
1 unmodified line234567834 unmodified lines434445461 unmodified linemodel_name_or_path: Qwen/Qwen3-4Blocal_files_only: falsespec_encoder:checkpoint_path: spec_encoder/model.safetensorsspec_len: 7781patch: 20stride: 1034 unmodified linestraining:mixed_precision: bf16torch_dtype: bf161 unmodified line234567834 unmodified lines4344451 unmodified linemodel_name_or_path: Qwen/Qwen3-4Blocal_files_only: falsespec_encoder:checkpoint_path: /absolute/path/to/AstroSpecLM/spec_encoder/model.safetensorsspec_len: 7781patch: 20stride: 1034 unmodified linestraining:mixed_precision: bf16torch_dtype: bf16
README.md+8-5
model_config.yaml+1-2