Run this model with HF Jobs
Run OpenMOSS-Team/SciThinker-30B 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/OpenMOSS-Team/SciThinker-30B. 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/OpenMOSS-Team/SciThinker-30B 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/OpenMOSS-Team/SciThinker-30B. 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/OpenMOSS-Team/SciThinker-30B. 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 OpenMOSS-Team/SciThinker-30B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenMOSS-Team/SciThinker-30B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="OpenMOSS-Team/SciThinker-30B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("OpenMOSS-Team/SciThinker-30B") model = AutoModelForCausalLM.from_pretrained("OpenMOSS-Team/SciThinker-30B", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use OpenMOSS-Team/SciThinker-30B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "OpenMOSS-Team/SciThinker-30B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OpenMOSS-Team/SciThinker-30B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/OpenMOSS-Team/SciThinker-30B
- SGLang
How to use OpenMOSS-Team/SciThinker-30B 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 "OpenMOSS-Team/SciThinker-30B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OpenMOSS-Team/SciThinker-30B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "OpenMOSS-Team/SciThinker-30B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OpenMOSS-Team/SciThinker-30B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use OpenMOSS-Team/SciThinker-30B with Docker Model Runner:
docker model run hf.co/OpenMOSS-Team/SciThinker-30B
Add files using upload-large-folder tool
Browse filesFiles changed (12)
- model-00001-of-00013.safetensors+1-1
- model-00003-of-00013.safetensors+1-1
- model-00004-of-00013.safetensors+1-1
- model-00005-of-00013.safetensors+1-1
- model-00006-of-00013.safetensors+1-1
- model-00007-of-00013.safetensors+1-1
- model-00008-of-00013.safetensors+1-1
- model-00009-of-00013.safetensors+1-1
- model-00010-of-00013.safetensors+1-1
- model-00011-of-00013.safetensors+1-1
- model-00012-of-00013.safetensors+1-1
- model-00013-of-00013.safetensors+1-1
123version https://git-lfs.github.com/spec/v1oid sha256:63a5abea57b315d89be89d5e5d3d062573b04bb602e40c6915bbff45e794576esize 4997189144123version https://git-lfs.github.com/spec/v1oid sha256:8d5798a288d24712ca6ee0bbacbcb9b6363cdea0dfd7fae183f26833ff5f5c8dsize 4997189144
123version https://git-lfs.github.com/spec/v1oid sha256:a0c60297a61384ad6e631e8ade33d3d64041fc2faaaceaa0d80f0f5ef966830fsize 4997742176123version https://git-lfs.github.com/spec/v1oid sha256:eb1b987d4188f36ca4af331af062d2fa430af8511c87064dcd81f096bc4031ebsize 4997742176
123version https://git-lfs.github.com/spec/v1oid sha256:131d608bf0d2f37549b1fe72fec7536e84ddebbfef128f07e5a2a1e7333d2967size 4997743160123version https://git-lfs.github.com/spec/v1oid sha256:3c13c7d43aea5204cf963be068731e3702502e884b4e549898705837b0686d4dsize 4997743160
123version https://git-lfs.github.com/spec/v1oid sha256:9a5d887f1302f02a98f8fb76f64177b028b2206389275480b5a49db6685e5e96size 4997743160123version https://git-lfs.github.com/spec/v1oid sha256:539002cd2cfeb939e4160f4b94cce21a1a33142b84bc4dfeed9a8053129f026fsize 4997743160
123version https://git-lfs.github.com/spec/v1oid sha256:2e7528cfbb78134c6453db30197f3d5a685ef084b2a0744fea772eda7c865947size 4997743160123version https://git-lfs.github.com/spec/v1oid sha256:b18df50b9c8c282c68db5ad029ee8ebd4cc35551059f2e5a87f6a3b3ffe99df6size 4997743160
123version https://git-lfs.github.com/spec/v1oid sha256:54e2dd2a98549923187bae49887f23b08ebccfd48a5c59d2546175a7568fc013size 4997743160123version https://git-lfs.github.com/spec/v1oid sha256:2960d373c69406d51c21c41eb89e505ae6dbaecae5bceb1a98a52b09eb1e15d3size 4997743160
123version https://git-lfs.github.com/spec/v1oid sha256:506824d963eaff520205cadbd08eb2bcb56f2e98c6c7d3d9cf49624744bf13f5size 4997743160123version https://git-lfs.github.com/spec/v1oid sha256:eea978a48a1b49145e4742daf6122bc39b96bc4c3e3083fc59a72a7812b3a347size 4997743160
123version https://git-lfs.github.com/spec/v1oid sha256:9a892b45771a709b2bd4734a88caa8485d3c1fcd365698f003a778b3bfcb51f6size 4997743160123version https://git-lfs.github.com/spec/v1oid sha256:90df44fd16ccde1bd8a83b94599078f6dcaf5aa7ae95999c1387b3fb9a2cf662size 4997743160
123version https://git-lfs.github.com/spec/v1oid sha256:fc65129cd575b4cacaea32a170f9394cee4bdcf1208a5478b7a781f59a55ef08size 4997743160123version https://git-lfs.github.com/spec/v1oid sha256:45d81dad91b9400e85b27aa99cdec8bef2d996da3d146513d922ee367cf858e6size 4997743160
123version https://git-lfs.github.com/spec/v1oid sha256:ffe8bc8a25a22441da7180974a05e48dd8f6d10313a1ecda166cae03c21ebe31size 4997743160123version https://git-lfs.github.com/spec/v1oid sha256:4408a1144b501095bf089dff751a778ed57027cac5540d9ca2032729f5989f93size 4997743160
123version https://git-lfs.github.com/spec/v1oid sha256:05983336e269a2020e69b5d0d07c18844cabdca459f33f0d711124cf9186ab11size 4997743160123version https://git-lfs.github.com/spec/v1oid sha256:c8011b83a25288df4565d76db62d511e57e87562e8b27ca0b69035dda465d539size 4997743160
123version https://git-lfs.github.com/spec/v1oid sha256:b70fb8baa244a47ed5bdccf84e53408ccc707d940bc07deb4399fe7eb4e90e74size 1094216064123version https://git-lfs.github.com/spec/v1oid sha256:7c450a8ab3be2b6f6afa41a0ffbe99d765b233072484edb2a99223ec4d96c74esize 1094216064
model-00001-of-00013.safetensors+1-1
model-00003-of-00013.safetensors+1-1
model-00004-of-00013.safetensors+1-1
model-00005-of-00013.safetensors+1-1
model-00006-of-00013.safetensors+1-1
model-00007-of-00013.safetensors+1-1
model-00008-of-00013.safetensors+1-1
model-00009-of-00013.safetensors+1-1
model-00010-of-00013.safetensors+1-1
model-00011-of-00013.safetensors+1-1
model-00012-of-00013.safetensors+1-1
model-00013-of-00013.safetensors+1-1