GithubHelp home page GithubHelp logo

Comments (10)

datquocnguyen avatar datquocnguyen commented on June 29, 2024 1

You may want to enable trust-remote-code.

from phogpt.

datquocnguyen avatar datquocnguyen commented on June 29, 2024 1

For the model to work properly, you might need to insert/use the PROMPT template "### Câu hỏi:\n{instruction}\n\n### Trả lời:".

from phogpt.

datquocnguyen avatar datquocnguyen commented on June 29, 2024

Closed!
Following the same question from you in this thread: #4
You may want to install pytorch, transformers, and/or run the example code (on Google Colab) with GPU.

from phogpt.

hacbachvotu avatar hacbachvotu commented on June 29, 2024

Closed! Following the same question from you in this thread: #4 You might want to install torch, transformers, and/or run the example code (on Google Colab) with GPU.

I have installed all with the latest version and all other models run smoothly except this one.

from phogpt.

datquocnguyen avatar datquocnguyen commented on June 29, 2024

#4 (comment)
CUDA_VISIBLE_DEVICES=0 python testscript.py
would generate "Xin chào. Tôi có thể giúp gì cho bạn?".

from phogpt.

hacbachvotu avatar hacbachvotu commented on June 29, 2024

#4 (comment) CUDA_VISIBLE_DEVICES=0 python testscript.py would generate "Xin chào. Tôi có thể giúp gì cho bạn?".

sorry i don't know what did you say! i use oobabooga with GPU 12GB 3080ti.

from phogpt.

hacbachvotu avatar hacbachvotu commented on June 29, 2024

z4879313057704_24d48ae641cad8d14ece01ec28238d9c
z4879313559849_2d771ddddec3f1ac5cece45da7d08089
everything ok when i use another model. I don't understand why only this model of yours is having problems.

from phogpt.

hacbachvotu avatar hacbachvotu commented on June 29, 2024

You may want to enable trust-remote-code.

z4879988718785_17f448df3586dc037c171268ea8d4d3d
z4879989253645_8f641a4783fd3a083f1eb79e9bc60c3a
Thanks for you help! It's work with trust-remote-code Flag.

from phogpt.

hacbachvotu avatar hacbachvotu commented on June 29, 2024

For the model to work properly, you might need to insert/use the PROMPT template "### Câu hỏi:\n{instruction}\n\n### Trả lời:".

z4880987097593_1f879b805c32207997b9dcd094ee57d2
Let me ask one more question: is it correct to put this prompt in oobooga?

from phogpt.

AlexBlack2202 avatar AlexBlack2202 commented on June 29, 2024

Câu hỏi:\n{instruction}\n\n### Trả lời:"

For the model to work properly, you might need to insert/use the PROMPT template "### Câu hỏi:\n{instruction}\n\n### Trả lời:".

z4880987097593_1f879b805c32207997b9dcd094ee57d2 Let me ask one more question: is it correct to put this prompt in oobooga?

do you know how to correct this?, i have same question

from phogpt.

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.