Instructions to use spacesedan/sentiment-analysis-longformer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use spacesedan/sentiment-analysis-longformer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="spacesedan/sentiment-analysis-longformer")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("spacesedan/sentiment-analysis-longformer") model = AutoModelForSequenceClassification.from_pretrained("spacesedan/sentiment-analysis-longformer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files
runs/Mar19_20-59-07_r-spacesedan-longformer-sentiment-analysis-training-l-c848c-35h/events.out.tfevents.1742417949.r-spacesedan-longformer-sentiment-analysis-training-l-c848c-35h.71.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:c37d1af09f36c2fd86d242986ecc1e251e0a6684eb6ff61ffb2472f43be3379b
|
| 3 |
+
size 25961
|