Instructions to use Group209/Sentiment_Analysis with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Group209/Sentiment_Analysis with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Group209/Sentiment_Analysis")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Group209/Sentiment_Analysis", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
035ffa1
1
Parent(s): e54225d
Update Sentiment_analysis_with_bert.py
Browse files
Sentiment_analysis_with_bert.py
CHANGED
|
@@ -28,7 +28,7 @@ bert_model = BertModel.from_pretrained('bert-base-uncased')
|
|
| 28 |
|
| 29 |
bert_model.save_pretrained('C:/Users/Marie-Ange/Downloads')
|
| 30 |
|
| 31 |
-
from transformers import
|
| 32 |
pipe = pipeline(model="Group209/Sentiment_Analysis")
|
| 33 |
pipe("Sentiment_analysis_with_bert.py")
|
| 34 |
|
|
|
|
| 28 |
|
| 29 |
bert_model.save_pretrained('C:/Users/Marie-Ange/Downloads')
|
| 30 |
|
| 31 |
+
from transformers import Pipeline
|
| 32 |
pipe = pipeline(model="Group209/Sentiment_Analysis")
|
| 33 |
pipe("Sentiment_analysis_with_bert.py")
|
| 34 |
|