HuggingFace Transformers

Use the Transformers library for NLP, vision, and audio on GPU.

circle-check

Renting on CLORE.AI

  1. Filter by GPU type, VRAM, and price

  2. Choose On-Demand (fixed rate) or Spot (bid price)

  3. Configure your order:

    • Select Docker image

    • Set ports (TCP for SSH, HTTP for web UIs)

    • Add environment variables if needed

    • Enter startup command

  4. Select payment: CLORE, BTC, or USDT/USDC

  5. Create order and wait for deployment

Access Your Server

  • Find connection details in My Orders

  • Web interfaces: Use the HTTP port URL

  • SSH: ssh -p <port> root@<proxy-address>

What is Transformers?

Hugging Face Transformers provides:

  • 100,000+ pretrained models

  • Easy model loading and inference

  • Fine-tuning support

  • Multi-modal capabilities

Quick Deploy

Docker Image:

Ports:

Command:

Installation

Text Generation

Basic Generation

Chat Models

Streaming

Quantization

4-bit Quantization

8-bit Quantization

Embeddings

Image Classification

Object Detection

Image Segmentation

Speech Recognition

Text-to-Speech

Fine-Tuning

Prepare Dataset

Training

Pipeline Tasks

Task
Pipeline Name

Text Generation

text-generation

Fill Mask

fill-mask

Summarization

summarization

Translation

translation

Question Answering

question-answering

Sentiment Analysis

sentiment-analysis

Image Classification

image-classification

Object Detection

object-detection

Speech Recognition

automatic-speech-recognition

Text-to-Speech

text-to-speech

Multi-GPU

Memory Optimization

Model Hub

Download Models

Upload Models

Performance Tips

Tip
Effect

Use torch_dtype=torch.float16

50% less memory

Enable Flash Attention 2

2x faster attention

Use quantization

75% less memory

Batch inference

Higher throughput

Troubleshooting

Cost Estimate

Typical CLORE.AI marketplace rates (as of 2024):

GPU
Hourly Rate
Daily Rate
4-Hour Session

RTX 3060

~$0.03

~$0.70

~$0.12

RTX 3090

~$0.06

~$1.50

~$0.25

RTX 4090

~$0.10

~$2.30

~$0.40

A100 40GB

~$0.17

~$4.00

~$0.70

A100 80GB

~$0.25

~$6.00

~$1.00

Prices vary by provider and demand. Check CLORE.AI Marketplacearrow-up-right for current rates.

Save money:

  • Use Spot market for flexible workloads (often 30-50% cheaper)

  • Pay with CLORE tokens

  • Compare prices across different providers

Next Steps

Last updated

Was this helpful?