Giter Club home page Giter Club logo

Comments (1)

dosubot avatar dosubot commented on June 15, 2024 2

To address the issue of receiving garbled text as output after importing a fine-tuned model, consider the following steps:

  1. Verify Model Path Configuration: Double-check that the MODEL_PATH for chatglm3-6b is correctly set. Incorrect paths or misplaced model files can lead to loading issues.

  2. PEFT File Path in startup.py: Ensure the PEFT file path you've added is correct and the file is accessible. Mistakes here could interfere with model performance.

  3. PEFT_SHARE_BASE_WEIGHTS Compatibility: Confirm that setting PEFT_SHARE_BASE_WEIGHTS to true is compatible with the chatglm3-6b model. This setting indicates shared base weights, which not all models support seamlessly.

  4. conv_template Configuration: The setting of conv_template to None might be affecting input processing. Verify this setting does not conflict with the chatglm3-6b model's requirements.

  5. Model Compatibility: Ensure the chatglm3-6b model is compatible with your configuration, including any customizations in startup.py and adapter_config.json.

  6. Device Configuration: Check the device configuration (e.g., cuda, cpu) to ensure it's suitable for the chatglm3-6b model. Incompatibilities here can degrade output quality.

  7. Inspect Error Logs: Review application logs for any errors or warnings that might hint at the problem's root cause.

  8. Test with Default Configuration: Try reverting to a default configuration that previously worked, then incrementally apply your changes to isolate the issue.

For further guidance, you might want to consult the documentation or support resources for the models and libraries you're using.

Details

Sources


About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

To continue the conversation, mention @dosu.

from langchain-chatchat.

Related Issues (20)

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.