class_docstr: Implements some "models" that just generate silly things quickly just to debug the infrastructure.
class_docstr_tok: ["Implements","some","``","models","''","that","just","generate","silly","things","quickly","just","to","debug","the","infrastructure","."]
docstr: Example: 7 2 4 6
  Completions (num_completions = 3):
  - 6
  - 4
  - 2
docstr_tok: ["Example",":","7","2","4","6","Completions","(","num_completions","=","3",")",":","-","6","-","4","-","2"]
code: def invoke_model1(self, raw_request: Dict) -> Dict:
      """
      Example: 7 2 4 6
      Completions (num_completions = 3):
      - 6
      - 4
      - 2
      """
      prompt_tokens: List[str] = SimpleClient.tokenize_by_space(
          raw_request["prompt"]
      )
      choices = reversed(prompt_tokens[-raw_request["n"] :])
      response = {
          "completions": dict(
              (text, -i) for i, text in enumerate(choices)
          )
      }
      return response
  
file_path: H2O/h2o_hf/helm/src/helm/proxy/clients/simple_client.py
imports: from typing import List, Dict
  from helm.common.cache import Cache, CacheConfig
  from helm.common.request import Request, RequestResult, Sequence, Token
  from helm.common.tokenization_request import DecodeRequest, DecodeRequestResult, TokenizationRequest, TokenizationRequestResult, TokenizationToken
  from .client import Client, wrap_request_time
label_desc: Use image node_id 6 for calling the SimpleClient obj's underlying member method code with example usage: obj.invoke_model1(raw_request) and returns: response