Giter VIP home page Giter VIP logo

Comments (3)

WangRongsheng avatar WangRongsheng commented on June 3, 2024

Yes,

  1. git clone https://github.com/WangRongsheng/MedQA-ChatGLM.git
  2. Install packages: pip install -r requirements.txt
  3. Prepare data, Please reference data format: data/self_cognition.json
  4. Add your data path: data/dataset_info.json
  5. Fine-tuning your model:
CUDA_VISIBLE_DEVICES=0 python MedQA-ChatGLM/finetune.py \
                              --do_train \
                              --dataset self_cognition \
                              --finetuning_type lora \
                              --output_dir ./fintuning-output-lora \
                              --per_device_train_batch_size 32 \
                              --gradient_accumulation_steps 256 \
                              --lr_scheduler_type cosine \
                              --logging_steps 500 \
                              --save_steps 1000 \
                              --learning_rate 5e-5 \
                              --num_train_epochs 10.0 \
                              --fp16

from medqa-chatglm.

earthxx avatar earthxx commented on June 3, 2024

yeah,but there are still some issues and I am very interested in your achievements, Can you leave me a contact information? For example, WeChat or email, etc?

from medqa-chatglm.

WangRongsheng avatar WangRongsheng commented on June 3, 2024

yes, email: [email protected]

from medqa-chatglm.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.