<commit_before>apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: predict-deployment
  labels:
      deployment: predict
spec:
  replicas: 3
  strategy:
    type: RollingUpdate
    rollingUpdate:
      maxSurge: 25% # default
      maxUnavailable: 25% # default
  template:
    metadata:
      labels:
        app: predict
        version: 1.0.1
    spec:
      containers:
        - name: predict
          image: gcr.io/nmiu-play/predict:1.0.1
          resources:
            requests:
              memory: "1024M"
              cpu: "500m"
            limits:
              memory: "1536M"
              cpu: "900m"
          ports:
            - containerPort: 8080
              name: predict-local
              protocol: TCP
          livenessProbe:
            httpGet:
              path: /_ah/health
              port: 8080
              scheme: HTTP
            initialDelaySeconds: 30
            timeoutSeconds: 5
            successThreshold: 1
            failureThreshold: 5
          readinessProbe:
            httpGet:
              path: /_ah/health
              port: 8080
              scheme: HTTP
            initialDelaySeconds: 3
            timeoutSeconds: 5
<commit_msg>add README.md to gke<commit_after>apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: predict-deployment
  labels:
      deployment: predict
spec:
  replicas: 3
  strategy:
    type: RollingUpdate
    rollingUpdate:
      maxSurge: 25% # default
      maxUnavailable: 25% # default
  template:
    metadata:
      labels:
        app: predict
        version: 1.0.1
    spec:
      containers:
        - name: predict
          image: gcr.io/nmiu-play/predict:1.0.1
          resources:
            requests:
              memory: 1024M
              cpu: 500m # == 0.5
            limits:
              memory: 1536M
              cpu: 1
          ports:
            - containerPort: 8080
              name: predict-local
              protocol: TCP
          livenessProbe:
            httpGet:
              path: /_ah/health
              port: 8080
              scheme: HTTP
            initialDelaySeconds: 30
            timeoutSeconds: 5
            successThreshold: 1
            failureThreshold: 5
          readinessProbe:
            httpGet:
              path: /_ah/health
              port: 8080
              scheme: HTTP
            initialDelaySeconds: 3
            timeoutSeconds: 5

{'fraction_non_alphanumeric': 0.06601066010660106, 'fraction_numerical': 0.03772037720377204, 'mean_word_length': 1.2697674418604652, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5244049', 'n_tokens_mistral': 713, 'n_tokens_neox': 651, 'n_words': 168}