Text Generation
Transformers
TensorBoard
Safetensors
qwen3
Generated from Trainer
trl
sft
conversational
text-generation-inference
Run this model with HF Jobs
Run shulijia/MNLP_M3_mcqa_model_base_cot 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/shulijia/MNLP_M3_mcqa_model_base_cot. 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/shulijia/MNLP_M3_mcqa_model_base_cot 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/shulijia/MNLP_M3_mcqa_model_base_cot. 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/shulijia/MNLP_M3_mcqa_model_base_cot. 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 shulijia/MNLP_M3_mcqa_model_base_cot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shulijia/MNLP_M3_mcqa_model_base_cot with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="shulijia/MNLP_M3_mcqa_model_base_cot") 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("shulijia/MNLP_M3_mcqa_model_base_cot") model = AutoModelForCausalLM.from_pretrained("shulijia/MNLP_M3_mcqa_model_base_cot", 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 shulijia/MNLP_M3_mcqa_model_base_cot with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "shulijia/MNLP_M3_mcqa_model_base_cot" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "shulijia/MNLP_M3_mcqa_model_base_cot", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/shulijia/MNLP_M3_mcqa_model_base_cot
- SGLang
How to use shulijia/MNLP_M3_mcqa_model_base_cot 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 "shulijia/MNLP_M3_mcqa_model_base_cot" \ --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": "shulijia/MNLP_M3_mcqa_model_base_cot", "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 "shulijia/MNLP_M3_mcqa_model_base_cot" \ --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": "shulijia/MNLP_M3_mcqa_model_base_cot", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use shulijia/MNLP_M3_mcqa_model_base_cot with Docker Model Runner:
docker model run hf.co/shulijia/MNLP_M3_mcqa_model_base_cot
Training in progress, step 2000, checkpoint
Browse filesFiles changed (4)
123version https://git-lfs.github.com/spec/v1oid sha256:0abec5e022cc5cb7a5bf19479febf09bd93acf4edd3284ca9a924a60bb13e8easize 2384234968123version https://git-lfs.github.com/spec/v1oid sha256:e48ab0dca52e04d9317af5dbe6fd437c9f3f6d6cf66808ff9ec18742f457b823size 2384234968
123version https://git-lfs.github.com/spec/v1oid sha256:fdd3c8434e680f09ad634ca1a94e8ec920883578d73dbd36f51b523e2f5a8a80size 4768663315123version https://git-lfs.github.com/spec/v1oid sha256:ae68502ed18fd8207cf11ffd6637ed0fdfe33a8f5527cb4e37f423da9ae646f8size 4768663315
123version https://git-lfs.github.com/spec/v1oid sha256:508d164df8b8fec5d28671f2446c8cd2d9f283649eaa08ad83808de06592d3e0size 1465123version https://git-lfs.github.com/spec/v1oid sha256:04dcb26d7d7be395a06c5beb342e07c869db7810072fdb5a0497928c1548dccesize 1465
1 unmodified line23456789101347 unmodified lines13581359136013611362136313 unmodified lines13771378137913801381138213831 unmodified line"best_global_step": null,"best_metric": null,"best_model_checkpoint": null,"epoch": 0.4248238751017807,"eval_steps": 100,"global_step": 1500,"is_hyper_param_search": false,"is_local_process_zero": true,"is_world_process_zero": true,1347 unmodified lines"mean_token_accuracy": 0.7461350295692682,"num_tokens": 12288000.0,"step": 1500}],"logging_steps": 10,13 unmodified lines"attributes": {}}},"total_flos": 3.2474784595968e+16,"train_batch_size": 2,"trial_name": null,"trial_params": null1 unmodified line23456789101347 unmodified lines13581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181313 unmodified lines18271828182918301831183218331 unmodified line"best_global_step": null,"best_metric": null,"best_model_checkpoint": null,"epoch": 0.5664318334690409,"eval_steps": 100,"global_step": 2000,"is_hyper_param_search": false,"is_local_process_zero": true,"is_world_process_zero": true,1347 unmodified lines"mean_token_accuracy": 0.7461350295692682,"num_tokens": 12288000.0,"step": 1500},{"epoch": 0.4276560342691259,"grad_norm": 1.3665423393249512,"learning_rate": 9.529004510647227e-06,"loss": 0.1868,"mean_token_accuracy": 0.7508561633527279,"num_tokens": 12369920.0,"step": 1510},{"epoch": 0.43048819343647116,"grad_norm": 1.5005970001220703,"learning_rate": 9.51851463337879e-06,"loss": 0.1679,"mean_token_accuracy": 0.7619006883352994,"num_tokens": 12451840.0,"step": 1520},{"epoch": 0.43332035260381635,"grad_norm": 1.434239387512207,"learning_rate": 9.508024756110354e-06,"loss": 0.1736,"mean_token_accuracy": 0.7496942266821861,"num_tokens": 12533760.0,"step": 1530},{"epoch": 0.43615251177116154,"grad_norm": 1.8729488849639893,"learning_rate": 9.49753487884192e-06,"loss": 0.1912,"mean_token_accuracy": 0.7433586075901986,"num_tokens": 12615680.0,"step": 1540},{"epoch": 0.43898467093850674,"grad_norm": 1.6623575687408447,"learning_rate": 9.487045001573483e-06,"loss": 0.1895,"mean_token_accuracy": 0.7445327788591385,"num_tokens": 12697600.0,"step": 1550},{"epoch": 0.44181683010585193,"grad_norm": 1.6611781120300293,"learning_rate": 9.476555124305047e-06,"loss": 0.1696,"mean_token_accuracy": 0.769838546589017,"num_tokens": 12779520.0,"step": 1560},{"epoch": 0.4446489892731971,"grad_norm": 1.4206360578536987,"learning_rate": 9.46606524703661e-06,"loss": 0.158,"mean_token_accuracy": 0.7799290582537651,"num_tokens": 12861440.0,"step": 1570},{"epoch": 0.4474811484405424,"grad_norm": 1.3145809173583984,"learning_rate": 9.455575369768174e-06,"loss": 0.1728,"mean_token_accuracy": 0.7565435416996479,"num_tokens": 12943360.0,"step": 1580},{"epoch": 0.45031330760788757,"grad_norm": 1.5584267377853394,"learning_rate": 9.445085492499737e-06,"loss": 0.1624,"mean_token_accuracy": 0.7784858159720898,"num_tokens": 13025280.0,"step": 1590},{"epoch": 0.45314546677523276,"grad_norm": 1.6326663494110107,"learning_rate": 9.434595615231303e-06,"loss": 0.1881,"mean_token_accuracy": 0.7289505872875452,"num_tokens": 13107200.0,"step": 1600},{"epoch": 0.45597762594257796,"grad_norm": 1.6709638833999634,"learning_rate": 9.424105737962866e-06,"loss": 0.2019,"mean_token_accuracy": 0.7344545021653175,"num_tokens": 13189120.0,"step": 1610},{"epoch": 0.45880978510992315,"grad_norm": 1.4046727418899536,"learning_rate": 9.41361586069443e-06,"loss": 0.1831,"mean_token_accuracy": 0.7332558706402779,"num_tokens": 13271040.0,"step": 1620},{"epoch": 0.4616419442772684,"grad_norm": 1.172830581665039,"learning_rate": 9.403125983425995e-06,"loss": 0.1723,"mean_token_accuracy": 0.7792196672409772,"num_tokens": 13352960.0,"step": 1630},{"epoch": 0.4644741034446136,"grad_norm": 1.5077433586120605,"learning_rate": 9.392636106157559e-06,"loss": 0.1579,"mean_token_accuracy": 0.7679672226309776,"num_tokens": 13434880.0,"step": 1640},{"epoch": 0.4673062626119588,"grad_norm": 1.376905083656311,"learning_rate": 9.382146228889123e-06,"loss": 0.154,"mean_token_accuracy": 0.7797822885215282,"num_tokens": 13516800.0,"step": 1650},{"epoch": 0.470138421779304,"grad_norm": 1.7126880884170532,"learning_rate": 9.371656351620686e-06,"loss": 0.1697,"mean_token_accuracy": 0.7503669280558825,"num_tokens": 13598720.0,"step": 1660},{"epoch": 0.4729705809466492,"grad_norm": 1.1549543142318726,"learning_rate": 9.361166474352252e-06,"loss": 0.1773,"mean_token_accuracy": 0.7700954005122185,"num_tokens": 13680640.0,"step": 1670},{"epoch": 0.4758027401139944,"grad_norm": 1.4870892763137817,"learning_rate": 9.350676597083815e-06,"loss": 0.1794,"mean_token_accuracy": 0.7565680038183927,"num_tokens": 13762560.0,"step": 1680},{"epoch": 0.4786348992813396,"grad_norm": 1.429553508758545,"learning_rate": 9.340186719815379e-06,"loss": 0.1899,"mean_token_accuracy": 0.7497431498020888,"num_tokens": 13844480.0,"step": 1690},{"epoch": 0.4814670584486848,"grad_norm": 1.374057650566101,"learning_rate": 9.329696842546943e-06,"loss": 0.1791,"mean_token_accuracy": 0.743480920419097,"num_tokens": 13926400.0,"step": 1700},{"epoch": 0.48429921761603,"grad_norm": 1.4187721014022827,"learning_rate": 9.319206965278506e-06,"loss": 0.1637,"mean_token_accuracy": 0.7638943243771792,"num_tokens": 14008320.0,"step": 1710},{"epoch": 0.4871313767833752,"grad_norm": 1.6536214351654053,"learning_rate": 9.30871708801007e-06,"loss": 0.181,"mean_token_accuracy": 0.7542074382305145,"num_tokens": 14090240.0,"step": 1720},{"epoch": 0.48996353595072045,"grad_norm": 1.1387007236480713,"learning_rate": 9.298227210741635e-06,"loss": 0.1571,"mean_token_accuracy": 0.7923801340162754,"num_tokens": 14172160.0,"step": 1730},{"epoch": 0.49279569511806565,"grad_norm": 1.2004634141921997,"learning_rate": 9.287737333473199e-06,"loss": 0.174,"mean_token_accuracy": 0.7598581194877625,"num_tokens": 14254080.0,"step": 1740},{"epoch": 0.49562785428541084,"grad_norm": 1.7080684900283813,"learning_rate": 9.277247456204763e-06,"loss": 0.1857,"mean_token_accuracy": 0.7612524475902319,"num_tokens": 14336000.0,"step": 1750},{"epoch": 0.49846001345275603,"grad_norm": 1.2792556285858154,"learning_rate": 9.266757578936328e-06,"loss": 0.1782,"mean_token_accuracy": 0.7547089047729969,"num_tokens": 14417920.0,"step": 1760},{"epoch": 0.5012921726201013,"grad_norm": 1.3763514757156372,"learning_rate": 9.256267701667892e-06,"loss": 0.1776,"mean_token_accuracy": 0.7574853233993053,"num_tokens": 14499840.0,"step": 1770},{"epoch": 0.5041243317874464,"grad_norm": 1.4386488199234009,"learning_rate": 9.245777824399455e-06,"loss": 0.1826,"mean_token_accuracy": 0.7463307186961174,"num_tokens": 14581760.0,"step": 1780},{"epoch": 0.5069564909547917,"grad_norm": 1.232284665107727,"learning_rate": 9.235287947131019e-06,"loss": 0.1689,"mean_token_accuracy": 0.7607509799301624,"num_tokens": 14663680.0,"step": 1790},{"epoch": 0.5097886501221368,"grad_norm": 1.2922643423080444,"learning_rate": 9.224798069862584e-06,"loss": 0.1596,"mean_token_accuracy": 0.7610078312456607,"num_tokens": 14745600.0,"step": 1800},{"epoch": 0.5126208092894821,"grad_norm": 1.464067816734314,"learning_rate": 9.214308192594146e-06,"loss": 0.1602,"mean_token_accuracy": 0.7783512733876705,"num_tokens": 14827520.0,"step": 1810},{"epoch": 0.5154529684568273,"grad_norm": 1.3232061862945557,"learning_rate": 9.203818315325712e-06,"loss": 0.2053,"mean_token_accuracy": 0.7439090043306351,"num_tokens": 14909440.0,"step": 1820},{"epoch": 0.5182851276241724,"grad_norm": 1.03334641456604,"learning_rate": 9.193328438057275e-06,"loss": 0.1668,"mean_token_accuracy": 0.7713429540395736,"num_tokens": 14991360.0,"step": 1830},{"epoch": 0.5211172867915177,"grad_norm": 1.3097628355026245,"learning_rate": 9.182838560788839e-06,"loss": 0.1718,"mean_token_accuracy": 0.7638209369033575,"num_tokens": 15073280.0,"step": 1840},{"epoch": 0.5239494459588628,"grad_norm": 1.0242208242416382,"learning_rate": 9.172348683520403e-06,"loss": 0.1659,"mean_token_accuracy": 0.769740704447031,"num_tokens": 15155200.0,"step": 1850},{"epoch": 0.5267816051262081,"grad_norm": 1.0100687742233276,"learning_rate": 9.161858806251968e-06,"loss": 0.162,"mean_token_accuracy": 0.7591364931315183,"num_tokens": 15237120.0,"step": 1860},{"epoch": 0.5296137642935533,"grad_norm": 1.5963248014450073,"learning_rate": 9.151368928983532e-06,"loss": 0.1601,"mean_token_accuracy": 0.7817270051687956,"num_tokens": 15319040.0,"step": 1870},{"epoch": 0.5324459234608985,"grad_norm": 1.2102185487747192,"learning_rate": 9.140879051715095e-06,"loss": 0.1942,"mean_token_accuracy": 0.7444716237485409,"num_tokens": 15400960.0,"step": 1880},{"epoch": 0.5352780826282437,"grad_norm": 1.4839965105056763,"learning_rate": 9.13038917444666e-06,"loss": 0.1713,"mean_token_accuracy": 0.7551247533410788,"num_tokens": 15482880.0,"step": 1890},{"epoch": 0.5381102417955889,"grad_norm": 1.0946964025497437,"learning_rate": 9.119899297178224e-06,"loss": 0.1774,"mean_token_accuracy": 0.7500733818858862,"num_tokens": 15564800.0,"step": 1900},{"epoch": 0.5409424009629341,"grad_norm": 1.4754222631454468,"learning_rate": 9.109409419909788e-06,"loss": 0.1912,"mean_token_accuracy": 0.7326932437717915,"num_tokens": 15646720.0,"step": 1910},{"epoch": 0.5437745601302794,"grad_norm": 1.741654396057129,"learning_rate": 9.098919542641352e-06,"loss": 0.1881,"mean_token_accuracy": 0.7564579259604216,"num_tokens": 15728640.0,"step": 1920},{"epoch": 0.5466067192976245,"grad_norm": 1.2974053621292114,"learning_rate": 9.088429665372915e-06,"loss": 0.1829,"mean_token_accuracy": 0.7555528402328491,"num_tokens": 15810560.0,"step": 1930},{"epoch": 0.5494388784649697,"grad_norm": 1.1609007120132446,"learning_rate": 9.077939788104479e-06,"loss": 0.2078,"mean_token_accuracy": 0.7468077309429646,"num_tokens": 15892480.0,"step": 1940},{"epoch": 0.5522710376323149,"grad_norm": 1.1889935731887817,"learning_rate": 9.067449910836044e-06,"loss": 0.1687,"mean_token_accuracy": 0.7571917813271284,"num_tokens": 15974400.0,"step": 1950},{"epoch": 0.5551031967996601,"grad_norm": 1.1042529344558716,"learning_rate": 9.056960033567608e-06,"loss": 0.1815,"mean_token_accuracy": 0.7431751452386379,"num_tokens": 16056320.0,"step": 1960},{"epoch": 0.5579353559670054,"grad_norm": 1.4160428047180176,"learning_rate": 9.046470156299171e-06,"loss": 0.1498,"mean_token_accuracy": 0.7774951070547104,"num_tokens": 16138240.0,"step": 1970},{"epoch": 0.5607675151343505,"grad_norm": 1.5061430931091309,"learning_rate": 9.035980279030737e-06,"loss": 0.1856,"mean_token_accuracy": 0.753571430966258,"num_tokens": 16220160.0,"step": 1980},{"epoch": 0.5635996743016958,"grad_norm": 1.5059019327163696,"learning_rate": 9.0254904017623e-06,"loss": 0.1745,"mean_token_accuracy": 0.742893836274743,"num_tokens": 16302080.0,"step": 1990},{"epoch": 0.5664318334690409,"grad_norm": 1.8156989812850952,"learning_rate": 9.015000524493864e-06,"loss": 0.1766,"mean_token_accuracy": 0.7376467682421207,"num_tokens": 16384000.0,"step": 2000}],"logging_steps": 10,13 unmodified lines"attributes": {}}},"total_flos": 4.3299712794624e+16,"train_batch_size": 2,"trial_name": null,"trial_params": null
last-checkpoint/model.safetensors+1-1
last-checkpoint/optimizer.pt+1-1
last-checkpoint/scheduler.pt+1-1
last-checkpoint/trainer_state.json+453-3