Overseas access: www.kdjingpai.com
Bookmark Us
Current Position:fig. beginning " AI Answers

What is the exact process of using MiniMind for domain customized training (e.g. medical quizzing)?

2025-08-28 1.4 K

Domain customization requires the completion of the following four stages of operation:

  • Data preparation phase::
    • Collect professional data and organize it intolora_medical.jsonlspecification
    • It is recommended to maintain a 512 token length to fit the model architecture
  • Parameter configuration phase::
    • modifications./model/LMConfig.pyhit the nail on the headn_layerswaiting parameter
    • alignbatch_sizeAvoid video memory overflow (3090 recommended ≤ 8)
  • Model training phase::
    • fulfillmentpython train_lora.pyInitiate field habilitation
    • increase--use_wandbParameter Monitoring Loss Curve
  • Deployment application phase::
    • utilizationserve_openai_api.pyStarting services
    • pass (a bill or inspection etc)curlCommand Test Medical Q&A Interface

Note: Specialized field training suggests basic pre-training (2-3 rounds) before fine-tuning for LoRA.

Recommended

Can't find AI tools? Try here!

Just type in the keyword Accessibility Bing SearchYou can quickly find all the AI tools on this site.

Top