Instructions to use leireher/GenreBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use leireher/GenreBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="leireher/GenreBERT")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("leireher/GenreBERT") model = AutoModelForSequenceClassification.from_pretrained("leireher/GenreBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 3
Browse files
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 438022445
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:42377bb801e3012dedbf630410df93e028c914ed13c0c763405190097b5c074a
|
| 3 |
size 438022445
|
runs/May14_14-37-32_578a1b5ef46c/events.out.tfevents.1684075211.578a1b5ef46c.31.0
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3aa4256430018b2847d212d0d0ee677c2e3dfca1d4666b44f063b4bd86c18e4e
|
| 3 |
+
size 7984
|