Sign inSign up

lowinli98/fastgpt-codegen

By lowinli98

•Updated over 3 years ago

Image
0

342

lowinli98/fastgpt-codegen repository overview

Home⁠

version: "2.3"
services:
  fastgpt-codegen:
    container_name: fastgpt-codegen
    image: lowinli98/fastgpt-codegen:v0.0.6
    expose:
      - 7104
    ports:
      - "7104:7104"
    environment:
      - PORT=7104
      - GUNICORN_WORKER=1
      - GUNICORN_THREADS=1
    restart: always
  • codegen-350M-mono
curl --location --request POST 'http://localhost:7104/generate_mono' \
--header 'Content-Type: application/json' \
--data-raw '{
    "inputs": "def calculdate_mean(x, y): \n",
    "parameters": {
        "do_sample": true
    }
}'
  • codegen-350M-multi
curl --location --request POST 'http://localhost:7104/generate_multi' \
--header 'Content-Type: application/json' \
--data-raw '{
    "inputs": "def calculdate_mean(x, y): \n",
    "parameters": {
        "do_sample": true
    }
}'

Tag summary

Content type

Image

Digest

sha256:26e5f2705…

Size

1.5 GB

Last updated

over 3 years ago

docker pull lowinli98/fastgpt-codegen:v0.0.8