hfc971 / demo-mistral-7b-instruct-v0.1

This is a demo-mistral-7b-instruct-v0.1 model starter template from Banana.dev that allows on-demand serverless GPU inference.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Banana.dev mistral-7b-instruct-v0.1 starter template

This is a mistral-7b-instruct-v0.1 starter template from Banana.dev that allows on-demand serverless GPU inference.

You can fork this repository and deploy it on Banana as is, or customize it based on your own needs.

Running this app

Deploying on Banana.dev

  1. Fork this repository to your own Github account.
  2. Connect your Github account on Banana.
  3. Create a new model on Banana from the forked Github repository.

Running after deploying

  1. Wait for the model to build after creating it.
  2. Make an API request using one of the provided snippets in your Banana dashboard. However, instead of sending a prompt as provided in the snippet, structure your request as follows:
inputs = {
    "prompt": "your_prompt",
    "max_new_tokens": "your_max_new_tokens"
}

For more info, check out the Banana.dev docs.

About

This is a demo-mistral-7b-instruct-v0.1 model starter template from Banana.dev that allows on-demand serverless GPU inference.


Languages

Language:Python 73.6%Language:Dockerfile 26.4%