Instructions to use mrtineu/thinkingcap-test-submission with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mrtineu/thinkingcap-test-submission with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="mrtineu/thinkingcap-test-submission") 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("mrtineu/thinkingcap-test-submission") model = AutoModelForCausalLM.from_pretrained("mrtineu/thinkingcap-test-submission", 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 mrtineu/thinkingcap-test-submission with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "mrtineu/thinkingcap-test-submission" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "mrtineu/thinkingcap-test-submission", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/mrtineu/thinkingcap-test-submission
- SGLang
How to use mrtineu/thinkingcap-test-submission 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 "mrtineu/thinkingcap-test-submission" \ --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": "mrtineu/thinkingcap-test-submission", "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 "mrtineu/thinkingcap-test-submission" \ --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": "mrtineu/thinkingcap-test-submission", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use mrtineu/thinkingcap-test-submission with Docker Model Runner:
docker model run hf.co/mrtineu/thinkingcap-test-submission
Download code/pilot/manifest.json from mrtineu/thinkingcap-test-submission: direct link, hf CLI and curl.
- Browser
- Download file 3.86 kB
-
https://huggingface.co/mrtineu/thinkingcap-test-submission/resolve/main/code/pilot/manifest.json
- Command line
-
hf download hf://mrtineu/thinkingcap-test-submission/code/pilot/manifest.json
-
curl -L -o manifest.json https://huggingface.co/mrtineu/thinkingcap-test-submission/resolve/main/code/pilot/manifest.json
3.86 kB
| { | |
| "models": { | |
| "student": { | |
| "repo": "Qwen/Qwen3-0.6B", | |
| "revision": "c1899de289a04d12100db370d81485cdf75e47ca" | |
| }, | |
| "teacher": { | |
| "repo": "Qwen/Qwen3-8B-GGUF", | |
| "revision": "7c41481f57cb95916b40956ab2f0b139b296d974", | |
| "filename": "Qwen3-8B-Q4_K_M.gguf" | |
| } | |
| }, | |
| "datasets": { | |
| "train": { | |
| "url": "https://raw.githubusercontent.com/openai/grade-school-math/3101c7d5072418e28b9008a6636bde82a006892c/grade_school_math/data/train.jsonl", | |
| "sha256": "17f347dc51477c50d4efb83959dbb7c56297aba886e5544ee2aaed3024813465" | |
| }, | |
| "test": { | |
| "url": "https://raw.githubusercontent.com/openai/grade-school-math/3101c7d5072418e28b9008a6636bde82a006892c/grade_school_math/data/test.jsonl", | |
| "sha256": "3730d312f6e3440559ace48831e51066acaca737f6eabec99bccb9e4b3c39d14" | |
| }, | |
| "skywork_easy": { | |
| "repo": "Skywork/Skywork-OR1-RL-Data", | |
| "config": "default", | |
| "revision": "1cdedc52e0e2db85fdf252f9be682e63a5a38c33", | |
| "splits": { | |
| "math": { | |
| "file": "data/skywork_easy_math.jsonl", | |
| "sha256": "4714dbc731721f27e24e1def1dc728633ef0b4bbe9eab14c1f8cbd292c168e67", | |
| "rows": 105055, | |
| "sources": [ | |
| { | |
| "filename": "data/math-00000-of-00001.parquet", | |
| "sha256": "bf2dd0affae1bb03d2ec312412d81c87841d78a51058d57d9c6db615bac53ea1" | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| "commonsense_qa": { | |
| "repo": "tau/commonsense_qa", | |
| "config": "default", | |
| "revision": "94630fe30dad47192a8546eb75f094926d47e155", | |
| "splits": { | |
| "train": { | |
| "file": "data/commonsense_qa_train.jsonl", | |
| "sha256": "82751584277cacfa2dcc75a16a10fe00f6bfa1fbedfea5e043783cb1587fccc5", | |
| "rows": 9741, | |
| "sources": [ | |
| { | |
| "filename": "data/train-00000-of-00001.parquet", | |
| "sha256": "b0449767ed986bfc2ca52b1244a46ef12f732756727f3cb0a4ab69ac8b3d282b" | |
| } | |
| ] | |
| }, | |
| "validation": { | |
| "file": "data/commonsense_qa_validation.jsonl", | |
| "sha256": "4c036e81eec3cb86477bc1b97c21c56aa17d92ab9f8537c855dc0cf724b05fe0", | |
| "rows": 1221, | |
| "sources": [ | |
| { | |
| "filename": "data/validation-00000-of-00001.parquet", | |
| "sha256": "bdbd9bf9cc4d2349b24901038b2ab2f58e10e4e507ad2fd425dca55cd3cb6660" | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| "arc_easy": { | |
| "repo": "allenai/ai2_arc", | |
| "config": "ARC-Easy", | |
| "revision": "210d026faf9955653af8916fad021475a3f00453", | |
| "splits": { | |
| "train": { | |
| "file": "data/arc_easy_train.jsonl", | |
| "sha256": "d45ca96845bdc82b7797708f88d538f1e9035d296954218c0574ae6e6ed96f02", | |
| "rows": 2251, | |
| "sources": [ | |
| { | |
| "filename": "ARC-Easy/train-00000-of-00001.parquet", | |
| "sha256": "b315db8a4be597dc7daa50a4e70d48dd7c990c32085629e6ccd8c926beaa80b5" | |
| } | |
| ] | |
| }, | |
| "validation": { | |
| "file": "data/arc_easy_validation.jsonl", | |
| "sha256": "1591d2431c45b1712f9c9e7032bd2dfcba863a5eec748c88b2ec11cf7c7da6c5", | |
| "rows": 570, | |
| "sources": [ | |
| { | |
| "filename": "ARC-Easy/validation-00000-of-00001.parquet", | |
| "sha256": "ed890ff1e4cef7a7140d3a30dcea3ed2c9d467c6458f447ad9ef0176d8dcbb74" | |
| } | |
| ] | |
| }, | |
| "test": { | |
| "file": "data/arc_easy_test.jsonl", | |
| "sha256": "874354cf372667530bd6cbd2d78dca2d657c5e2e746f53cf01d1e9d3a90cbc3d", | |
| "rows": 2376, | |
| "sources": [ | |
| { | |
| "filename": "ARC-Easy/test-00000-of-00001.parquet", | |
| "sha256": "4160597d618ae851c7eb04e281574f3f654776216ac6b6641588d64527b47177" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| } | |
| } | |