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_simpleVal_cot_new 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_simpleVal_cot_new. 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_simpleVal_cot_new 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_simpleVal_cot_new. 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_simpleVal_cot_new. 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_simpleVal_cot_new with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shulijia/MNLP_M3_mcqa_model_simpleVal_cot_new with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="shulijia/MNLP_M3_mcqa_model_simpleVal_cot_new") 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_simpleVal_cot_new") model = AutoModelForCausalLM.from_pretrained("shulijia/MNLP_M3_mcqa_model_simpleVal_cot_new", 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_simpleVal_cot_new 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_simpleVal_cot_new" # 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_simpleVal_cot_new", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/shulijia/MNLP_M3_mcqa_model_simpleVal_cot_new
- SGLang
How to use shulijia/MNLP_M3_mcqa_model_simpleVal_cot_new 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_simpleVal_cot_new" \ --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_simpleVal_cot_new", "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_simpleVal_cot_new" \ --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_simpleVal_cot_new", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use shulijia/MNLP_M3_mcqa_model_simpleVal_cot_new with Docker Model Runner:
docker model run hf.co/shulijia/MNLP_M3_mcqa_model_simpleVal_cot_new
Training in progress, step 3500, checkpoint
Browse filesFiles changed (5)
123version https://git-lfs.github.com/spec/v1oid sha256:aeacb631f01c1e7c8955f0622642c358a130bae720c34fba97695ee21abfb107size 2384234968123version https://git-lfs.github.com/spec/v1oid sha256:767a84036c0ce59b98a21aa1132babadc95c6f6b549a35d98de84e36e089f390size 2384234968
123version https://git-lfs.github.com/spec/v1oid sha256:4ed6385f2d604028df91ac5b3455e736797a807497dbf3dcf0a96181cc7d5bc5size 4768663315123version https://git-lfs.github.com/spec/v1oid sha256:018973882f0074dbcadaab2d78292b33dc49bff0d0a283c658c6ccfe3311cee5size 4768663315
123version https://git-lfs.github.com/spec/v1oid sha256:2707d01f68b5aab81249be302843ec589eca328855eebe25ec0bcd1dc90e13d4size 14645123version https://git-lfs.github.com/spec/v1oid sha256:5bba62abab919d97e86e665bcc2b30cdef0058dbbf59538563dd656f3b9d42e6size 14645
123version https://git-lfs.github.com/spec/v1oid sha256:555ccc12e75cbe6f4bf091ce4317cc693f728d8c67bc38118a0344f03812d66dsize 1465123version https://git-lfs.github.com/spec/v1oid sha256:f8baa01c992c20fc7c97f3d1f40f118c7a6d881c51f5b40f9af50037418b8cf8size 1465
1 unmodified line23456789102937 unmodified lines29482949295029512952295313 unmodified lines29672968296929702971297229731 unmodified line"best_global_step": null,"best_metric": null,"best_model_checkpoint": null,"epoch": 1.0036810842466326,"eval_steps": 100,"global_step": 3000,"is_hyper_param_search": false,"is_local_process_zero": true,"is_world_process_zero": true,2937 unmodified lines"eval_samples_per_second": 30.227,"eval_steps_per_second": 1.895,"step": 3000}],"logging_steps": 10,13 unmodified lines"attributes": {}}},"total_flos": 6.493197868361318e+16,"train_batch_size": 2,"trial_name": null,"trial_params": null1 unmodified line23456789102937 unmodified lines294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344313 unmodified lines34573458345934603461346234631 unmodified line"best_global_step": null,"best_metric": null,"best_model_checkpoint": null,"epoch": 1.1710030954572075,"eval_steps": 100,"global_step": 3500,"is_hyper_param_search": false,"is_local_process_zero": true,"is_world_process_zero": true,2937 unmodified lines"eval_samples_per_second": 30.227,"eval_steps_per_second": 1.895,"step": 3000},{"epoch": 1.0070275244708442,"grad_norm": 1.383838176727295,"learning_rate": 7.3828996282527885e-06,"loss": 0.136,"mean_token_accuracy": 0.7836472602561116,"num_tokens": 24651264.0,"step": 3010},{"epoch": 1.0103739646950556,"grad_norm": 1.4334707260131836,"learning_rate": 7.370508054522925e-06,"loss": 0.1469,"mean_token_accuracy": 0.7813723087310791,"num_tokens": 24733184.0,"step": 3020},{"epoch": 1.0137204049192672,"grad_norm": 1.210340142250061,"learning_rate": 7.358116480793061e-06,"loss": 0.1527,"mean_token_accuracy": 0.7775073364377022,"num_tokens": 24815104.0,"step": 3030},{"epoch": 1.0170668451434786,"grad_norm": 1.0264968872070312,"learning_rate": 7.345724907063198e-06,"loss": 0.1324,"mean_token_accuracy": 0.7575220119208097,"num_tokens": 24897024.0,"step": 3040},{"epoch": 1.0204132853676902,"grad_norm": 1.3722461462020874,"learning_rate": 7.333333333333333e-06,"loss": 0.1569,"mean_token_accuracy": 0.7756360065191984,"num_tokens": 24978944.0,"step": 3050},{"epoch": 1.0237597255919015,"grad_norm": 1.22288978099823,"learning_rate": 7.32094175960347e-06,"loss": 0.1406,"mean_token_accuracy": 0.7872798435389996,"num_tokens": 25060864.0,"step": 3060},{"epoch": 1.0271061658161131,"grad_norm": 1.3198033571243286,"learning_rate": 7.308550185873607e-06,"loss": 0.143,"mean_token_accuracy": 0.7683341514319182,"num_tokens": 25142784.0,"step": 3070},{"epoch": 1.0304526060403245,"grad_norm": 1.1538118124008179,"learning_rate": 7.296158612143743e-06,"loss": 0.1406,"mean_token_accuracy": 0.7816169265657663,"num_tokens": 25224704.0,"step": 3080},{"epoch": 1.0337990462645361,"grad_norm": 1.3336188793182373,"learning_rate": 7.2837670384138795e-06,"loss": 0.1283,"mean_token_accuracy": 0.7805039122700691,"num_tokens": 25306624.0,"step": 3090},{"epoch": 1.0371454864887475,"grad_norm": 1.2821376323699951,"learning_rate": 7.271375464684015e-06,"loss": 0.1158,"step": 3100},{"epoch": 1.0371454864887475,"eval_loss": 0.3081361651420593,"eval_mean_token_accuracy": 0.9267426654025241,"eval_num_tokens": 25388544.0,"eval_runtime": 175.8437,"eval_samples_per_second": 30.214,"eval_steps_per_second": 1.894,"step": 3100},{"epoch": 1.040491926712959,"grad_norm": 1.307798147201538,"learning_rate": 7.258983890954152e-06,"loss": 0.1309,"mean_token_accuracy": 0.7918786700814963,"num_tokens": 25470464.0,"step": 3110},{"epoch": 1.0438383669371707,"grad_norm": 1.0807912349700928,"learning_rate": 7.246592317224288e-06,"loss": 0.1241,"mean_token_accuracy": 0.7902764156460762,"num_tokens": 25552384.0,"step": 3120},{"epoch": 1.047184807161382,"grad_norm": 1.2383373975753784,"learning_rate": 7.234200743494424e-06,"loss": 0.1157,"mean_token_accuracy": 0.797003424167633,"num_tokens": 25634304.0,"step": 3130},{"epoch": 1.0505312473855937,"grad_norm": 1.3955096006393433,"learning_rate": 7.221809169764561e-06,"loss": 0.1288,"mean_token_accuracy": 0.7768468670547009,"num_tokens": 25716224.0,"step": 3140},{"epoch": 1.053877687609805,"grad_norm": 1.2843117713928223,"learning_rate": 7.209417596034697e-06,"loss": 0.137,"mean_token_accuracy": 0.7682729922235012,"num_tokens": 25798144.0,"step": 3150},{"epoch": 1.0572241278340166,"grad_norm": 1.4491779804229736,"learning_rate": 7.197026022304834e-06,"loss": 0.1399,"mean_token_accuracy": 0.772859588637948,"num_tokens": 25880064.0,"step": 3160},{"epoch": 1.060570568058228,"grad_norm": 1.1030701398849487,"learning_rate": 7.18463444857497e-06,"loss": 0.1381,"mean_token_accuracy": 0.7912181995809078,"num_tokens": 25961984.0,"step": 3170},{"epoch": 1.0639170082824396,"grad_norm": 1.4879952669143677,"learning_rate": 7.172242874845106e-06,"loss": 0.126,"mean_token_accuracy": 0.7833537138998509,"num_tokens": 26043904.0,"step": 3180},{"epoch": 1.067263448506651,"grad_norm": 1.0088186264038086,"learning_rate": 7.159851301115242e-06,"loss": 0.1542,"mean_token_accuracy": 0.7735689818859101,"num_tokens": 26125824.0,"step": 3190},{"epoch": 1.0706098887308626,"grad_norm": 1.257189154624939,"learning_rate": 7.147459727385379e-06,"loss": 0.1272,"step": 3200},{"epoch": 1.0706098887308626,"eval_loss": 0.3064388036727905,"eval_mean_token_accuracy": 0.9270611106454432,"eval_num_tokens": 26207744.0,"eval_runtime": 175.7589,"eval_samples_per_second": 30.229,"eval_steps_per_second": 1.895,"step": 3200},{"epoch": 1.073956328955074,"grad_norm": 1.1770422458648682,"learning_rate": 7.135068153655514e-06,"loss": 0.1336,"mean_token_accuracy": 0.7810176122933626,"num_tokens": 26289664.0,"step": 3210},{"epoch": 1.0773027691792856,"grad_norm": 2.029406785964966,"learning_rate": 7.1226765799256514e-06,"loss": 0.1266,"mean_token_accuracy": 0.7924290619790554,"num_tokens": 26371584.0,"step": 3220},{"epoch": 1.080649209403497,"grad_norm": 1.4078305959701538,"learning_rate": 7.110285006195787e-06,"loss": 0.1351,"mean_token_accuracy": 0.7855308186262846,"num_tokens": 26453504.0,"step": 3230},{"epoch": 1.0839956496277086,"grad_norm": 1.3799986839294434,"learning_rate": 7.097893432465923e-06,"loss": 0.1205,"mean_token_accuracy": 0.787769079208374,"num_tokens": 26535424.0,"step": 3240},{"epoch": 1.08734208985192,"grad_norm": 1.0082813501358032,"learning_rate": 7.0855018587360605e-06,"loss": 0.1384,"mean_token_accuracy": 0.7896281782537699,"num_tokens": 26617344.0,"step": 3250},{"epoch": 1.0906885300761315,"grad_norm": 1.0047850608825684,"learning_rate": 7.073110285006196e-06,"loss": 0.1348,"mean_token_accuracy": 0.7831457924097777,"num_tokens": 26699264.0,"step": 3260},{"epoch": 1.094034970300343,"grad_norm": 0.8934224843978882,"learning_rate": 7.060718711276333e-06,"loss": 0.1515,"mean_token_accuracy": 0.7696550887078046,"num_tokens": 26781184.0,"step": 3270},{"epoch": 1.0973814105245545,"grad_norm": 1.1298261880874634,"learning_rate": 7.048327137546469e-06,"loss": 0.1386,"mean_token_accuracy": 0.793590996414423,"num_tokens": 26863104.0,"step": 3280},{"epoch": 1.1007278507487661,"grad_norm": 1.1704212427139282,"learning_rate": 7.035935563816605e-06,"loss": 0.131,"mean_token_accuracy": 0.8007950127124787,"num_tokens": 26945024.0,"step": 3290},{"epoch": 1.1040742909729775,"grad_norm": 1.6611309051513672,"learning_rate": 7.0235439900867416e-06,"loss": 0.1257,"step": 3300},{"epoch": 1.1040742909729775,"eval_loss": 0.30563732981681824,"eval_mean_token_accuracy": 0.9273593547465923,"eval_num_tokens": 27026944.0,"eval_runtime": 175.7452,"eval_samples_per_second": 30.231,"eval_steps_per_second": 1.895,"step": 3300},{"epoch": 1.107420731197189,"grad_norm": 0.9208821654319763,"learning_rate": 7.011152416356878e-06,"loss": 0.1311,"mean_token_accuracy": 0.7949486300349236,"num_tokens": 27108864.0,"step": 3310},{"epoch": 1.1107671714214005,"grad_norm": 1.5165671110153198,"learning_rate": 6.9987608426270134e-06,"loss": 0.1275,"mean_token_accuracy": 0.7862157553434372,"num_tokens": 27190784.0,"step": 3320},{"epoch": 1.114113611645612,"grad_norm": 1.175736427307129,"learning_rate": 6.986369268897151e-06,"loss": 0.1438,"mean_token_accuracy": 0.7694716222584248,"num_tokens": 27272704.0,"step": 3330},{"epoch": 1.1174600518698234,"grad_norm": 1.8465111255645752,"learning_rate": 6.973977695167287e-06,"loss": 0.1397,"mean_token_accuracy": 0.7738258332014084,"num_tokens": 27354624.0,"step": 3340},{"epoch": 1.120806492094035,"grad_norm": 1.1529620885849,"learning_rate": 6.961586121437423e-06,"loss": 0.1209,"mean_token_accuracy": 0.7989481404423714,"num_tokens": 27436544.0,"step": 3350},{"epoch": 1.1241529323182464,"grad_norm": 1.1278804540634155,"learning_rate": 6.94919454770756e-06,"loss": 0.1327,"mean_token_accuracy": 0.7762475527822972,"num_tokens": 27518464.0,"step": 3360},{"epoch": 1.127499372542458,"grad_norm": 1.4073245525360107,"learning_rate": 6.936802973977695e-06,"loss": 0.1402,"mean_token_accuracy": 0.7830724060535431,"num_tokens": 27600384.0,"step": 3370},{"epoch": 1.1308458127666694,"grad_norm": 1.2680302858352661,"learning_rate": 6.9244114002478325e-06,"loss": 0.1265,"mean_token_accuracy": 0.7920621335506439,"num_tokens": 27682304.0,"step": 3380},{"epoch": 1.134192252990881,"grad_norm": 1.308215856552124,"learning_rate": 6.912019826517968e-06,"loss": 0.1488,"mean_token_accuracy": 0.783781798928976,"num_tokens": 27764224.0,"step": 3390},{"epoch": 1.1375386932150924,"grad_norm": 1.2515288591384888,"learning_rate": 6.899628252788104e-06,"loss": 0.1244,"step": 3400},{"epoch": 1.1375386932150924,"eval_loss": 0.304523766040802,"eval_mean_token_accuracy": 0.9276998377777077,"eval_num_tokens": 27846144.0,"eval_runtime": 175.8839,"eval_samples_per_second": 30.207,"eval_steps_per_second": 1.893,"step": 3400},{"epoch": 1.140885133439304,"grad_norm": 1.2797510623931885,"learning_rate": 6.887236679058242e-06,"loss": 0.1197,"mean_token_accuracy": 0.7927042571827769,"num_tokens": 27928064.0,"step": 3410},{"epoch": 1.1442315736635154,"grad_norm": 1.1221412420272827,"learning_rate": 6.874845105328377e-06,"loss": 0.118,"mean_token_accuracy": 0.7780944246798753,"num_tokens": 28009984.0,"step": 3420},{"epoch": 1.147578013887727,"grad_norm": 1.1826258897781372,"learning_rate": 6.862453531598513e-06,"loss": 0.1353,"mean_token_accuracy": 0.7848703518509865,"num_tokens": 28091904.0,"step": 3430},{"epoch": 1.1509244541119383,"grad_norm": 1.3119713068008423,"learning_rate": 6.85006195786865e-06,"loss": 0.1481,"mean_token_accuracy": 0.7855430513620376,"num_tokens": 28173824.0,"step": 3440},{"epoch": 1.15427089433615,"grad_norm": 0.8760308027267456,"learning_rate": 6.837670384138786e-06,"loss": 0.1316,"mean_token_accuracy": 0.7845645800232888,"num_tokens": 28255744.0,"step": 3450},{"epoch": 1.1576173345603613,"grad_norm": 1.0831364393234253,"learning_rate": 6.825278810408923e-06,"loss": 0.1221,"mean_token_accuracy": 0.8042808249592781,"num_tokens": 28337664.0,"step": 3460},{"epoch": 1.160963774784573,"grad_norm": 1.0072566270828247,"learning_rate": 6.812887236679059e-06,"loss": 0.1136,"mean_token_accuracy": 0.801993640512228,"num_tokens": 28419584.0,"step": 3470},{"epoch": 1.1643102150087845,"grad_norm": 1.2094964981079102,"learning_rate": 6.8004956629491945e-06,"loss": 0.147,"mean_token_accuracy": 0.7724804311990738,"num_tokens": 28501504.0,"step": 3480},{"epoch": 1.1676566552329959,"grad_norm": 1.37205970287323,"learning_rate": 6.788104089219332e-06,"loss": 0.1474,"mean_token_accuracy": 0.7727862056344748,"num_tokens": 28583424.0,"step": 3490},{"epoch": 1.1710030954572075,"grad_norm": 1.5747532844543457,"learning_rate": 6.775712515489467e-06,"loss": 0.1569,"step": 3500},{"epoch": 1.1710030954572075,"eval_loss": 0.30338260531425476,"eval_mean_token_accuracy": 0.9278596097284609,"eval_num_tokens": 28665344.0,"eval_runtime": 175.9045,"eval_samples_per_second": 30.204,"eval_steps_per_second": 1.893,"step": 3500}],"logging_steps": 10,13 unmodified lines"attributes": {}}},"total_flos": 7.575690688226918e+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/rng_state.pth+1-1
last-checkpoint/scheduler.pt+1-1
last-checkpoint/trainer_state.json+493-3