Question Answering (llama-3-405b-instruct)
POST {{baseUrl}}/ml/v1/text/generation?version=2023-05-29
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
version | string |
Request Body
{"input"=>"What is the purpose of life?", "parameters"=>{"decoding_method"=>"greedy", "max_new_tokens"=>200, "min_new_tokens"=>0, "repetition_penalty"=>1}, "model_id"=>"meta-llama/llama-3-405b-instruct", "project_id"=>"{{projectId}}", "moderations"=>{"hap"=>{"input"=>{"enabled"=>true, "threshold"=>0.5, "mask"=>{"remove_entity_value"=>true}}, "output"=>{"enabled"=>true, "threshold"=>0.5, "mask"=>{"remove_entity_value"=>true}}}}}
RESPONSES
status: OK
{"model_id":"meta-llama/llama-3-405b-instruct","model_version":"3.1.0","created_at":"2024-07-24T02:49:26.136Z","results":[{"generated_text":" What is the nature of existence? What lies beyond the veil of reality? These are the questions that have puzzled philosophers, theologians, and scientists for centuries. And while there may not be definitive answers, exploring these questions can lead to a deeper understanding of ourselves and the world around us.\nIn this book, we'll delve into the mysteries of existence, examining the latest scientific discoveries, philosophical theories, and spiritual perspectives. We'll explore the nature of consciousness, the origins of the universe, and the possibility of life beyond Earth. We'll also discuss the role of free will, the concept of time, and the human condition.\nThrough a combination of essays, interviews, and dialogues, we'll engage with some of the most profound thinkers of our time, including physicists, philosophers, and spiritual leaders. We'll challenge our assumptions, expand our knowledge, and perhaps even glimpse the unknown.\nSo, join me on this journey into the unknown, as we explore the mysteries of existence and the human experience","generated_token_count":200,"input_token_count":7,"stop_reason":"max_tokens"}],"system":{"warnings":[{"message":"This model is a Non-IBM Product governed by a third-party license that may impose use restrictions and other obligations. By using this model you agree to its terms as identified in the following URL.","id":"disclaimer_warning","more_info":"https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/fm-models.html?context=wx"}]}}