Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: init ai app #3143

Merged
merged 1 commit into from
Jun 19, 2023
Merged

feat: init ai app #3143

merged 1 commit into from
Jun 19, 2023

Conversation

bigint
Copy link
Member

@bigint bigint commented Jun 19, 2023

What does this PR do?

🤖 Generated by Copilot at 6776982

This pull request adds a new AI service to the packages/ai directory, which uses HuggingFace models to perform topic tagging on texts. The service consists of a Flask app, a Dockerfile, a model downloader, and a README file. The pull request also updates the .gitignore file to ignore the models/ directory.

Related issues

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Enhancement (non-breaking small changes to existing functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Explanation of the changes

🤖 Generated by Copilot at 6776982

  • Build and run a Docker image for the AI application that uses a GPU-supported CUDA runtime and exposes port 8000 (link)
  • Download and save the models from HuggingFace to the models/ directory, which is ignored by git (link, link)
  • Implement a Flask app that initializes the model, provides a health check, and predicts topics and scores for a given text using the tagger endpoint (link)
  • Document the AI service functionality, models, endpoints, and setup instructions in the README.md file (link)
  • Specify the Python dependencies for the AI application in the requirements.txt file (link)

Emoji

🤖🐳🏷️

@vercel
Copy link

vercel bot commented Jun 19, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
prerender 🔄 Building (Inspect) Jun 19, 2023 3:56pm
web 🔄 Building (Inspect) Jun 19, 2023 3:56pm

@bigint bigint merged commit 6fbea72 into main Jun 19, 2023
3 of 4 checks passed
@bigint bigint deleted the ai branch June 19, 2023 15:56
@vercel vercel bot temporarily deployed to Preview – prerender June 19, 2023 15:58 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant