Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Huggingface

Security covered No further development 2 sites

This module provides an API to connect Drupal with Hugging Face's inference services, enabling various AI-powered content generation and analysis tasks. It supports a wide range of models for text, image, and audio processing, and offers features for fine-tuning models and integrating with services like Runpod for automated training.

Warning - anyone new to this module should be switching to the AI module instead, where Huggingface exists as a provider to the core module.

The huggingface module is a API module that features a core module can talk to the inference API of Huggingface. It will hopefully in the future have a suite of submodules or modules dependent on it.

Features

  • Use one of the following rules on any model, including private, to generate/classify content with the AI Interpolator module: text-to-image, fill-mask, summarization, question-answering, table-question-answering, sentence-similarity, text-classification, text-generation, token-classification, translation, zero-shot-classification, conversational, automatic-speech-recognition, audio-classification, image-classification, object-detection, image-segmentation.
  • Use the Image classification models together with the Augmentor AI Tags Widget.
  • Finetune Stable Diffusion modules completely inside Drupal using Dreambooth on Runpod servers and host them in your Huggingface account.

Runpod integration

I'm working on integrating Runpod on multiple models finetuning, so you can automise finetuning, but also do finetuning without needing to learn Python, server setups and more.

If you end up using the model, I would urge you to sign up with the following link: https://runpod.io?ref=i7zrhoj7. This will give me credits to do more cases of finetuning in the future.

Post-Installation

  1. Get a Huggingface token.
  2. Visit /admin/config/huggingface/settings and paste it in there and save.
  3. Create one of the field type of the rules, enable AI Interpolator and make sure you give the model namespace or a dedicated host.

Maintainers

Anyone looking to generate a Huggingface integration and want to co-maintain, please let me know.

Ask your assistant about Huggingface

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
10
Tracked since
Feb 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.0-rc1 Pre-release 9–10 Apr 23, 2024
1.0.0-beta7 Pre-release 9–10 Apr 18, 2024
1.0.0-beta6 Pre-release 9–10 Apr 18, 2024
1.0.0-beta5 Pre-release 9–10 Apr 18, 2024
1.0.0-beta4 Pre-release 9–10 Apr 18, 2024
1.0.0-beta3 Pre-release 9–10 Mar 15, 2024
1.0.0-beta2 Pre-release 9–10 Feb 26, 2024
1.0.0-beta1 Pre-release 9–10 Feb 25, 2024
1.0.0-alpha1 Pre-release 9–10 Feb 22, 2024
1.0.x-dev Dev 9–10 Feb 22, 2024