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/thinkingcap/results/evals/force-First/compare.json from mrtineu/thinkingcap-test-submission: direct link, hf CLI and curl.
- Browser
- Download file 9.4 kB
-
https://huggingface.co/mrtineu/thinkingcap-test-submission/resolve/main/code/thinkingcap/results/evals/force-First/compare.json
- Command line
-
hf download hf://mrtineu/thinkingcap-test-submission/code/thinkingcap/results/evals/force-First/compare.json
-
curl -L -o compare.json https://huggingface.co/mrtineu/thinkingcap-test-submission/resolve/main/code/thinkingcap/results/evals/force-First/compare.json
9.4 kB
| { | |
| "base": { | |
| "run": "/__modal/volumes/vo-s6N1Zsy0Lws7G9SGplI0zQ/evals/base", | |
| "model": "Qwen/Qwen3-0.6B", | |
| "adapter": null | |
| }, | |
| "candidate": { | |
| "run": "/__modal/volumes/vo-s6N1Zsy0Lws7G9SGplI0zQ/evals/force-First", | |
| "model": "Qwen/Qwen3-0.6B", | |
| "adapter": null | |
| }, | |
| "benchmarks": [ | |
| "bfcl", | |
| "ifeval", | |
| "mbpp", | |
| "svamp" | |
| ], | |
| "cohort_sha256": "16df64e67336b8a1cfa49298cd27e0e1f265927d12ad97f064f3968414d55a86", | |
| "samples": 8, | |
| "seed": 9001, | |
| "results": { | |
| "bfcl_irrelevance": { | |
| "paired_rows": 1920, | |
| "samples": 8, | |
| "base": { | |
| "n": 1920, | |
| "prompts": 240, | |
| "ungraded": 0, | |
| "accuracy": 0.8296875, | |
| "truncation_rate": 0.0005208333333333333, | |
| "parse_failure_rate": 0.0005208333333333333, | |
| "mean_output_tokens": 215.71770833333332, | |
| "mean_reasoning_tokens": 188.97760416666668, | |
| "total_output_tokens": 414178 | |
| }, | |
| "candidate": { | |
| "n": 1920, | |
| "prompts": 240, | |
| "ungraded": 0, | |
| "accuracy": 0.828125, | |
| "truncation_rate": 0.0, | |
| "parse_failure_rate": 0.0, | |
| "mean_output_tokens": 173.47239583333334, | |
| "mean_reasoning_tokens": 149.2671875, | |
| "total_output_tokens": 333067 | |
| }, | |
| "accuracy_delta": -0.0015625000000000222, | |
| "token_reduction": 0.1958360897971404, | |
| "intervals": { | |
| "method": "paired_prompt_cluster_percentile", | |
| "resamples": 2000, | |
| "seed": 42, | |
| "prompts": 240, | |
| "accuracy_delta": [ | |
| -0.01875, | |
| 0.015104166666666667 | |
| ], | |
| "token_reduction": [ | |
| 0.14993931833746202, | |
| 0.23992400728248825 | |
| ] | |
| }, | |
| "floor": { | |
| "prompts": 240, | |
| "between_variance": 0.008854400154413227, | |
| "within_variance": 0.0771577380952381, | |
| "half_width_pp": 1.1905017085454954 | |
| } | |
| }, | |
| "bfcl_multiple": { | |
| "paired_rows": 1600, | |
| "samples": 8, | |
| "base": { | |
| "n": 1600, | |
| "prompts": 200, | |
| "ungraded": 0, | |
| "accuracy": 0.766875, | |
| "truncation_rate": 0.0, | |
| "parse_failure_rate": 0.04625, | |
| "mean_output_tokens": 224.26125, | |
| "mean_reasoning_tokens": 200.641875, | |
| "total_output_tokens": 358818 | |
| }, | |
| "candidate": { | |
| "n": 1600, | |
| "prompts": 200, | |
| "ungraded": 0, | |
| "accuracy": 0.759375, | |
| "truncation_rate": 0.0, | |
| "parse_failure_rate": 0.034375, | |
| "mean_output_tokens": 180.9975, | |
| "mean_reasoning_tokens": 157.37, | |
| "total_output_tokens": 289596 | |
| }, | |
| "accuracy_delta": -0.007499999999999951, | |
| "token_reduction": 0.192916743307192, | |
| "intervals": { | |
| "method": "paired_prompt_cluster_percentile", | |
| "resamples": 2000, | |
| "seed": 42, | |
| "prompts": 200, | |
| "accuracy_delta": [ | |
| -0.030625, | |
| 0.01625 | |
| ], | |
| "token_reduction": [ | |
| 0.15722356816904906, | |
| 0.22889786902666745 | |
| ] | |
| }, | |
| "floor": { | |
| "prompts": 200, | |
| "between_variance": 0.009017296302943283, | |
| "within_variance": 0.1598214285714286, | |
| "half_width_pp": 1.3160707708437815 | |
| } | |
| }, | |
| "bfcl_simple_python": { | |
| "paired_rows": 3200, | |
| "samples": 8, | |
| "base": { | |
| "n": 3200, | |
| "prompts": 400, | |
| "ungraded": 0, | |
| "accuracy": 0.8209375, | |
| "truncation_rate": 0.0, | |
| "parse_failure_rate": 0.0296875, | |
| "mean_output_tokens": 194.3503125, | |
| "mean_reasoning_tokens": 170.0925, | |
| "total_output_tokens": 621921 | |
| }, | |
| "candidate": { | |
| "n": 3200, | |
| "prompts": 400, | |
| "ungraded": 0, | |
| "accuracy": 0.8125, | |
| "truncation_rate": 0.0, | |
| "parse_failure_rate": 0.0296875, | |
| "mean_output_tokens": 155.4778125, | |
| "mean_reasoning_tokens": 131.159375, | |
| "total_output_tokens": 497529 | |
| }, | |
| "accuracy_delta": -0.008437499999999987, | |
| "token_reduction": 0.20001254178585381, | |
| "intervals": { | |
| "method": "paired_prompt_cluster_percentile", | |
| "resamples": 2000, | |
| "seed": 42, | |
| "prompts": 400, | |
| "accuracy_delta": [ | |
| -0.023125, | |
| 0.0053125 | |
| ], | |
| "token_reduction": [ | |
| 0.17142976660546283, | |
| 0.22840581018677325 | |
| ] | |
| }, | |
| "floor": { | |
| "prompts": 400, | |
| "between_variance": 0.007751213972431078, | |
| "within_variance": 0.11254464285714284, | |
| "half_width_pp": 0.8628015935962803 | |
| } | |
| }, | |
| "ifeval": { | |
| "paired_rows": 4328, | |
| "samples": 8, | |
| "base": { | |
| "n": 4328, | |
| "prompts": 541, | |
| "ungraded": 0, | |
| "accuracy": 0.5808687615526802, | |
| "truncation_rate": 0.0355822550831793, | |
| "parse_failure_rate": 0.0, | |
| "mean_output_tokens": 690.7167282809612, | |
| "mean_reasoning_tokens": 430.7227356746765, | |
| "total_output_tokens": 2989422 | |
| }, | |
| "candidate": { | |
| "n": 4328, | |
| "prompts": 541, | |
| "ungraded": 0, | |
| "accuracy": 0.5732439926062847, | |
| "truncation_rate": 0.04251386321626617, | |
| "parse_failure_rate": 0.0, | |
| "mean_output_tokens": 628.6263863216266, | |
| "mean_reasoning_tokens": 354.7513863216266, | |
| "total_output_tokens": 2720695 | |
| }, | |
| "accuracy_delta": -0.0076247689463955215, | |
| "token_reduction": 0.08989262807325293, | |
| "intervals": { | |
| "method": "paired_prompt_cluster_percentile", | |
| "resamples": 2000, | |
| "seed": 42, | |
| "prompts": 541, | |
| "accuracy_delta": [ | |
| -0.024260628465804065, | |
| 0.008086876155268022 | |
| ], | |
| "token_reduction": [ | |
| 0.04656657706293248, | |
| 0.13244226287243147 | |
| ] | |
| }, | |
| "floor": { | |
| "prompts": 541, | |
| "between_variance": 0.012486628842335864, | |
| "within_variance": 0.19385397412199631, | |
| "half_width_pp": 0.9416294658887313 | |
| } | |
| }, | |
| "mbpp": { | |
| "paired_rows": 3024, | |
| "samples": 8, | |
| "base": { | |
| "n": 3024, | |
| "prompts": 378, | |
| "ungraded": 0, | |
| "accuracy": 0.5191798941798942, | |
| "truncation_rate": 0.0787037037037037, | |
| "parse_failure_rate": 0.07903439153439154, | |
| "mean_output_tokens": 2112.42791005291, | |
| "mean_reasoning_tokens": 2065.8660714285716, | |
| "total_output_tokens": 6387982 | |
| }, | |
| "candidate": { | |
| "n": 3024, | |
| "prompts": 378, | |
| "ungraded": 0, | |
| "accuracy": 0.5029761904761905, | |
| "truncation_rate": 0.046957671957671955, | |
| "parse_failure_rate": 0.046957671957671955, | |
| "mean_output_tokens": 1666.7863756613756, | |
| "mean_reasoning_tokens": 1617.2579365079366, | |
| "total_output_tokens": 5040362 | |
| }, | |
| "accuracy_delta": -0.01620370370370372, | |
| "token_reduction": 0.21096177165182994, | |
| "intervals": { | |
| "method": "paired_prompt_cluster_percentile", | |
| "resamples": 2000, | |
| "seed": 42, | |
| "prompts": 378, | |
| "accuracy_delta": [ | |
| -0.032407407407407406, | |
| 0.000992063492063492 | |
| ], | |
| "token_reduction": [ | |
| 0.17670833069257666, | |
| 0.24647072962046712 | |
| ] | |
| }, | |
| "floor": { | |
| "prompts": 378, | |
| "between_variance": 0.0074657884079066365, | |
| "within_variance": 0.16794217687074828, | |
| "half_width_pp": 0.8710598778435003 | |
| } | |
| }, | |
| "svamp": { | |
| "paired_rows": 8000, | |
| "samples": 8, | |
| "base": { | |
| "n": 8000, | |
| "prompts": 1000, | |
| "ungraded": 0, | |
| "accuracy": 0.89225, | |
| "truncation_rate": 0.017, | |
| "parse_failure_rate": 0.0105, | |
| "mean_output_tokens": 690.814, | |
| "mean_reasoning_tokens": 681.3695, | |
| "total_output_tokens": 5526512 | |
| }, | |
| "candidate": { | |
| "n": 8000, | |
| "prompts": 1000, | |
| "ungraded": 0, | |
| "accuracy": 0.81275, | |
| "truncation_rate": 0.00225, | |
| "parse_failure_rate": 0.022875, | |
| "mean_output_tokens": 301.760625, | |
| "mean_reasoning_tokens": 289.223125, | |
| "total_output_tokens": 2414085 | |
| }, | |
| "accuracy_delta": -0.07950000000000002, | |
| "token_reduction": 0.5631810805803009, | |
| "intervals": { | |
| "method": "paired_prompt_cluster_percentile", | |
| "resamples": 2000, | |
| "seed": 42, | |
| "prompts": 1000, | |
| "accuracy_delta": [ | |
| -0.09125, | |
| -0.06849687500000003 | |
| ], | |
| "token_reduction": [ | |
| 0.5455063289515217, | |
| 0.5790247012009243 | |
| ] | |
| }, | |
| "floor": { | |
| "prompts": 1000, | |
| "between_variance": 0.017429594773344777, | |
| "within_variance": 0.14503571428571427, | |
| "half_width_pp": 0.8182758170768661 | |
| } | |
| } | |
| }, | |
| "ungraded_benchmarks": {}, | |
| "average": { | |
| "benchmarks": [ | |
| "bfcl", | |
| "ifeval", | |
| "mbpp", | |
| "svamp" | |
| ], | |
| "token_reduction": 0.2915502452988582, | |
| "accuracy_delta": -0.02739461816252481, | |
| "intervals": { | |
| "method": "macro_paired_prompt_cluster_percentile", | |
| "resamples": 2000, | |
| "seed": 42, | |
| "groups": 4, | |
| "accuracy_delta": [ | |
| -0.03464595712733132, | |
| -0.02050915125086798 | |
| ], | |
| "token_reduction": [ | |
| 0.2775187040841752, | |
| 0.3056199485405345 | |
| ] | |
| } | |
| }, | |
| "full_evaluation": { | |
| "base": [], | |
| "candidate": [] | |
| } | |
| } | |