Instructions to use daspartho/subreddit-predictor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use daspartho/subreddit-predictor with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="daspartho/subreddit-predictor")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("daspartho/subreddit-predictor") model = AutoModelForSequenceClassification.from_pretrained("daspartho/subreddit-predictor") - Notebooks
- Google Colab
- Kaggle
Librarian Bot: Update dataset YAML metadata for model
#1
by librarian-bot - opened
README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
---
|
| 2 |
language: en
|
| 3 |
license: apache-2.0
|
|
|
|
| 4 |
---
|
| 5 |
|
| 6 |
An NLP model that predicts subreddit based on the title of a post.
|
|
|
|
| 1 |
---
|
| 2 |
language: en
|
| 3 |
license: apache-2.0
|
| 4 |
+
datasets: daspartho/subreddit-posts
|
| 5 |
---
|
| 6 |
|
| 7 |
An NLP model that predicts subreddit based on the title of a post.
|