{
  "source_file": "0930",
  "source_platform": "Dev.to",
  "author": "Julien Simon",
  "title_listed": "Migrating from OpenAI models to Hugging Face models",
  "keywords": "",
  "domain": "大模型算法",
  "content_type": "深度技术解析",
  "is_paid_flag": "否",
  "url": "https://dev.to/juliensimon/migrating-from-openai-models-to-hugging-face-models-5586",
  "publish_date": "2024-05-16",
  "corpus_stage": "",
  "notes": "",
  "id": "0fc7529f0d03",
  "collected_at": "2026-10-02T14:01:00",
  "title": "Migrating from OpenAI models to Hugging Face models - DEV Community",
  "body_markdown": "In this video, I show how you can easily migrate your applications from OpenAI models to Hugging Face open-source models.\nFirst, we deploy a Llama3 8B model on an Inference Endpoint hosted on Google Cloud, and we invoke it with the OpenAI client library.\nThen, we deploy a Zephyr 7B model on Amazon SageMaker and invoke the endpoint with the OpenAI Messages API.\nIt couldn’t be simpler to enjoy the many benefits of open-source models, without having to rewrite your app :)",
  "metadata": {
    "title": "Migrating from OpenAI models to Hugging Face models - DEV Community",
    "description": "In this video, I show how you can easily migrate your applications from OpenAI models to Hugging Face... Tagged with huggingface, mlops, transformers, openai.",
    "keywords": "huggingface, mlops, transformers, openai, software, coding, development, engineering, inclusive, community",
    "author": null,
    "og:type": "article",
    "og:url": "https://dev.to/juliensimon/migrating-from-openai-models-to-hugging-face-models-5586",
    "og:title": "Migrating from OpenAI models to Hugging Face models",
    "og:description": "In this video, I show how you can easily migrate your applications from OpenAI models to Hugging Face...",
    "og:site_name": "DEV Community",
    "og:image": "https://media2.dev.to/dynamic/image/width=1000,height=500,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmqiy714t4ew1hnn12oh7.png",
    "twitter:site": "@thepracticaldev",
    "twitter:creator": "@julsimon",
    "twitter:title": "Migrating from OpenAI models to Hugging Face models",
    "twitter:description": "In this video, I show how you can easily migrate your applications from OpenAI models to Hugging Face...",
    "twitter:card": "summary_large_image",
    "twitter:widgets:new-embed-design": "on",
    "twitter:image:src": "https://media2.dev.to/dynamic/image/width=1000,height=500,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmqiy714t4ew1hnn12oh7.png"
  },
  "paywall": {
    "listed_paid": false,
    "detected": false,
    "marker": "",
    "public_only": false,
    "policy": "付费/会员内容只保留页面公开可见部分，不绕过付费墙"
  },
  "crawl": {
    "success": true,
    "status_code": 200,
    "error": ""
  },
  "code_blocks": [],
  "images": [
    {
      "status": "http_404",
      "url": "https://res.cloudinary.com/practicaldev/image/fetch/s--hTZOoaaL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn-images-1.medium.com/max/1024/1%2ACZmhLKXEazsjJdIvxZ0K5Q.png",
      "src": "https://res.cloudinary.com/practicaldev/image/fetch/s--hTZOoaaL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn-images-1.medium.com/max/1024/1%2ACZmhLKXEazsjJdIvxZ0K5Q.png",
      "alt": "",
      "downloaded": false,
      "retried_at": "2026-10-20T17:40:54Z"
    }
  ],
  "audio": [],
  "videos": [
    {
      "url": "https://www.youtube.com/watch?v=dYD1HugbBGY",
      "src": "https://www.youtube.com/embed/dYD1HugbBGY",
      "status": "ok",
      "kind": "single_video",
      "local_path": "attachments/0fc7529f0d03/videos/repair-dYD1HugbBGY.mp4",
      "bytes": 46651356,
      "valid": true,
      "height": 1080,
      "width": 1920,
      "duration": "848.641000",
      "reused": false
    }
  ],
  "links": [
    {
      "href": "https://res.cloudinary.com/practicaldev/image/fetch/s--hTZOoaaL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn-images-1.medium.com/max/1024/1%2ACZmhLKXEazsjJdIvxZ0K5Q.png",
      "label": "",
      "type": "a"
    },
    {
      "href": "https://www.youtube.com/embed/dYD1HugbBGY",
      "label": "",
      "type": "iframe"
    }
  ],
  "repair_version": 2,
  "repaired_at": "2026-10-14T10:49:05Z",
  "source_url": "https://dev.to/juliensimon/migrating-from-openai-models-to-hugging-face-models-5586",
  "papers": [],
  "actual_video_files": [],
  "body_chars": 473,
  "expected_body_images": 1,
  "discovery_status": "ok",
  "delivery_status": "partial",
  "missing_reason": "http_404",
  "raw_html": "attachments/0fc7529f0d03/pages/source.html",
  "local_html": "attachments/0fc7529f0d03/pages/article.html",
  "body_base_path": "attachments/0fc7529f0d03/pages/",
  "body_markdown_path": "attachments/0fc7529f0d03/pages/article.md"
}