Build, train and deploy state of the art models powered by the reference open source in machine learning.
Go to siteThe Hugging Face API provides access to a vast range of machine learning models, primarily for natural language processing (NLP) tasks like text classification, translation, summarization, and question answering. It lets you leverage pre-trained models and fine-tune them on your data. Using the API within Pipedream, you can automate workflows that involve language processing, integrate AI insights into your apps, or respond to events with AI-generated content.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
hugging_face: {
type: "app",
app: "hugging_face",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://huggingface.co/api/whoami-v2`,
headers: {
Authorization: `Bearer ${this.hugging_face.$auth.access_token}`,
},
})
},
})
Automated Content Summarization: Ingest articles or long-form content from a webhook or RSS feed, use the Hugging Face API to summarize the content, and post the summaries to a Slack channel or a CMS.
Language Translation Bot: Create a workflow that listens for messages in a specific Slack channel, uses the Hugging Face API to translate the messages into a different language, and posts the translation back into the channel or forwards it to an international team.
Customer Feedback Analysis: Analyze customer feedback submitted via a form or helpdesk tool using the Hugging Face API's sentiment analysis model. Classify the feedback as positive, neutral, or negative, and log the results in a Google Sheet for easy tracking and visualization.
Want to have a nice know-it-all bot that can answer any question?. This action allows you to ask a question and get an answer from a trained model. See the docs.
This task reads some image input and outputs the likelihood of classes. This action allows you to classify images into categories. See the docs.
This task is well known to translate text from one language to another. See the docs.
This task reads some image input and outputs the likelihood of classes and bounding boxes of detected objects. See the docs.
Usually used for sentiment-analysis this will output the likelihood of classes of an input. This action allows you to classify text into categories. See the docs.
Hugging Face uses API keys for authentication. When you connect your Hugging Face account, Pipedream securely stores the keys so you can easily authenticate to Hugging Face APIs in both code and no-code steps.
To retrieve your Access Tokens,