Skip to content

Commit 97f29dd

Browse files
author
Azure Pipelines
committed
publish [GPU]: lightning_examples/text-transformers
1 parent 1afc099 commit 97f29dd

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:5f2ae84c9f916ea735f7baad53c1d546dc772a817db612a520d46edf039d490c
3+
size 921294
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
title: Finetune Transformers Models with PyTorch Lightning
2+
author: Lightning.ai
3+
created: 2021-01-31
4+
license: CC BY-SA
5+
tags:
6+
- Text
7+
description: 'This notebook will use HuggingFace''s `datasets` library to get data,
8+
which will be wrapped in a `LightningDataModule`.
9+
10+
Then, we write a class to perform text classification on any dataset from the [GLUE
11+
Benchmark](https://gluebenchmark.com/).
12+
13+
(We just show CoLA and MRPC due to constraint on compute/disk)
14+
15+
'
16+
accelerator:
17+
- GPU
18+
environment:
19+
- torchmetrics==1.1.2
20+
- datasets==2.20.0
21+
- lightning==2.0.9.post0
22+
- scikit-learn==1.5.1
23+
- scipy==1.14.0
24+
- torchtext==0.18.0
25+
- transformers==4.42.4
26+
published: '2024-07-23T01:54:19.916563'

0 commit comments

Comments
 (0)