Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy this TheBloke/vicuna-13B-v1.5-GGUF model on AWS #4603

Open
ahsan3219 opened this issue Mar 27, 2024 · 0 comments
Open

Deploy this TheBloke/vicuna-13B-v1.5-GGUF model on AWS #4603

ahsan3219 opened this issue Mar 27, 2024 · 0 comments

Comments

@ahsan3219
Copy link

Deploy this TheBloke/vicuna-13B-v1.5-GGUF model on AWS

I want to use this model as an endpoint in my web application in this format:
image

Chatbot Requirements

  1. Scope: Chatbot (Encoder/Decoder for Text Inference or Conversational)

  2. Input via API (JSON): Chatgpt Style – The template can be see below

    The JSON will contain 25 user messages, and the response should be the system response.
    Please use this guidelines to understand API consumption: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_runtime_InvokeEndpoint.html

  3. Prompt Template for the system:
    a. template = '''
    You are going to be my education assistant.
    System:{System}
    Question:{question}'''

  4. LLM Model Parameters: max_new_tokens=512, temperature=0.7, top_p=0.9

  5. If possible use a AutomodelforCausalLM otherwise train a LLM model.

  6. It will be deployed on AWS Sagemaker using S3 buckets.

  7. The GGUF should be saved on a S3 Bucket.

  8. Chat Buffer should store 25 conversations and create a session ID (No need to send this to the End point).

  9. The quantized model is contained here https://huggingface.co/TheBloke/vicuna-13B-v1.5-GGUF/blob/main/vicuna-13b-v1.5.Q4_K_M.gguf

  10. Use HuggingFace/Langchain when possible.

  11. Deliverables: Jupyter notebook/Code – 2 Hours should be used to set up the model in AWS with the customer.

Provide me with complete source code that I can use in my jupyter notebook on aws to make an endpoint.
I need it asap.

@ahsan3219 ahsan3219 changed the title [Example Request] Deploy this TheBloke/vicuna-13B-v1.5-GGUF model on AWS Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant