corehu

OPEN MODELS / Text classification

Run albert-base-v2-CoLA on a cloud GPU

albert-base-v2-CoLA is an open model by textattack (category: Text classification). See how much GPU memory it needs, which GPUs it fits on today and what it costs to run it yourself, billed per second.

Parameters
—
GPU memory needed
≈ 2 GB
License
—
Downloads
3,315
Updated Jul 6, 2020
Library
Transformers

GPUs it fits on today

Our estimate is about 2 GB for inference: its largest set of weight files is 0.05 GB, plus working memory. Real use depends on resolution, batch size and context length.

GPUMemoryPer hour10 hours
Quadro P20005 GB$0.07$0.70Rent
GTX 10708 GB$0.13$1.30Rent
GTX 16504 GB$0.13$1.30Rent
GTX 1660 S6 GB$0.13$1.30Rent
RTX 206012 GB$0.13$1.30Rent

Live starting prices from our catalog. You pay per second while the machine runs.

How to run albert-base-v2-CoLA

  1. 01

    Rent a GPU

    Pick one of the GPUs above. Billing is per second; stop the machine and you stop paying.

  2. 02

    Open a terminal or Jupyter

    Connect over SSH or open Jupyter in your browser. PyTorch and CUDA are ready to use.

  3. 03

    Download and run the model

    Run the commands below. The weights download straight from Hugging Face to your machine.

pip install -U transformers accelerate
python -c "from transformers import pipeline; p = pipeline('text-classification', model='textattack/albert-base-v2-CoLA', device=0); print(p)"

Why run it yourself?

Label large text collections in batches on a GPU, with no per-request fees and no data leaving your machine.

Questions

What is albert-base-v2-CoLA?
albert-base-v2-CoLA is an open model by textattack (category: Text classification).
How much GPU memory does albert-base-v2-CoLA need?
By our estimate about 2 GB for inference. Higher resolution, longer context or bigger batches need more.
How much does it cost to run albert-base-v2-CoLA?
From $0.07 per hour on Quadro P2000, billed per second. Ten hours cost about $0.70.
Do I need a subscription?
No. You pay only for the time your machine runs, from your USD balance. Stop it whenever you are done.

Try it on your own GPU in minutes

Pick a GPU, open Jupyter or SSH and run any open model. You pay per second and can stop anytime; no subscription, no setup fee.

  • Per-second billing in USD
  • PyTorch and CUDA ready in minutes
  • Rent from ChatGPT or Claude too

Similar Text classification models

More from textattack