Text Classification
Transformers
PyTorch
TensorBoard
Safetensors
bert
Generated from Trainer
text-embeddings-inference
Instructions to use JosephTK/NLP-reviews with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JosephTK/NLP-reviews with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="JosephTK/NLP-reviews")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("JosephTK/NLP-reviews") model = AutoModelForSequenceClassification.from_pretrained("JosephTK/NLP-reviews", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -35,6 +35,8 @@ There are 500 positive and 500 negative sentences from each website, selected ra
|
|
| 35 |
|
| 36 |
This was split into a 90-10 train-test split for model training and evaluation.
|
| 37 |
|
|
|
|
|
|
|
| 38 |
## Training procedure
|
| 39 |
|
| 40 |
### Training hyperparameters
|
|
|
|
| 35 |
|
| 36 |
This was split into a 90-10 train-test split for model training and evaluation.
|
| 37 |
|
| 38 |
+
The code used to train the model is at https://github.com/josephtkim/huggingface-sentiment-analysis.
|
| 39 |
+
|
| 40 |
## Training procedure
|
| 41 |
|
| 42 |
### Training hyperparameters
|