Skip to content

Instantly share code, notes, and snippets.

View tuhinsharma121's full-sized avatar
🏠
Working from home

Tuhin Sharma tuhinsharma121

🏠
Working from home
View GitHub Profile
from openai import OpenAI
openai_api_key = "EMPTY"
# openai_api_base = "http://localhost:8000/v1"
openai_api_base = "https://jarvisai-vllm.apps.int.stc.ai.dev.us-east-1.aws.paas.redhat.com/v1"
model = "mistralai/Mistral-7B-Instruct-v0.2"
prompt = "You are an expert programmer that writes simple, concise code and explanations. Write a python function to generate the nth fibonacci number."
client = OpenAI(
api_key=openai_api_key,
apiVersion: v1
kind: Pod
metadata:
name: pytorch-notebook
namespace: rh-jarvis-ai--notebook
labels:
appcode: JARVIS-001
paas.redhat.com/instance-size: p4d.24xlarge
serviceowner: rh-jarvis-ai
tenant.paas.redhat.com/tenant: rh-jarvis-ai