code: def __init__(self):
      self.classifier = pipeline(
          "sentiment-analysis",
          model="distilbert-base-uncased",
          framework="pt",
          # Transformers requires you to pass device with index
          device=torch.device("cuda:0"),
      )
  
file_path: ray/doc/source/serve/doc_code/distilbert.py
imports: from fastapi import FastAPI
  import torch
  from transformers import pipeline
  from ray import serve
  from ray.serve.handle import DeploymentHandle
label_desc: Use image node_id 1 to create a new DistilBertModel object  with example: obj = DistilBertModel()