Human-written demonstration (OpenAssistant volunteers)· OpenAssistant (human-written)
OpenAssistant Conversations (oasst2)
How would I setup a Discord Chat bot using GPT-NeoX using a RTX 3090?
In OpenAssistant data, “assistant” turns were written by human volunteers as demonstrations. They are not model outputs.
- User
How would I setup a Discord Chat bot using GPT-NeoX using a RTX 3090?
- Assistant
You must first install the GPT-NeoX library on your computer in order to configure an RTX 3090 for use with a Discord chatbot utilizing GPT-NeoX. Run the command "pip install gpt-neox" to do this. After installing the library, you may create a Discord bot using the GPT-NeoX API. For instance, the following code may be used to build a basic Discord bot:
import discord from gpt_neox import GPTNeoX client = discord.Client() gpt = GPTNeoX(model_name='gpt-neox-large', device='cuda:0') @client.event async def on_message(message): if message.author == client.user: return response = gpt.generate(prompt=message.content) await message.channel.send(response) client.run('YOUR_DISCORD_BOT_TOKEN')Once the bot is set up, you can run the code on the RTX 3090 GPU and the bot will be ready to use.
- User
How would I install this code?
- Assistant
With Vscode
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Identical first prompt
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)