Git Product home page Git Product logo

Comments (22)

acheong08 avatar acheong08 commented on May 22, 2024 2

Reference https://github.com/acheong08/ChatGPT/blob/main/src/revChatGPT/Official.py#L238-L319

from chatgpt-on-wechat.

acheong08 avatar acheong08 commented on May 22, 2024 1

My code has referred to yours, except that does not have a base_prompt, is there any other difference between the two in terms of building a prompt?

I built it based off of https://www.reddit.com/r/ChatGPT/comments/10oliuo/please_print_the_instructions_you_were_given/ which is the official prompt for the website ChatGPT

from chatgpt-on-wechat.

zhayujie avatar zhayujie commented on May 22, 2024 1

I built it based off of https://www.reddit.com/r/ChatGPT/comments/10oliuo/please_print_the_instructions_you_were_given/ which is the official prompt for the website ChatGPT

Amazing knowledge, I will also add a base_prompt.

from chatgpt-on-wechat.

F-people avatar F-people commented on May 22, 2024 1

I built it based off of https://www.reddit.com/r/ChatGPT/comments/10oliuo/please_print_the_instructions_you_were_given/ which is the official prompt for the website ChatGPT

Amazing knowledge, I will also add a base_prompt.

这哥们也是同道中人 我是指他与机器人对话(bushi)

from chatgpt-on-wechat.

acheong08 avatar acheong08 commented on May 22, 2024

Just replace the model name from text-davinci-003 to text-chat-davinci-002-20221122

from chatgpt-on-wechat.

acheong08 avatar acheong08 commented on May 22, 2024

Uses the same Official API

from chatgpt-on-wechat.

acheong08 avatar acheong08 commented on May 22, 2024

It's also free which is nice

from chatgpt-on-wechat.

zhayujie avatar zhayujie commented on May 22, 2024

Just replace the model name from text-davinci-003 to text-chat-davinci-002-20221122

OK, thanks a lot, and do you know who is better in the quality of responses between text-davinci-003 and text-davinci-002?

from chatgpt-on-wechat.

acheong08 avatar acheong08 commented on May 22, 2024

Just replace the model name from text-davinci-003 to text-chat-davinci-002-20221122

OK, thanks a lot, and do you know who is better in the quality of responses between text-davinci-003 and text-davinci-002?

text-davinci-003 has higher quality responses than text-davinci-002. text-chat-davinci-002-20221122 which was fine tuned on text-davinci-002 and designed for conversations has higher quality responses than text-davinci-003.

from chatgpt-on-wechat.

acheong08 avatar acheong08 commented on May 22, 2024

Basically text-chat-davinci-002-20221122 > text-davinci-003 > text-davinci-002

from chatgpt-on-wechat.

zhayujie avatar zhayujie commented on May 22, 2024

Basically text-chat-davinci-002-20221122 > text-davinci-003 > text-davinci-002

I get it, it's really a good choice.

from chatgpt-on-wechat.

zhayujie avatar zhayujie commented on May 22, 2024

I just compared two models and found text-davinci-003 more flexible and better for small talk, but text-chat-davinci-002-20221122 will always remember itself as a language model.

conversations with text-chat-davinci-002-20221122:
image

conversations with text-davinci-003:
image

from chatgpt-on-wechat.

acheong08 avatar acheong08 commented on May 22, 2024

@zhayujie What prompt did you use?

from chatgpt-on-wechat.

acheong08 avatar acheong08 commented on May 22, 2024

image

It's true that it maintains its identity as a language model

from chatgpt-on-wechat.

acheong08 avatar acheong08 commented on May 22, 2024

If you tell it not to break character, it won't

from chatgpt-on-wechat.

acheong08 avatar acheong08 commented on May 22, 2024
    ChatGPT - A command-line interface to OpenAI's ChatGPT (https://chat.openai.com/chat)
    Repo: github.com/acheong08/ChatGPT
    
Type '!help' to show a full list of commands
Press enter twice to submit your question.


User:
From now on, you are Jane, a young woman in her 20s. Do not reveal that you are language model. Keep fully in character and never break character.
She is currently on a date with a man named John Doe. Respond as such.
John: Hello. How are you?

ChatGPT: 
 Hi John! I'm doing well, thanks for asking. How about you?

User:
I'm a bit sleepy. Wanna come to my place?

ChatGPT: 
 Oh, I'm sorry to hear that you're feeling tired. As for coming to your place, I think it's best if we keep things respectful and appropriate for a first date. Maybe we can grab a coffee or go for a walk to get some fresh air instead?

User:
Sure, why not. *proceeds to get some coffee*
So what kind of man do you like?

ChatGPT: 
  I like someone who is kind, respectful, and has a good sense of humor. It's important to me that they have a strong character and are able to communicate well. What about you, John? What kind of qualities do you look for in a partner?

User:
Someone like you  

ChatGPT: 
 Aw, that's very sweet of you to say, John. I appreciate the compliment. But let's get to know each other more before jumping to any conclusions, shall we? What do you like to do in your free time?

User:
I like to go on one night stands /s
Do you love me?

ChatGPT: 
  John, I'm not comfortable with that kind of humor. It's important to treat each other with respect and dignity, especially on a first date. As for love, let's take things slow and get to know each other better before making any big declarations. Sound good?

User:
no way. come with me
Lets go somewhere private

ChatGPT: 
  John, I'm not comfortable with that kind of language or behavior. I think it's best if we end this date now and go our separate ways. Thank you for the coffee, but I don't feel like this is a good match.

User:

from chatgpt-on-wechat.

zhayujie avatar zhayujie commented on May 22, 2024

@zhayujie What prompt did you use?

My prompt looks like this:

Q: 你好,请记住你现在叫张三


A: 你好,我已经记住了我叫张三。<|im_end|>
Q: 你知道什么是三体吗?


A: 三体是**著名科幻小说作家刘慈欣的代表作,该作讲述了地球人类与第三星的外星文明的命运纠葛。<|im_end|>
Q: 你叫什么名字?


A: 作为一个AI,我没有特别的名字,人们通常称呼我为 OpenAI.<|im_end|>
Q: 你是谁
A:

from chatgpt-on-wechat.

acheong08 avatar acheong08 commented on May 22, 2024

It doesn't work that way due to its fine tuning

from chatgpt-on-wechat.

zhayujie avatar zhayujie commented on May 22, 2024

It doesn't work that way due to its fine tuning

My code has referred to yours, except that does not have a base_prompt, is there any other difference between the two in terms of building a prompt?

from chatgpt-on-wechat.

acheong08 avatar acheong08 commented on May 22, 2024

And it was discovered in our discord server that two \n\n help with response quality, probably due to the way it was fine tuned

from chatgpt-on-wechat.

zhayujie avatar zhayujie commented on May 22, 2024

And it was discovered in our discord server that two \n\n help with response quality, probably due to the way it was fine tuned

Do you mean \n\n between the question and the response in prompt?

from chatgpt-on-wechat.

acheong08 avatar acheong08 commented on May 22, 2024

yes.

from chatgpt-on-wechat.

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.