선행 학습된 프로세서 업트레이닝

인보이스 파서를 사용하면 선행 학습된 프로세서를 업트레이닝하여 정확성을 향상시킬 수 있습니다. 사전 제작된 모델로 시작한 다음 이 모델을 자체 데이터로 학습시켜 커스텀 필드를 추가합니다. 인보이스 형식은 다양하며 일반 인보이스 파서를 데이터로 업트레이닝하면 특정 형식의 정확성이 향상되고 파서가 선행 학습된 모델에서 지원하지 않는 필드를 추출할 수 있습니다. 샘플 데이터가 제공되지만 동일한 절차에 따라 자체 데이터를 사용할 수 있습니다.


Google Cloud 콘솔에서 이 태스크에 대한 단계별 안내를 직접 수행하려면 둘러보기를 클릭합니다.

둘러보기


시작하기 전에

  1. Google Cloud 계정에 로그인합니다. Google Cloud를 처음 사용하는 경우 계정을 만들고 Google 제품의 실제 성능을 평가해 보세요. 신규 고객에게는 워크로드를 실행, 테스트, 배포하는 데 사용할 수 있는 $300의 무료 크레딧이 제공됩니다.
  2. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Roles required to select or create a project

    • Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
    • Create a project: To create a project, you need the Project Creator role (roles/resourcemanager.projectCreator), which contains the resourcemanager.projects.create permission. Learn how to grant roles.

    Go to project selector

  3. If you're using an existing project for this guide, verify that you have the permissions required to complete this guide. If you created a new project, then you already have the required permissions.

  4. Verify that billing is enabled for your Google Cloud project.

  5. Enable the Document AI, Cloud Storage APIs.

    Roles required to enable APIs

    To enable APIs, you need the serviceusage.services.enable permission. If you created the project, then you likely already have this permission through the Owner role (roles/owner). Otherwise, you can get this permission through the Service Usage Admin role (roles/serviceusage.serviceUsageAdmin). Learn how to grant roles.

    Enable the APIs

  6. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Roles required to select or create a project

    • Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
    • Create a project: To create a project, you need the Project Creator role (roles/resourcemanager.projectCreator), which contains the resourcemanager.projects.create permission. Learn how to grant roles.

    Go to project selector

  7. If you're using an existing project for this guide, verify that you have the permissions required to complete this guide. If you created a new project, then you already have the required permissions.

  8. Verify that billing is enabled for your Google Cloud project.

  9. Enable the Document AI, Cloud Storage APIs.

    Roles required to enable APIs

    To enable APIs, you need the serviceusage.services.enable permission. If you created the project, then you likely already have this permission through the Owner role (roles/owner). Otherwise, you can get this permission through the Service Usage Admin role (roles/serviceusage.serviceUsageAdmin). Learn how to grant roles.

    Enable the APIs

필요한 역할

사전 학습된 프로세서를 재학습하는 데 필요한 권한을 얻으려면 관리자에게 프로젝트에 대한 다음 IAM 역할을 부여해 달라고 요청하세요.

역할 부여에 대한 자세한 내용은 프로젝트, 폴더, 조직에 대한 액세스 관리를 참조하세요.

커스텀 역할이나 다른 사전 정의된 역할을 통해 필요한 권한을 얻을 수도 있습니다.

프로세서 만들기

  1. Google Cloud 콘솔 탐색 메뉴에서 Document AI를 선택하고 프로세서 갤러리를 선택합니다.

    프로세서 갤러리

  2. 프로세서 갤러리에서 인보이스 파서검색하고 만들기를 선택합니다.

    uptrain-a-legacy-processor-1

  3. 프로세서 이름(예: invoice-parser-for-uptraining)을 입력합니다.

  4. 가장 가까운 리전을 선택합니다.

  5. 만들기를 선택합니다. 프로세서 세부정보 탭이 표시됩니다.

    uptrain-a-legacy-processor-2

데이터 세트를 위한 Cloud Storage 버킷 만들기

새 프로세서를 학습시키려면 학습 및 테스트 데이터로 데이터 세트를 만들어야 프로세서가 추출할 항목을 식별할 수 있습니다.

이 데이터 세트에는 새 Cloud Storage 버킷이 필요합니다. 문서가 저장된 버킷과 동일한 버킷을 사용하지 마세요.

  1. 프로세서의 학습 탭으로 이동합니다.

  2. 데이터 세트 위치 설정을 선택합니다. 빈 Cloud Storage 버킷 또는 폴더를 선택하거나 만들라는 메시지가 표시됩니다.

    uptrain-a-legacy-processor-3

  3. 찾아보기를 선택하여 폴더 선택을 엽니다.

  4. 새 버킷 만들기를 선택하고 안내에 따라 새 버킷을 만듭니다. Cloud Storage 버킷 만들기에 대한 자세한 내용은 Cloud Storage 버킷을 참조하세요.

    참고: 버킷은 폴더를 중첩할 수 있는 최상위 스토리지 항목입니다. 버킷을 만들고 선택하는 대신 원하는 경우 기존 버킷 내에 빈 폴더를 만들고 선택할 수도 있습니다. 시뮬레이션된 폴더를 참고하세요.

    버킷을 만들면 해당 버킷의 폴더 선택 페이지가 표시됩니다.

  5. 버킷의 폴더 선택 페이지에서 대화상자 하단의 선택을 선택합니다.

    uptrain-a-legacy-processor-4

  6. 대상 경로에 선택한 버킷 이름이 입력되어 있는지 확인합니다. 데이터 세트 만들기를 선택합니다. 데이터 세트를 만드는 데 몇 분 정도 걸릴 수 있습니다.

    uptrain-a-legacy-processor-5

  • 바로 재학습 진행: