aiplanethub / beyondllm

Build, evaluate and observe LLM apps
https://beyondllm.aiplanet.com/
Apache License 2.0
263 stars 40 forks source link

Perplexity llm #83

Open adityasingh-0803 opened 3 weeks ago

adityasingh-0803 commented 3 weeks ago

code initializes the GPT-2 model and tokenizer, sets up the device for processing (GPU if available), encodes an input prompt ("Hi."), generates a text response using the model, and then decodes the output back to human-readable text for display.

adityasingh-0803 commented 3 weeks ago

@tarun-aiplanet please check now