Feature Extraction
Transformers
TensorFlow
English
roberta
code
tensorflow
LSTM
Sentiment analysis
text-embeddings-inference
Instructions to use perfectmind/sentiment_analysis_twitter_537K with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use perfectmind/sentiment_analysis_twitter_537K with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="perfectmind/sentiment_analysis_twitter_537K", device_map="auto")# Load model directly from transformers import AutoTokenizer, TF_AutoModel tokenizer = AutoTokenizer.from_pretrained("perfectmind/sentiment_analysis_twitter_537K") model = TF_AutoModel.from_pretrained("perfectmind/sentiment_analysis_twitter_537K", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
"_name_or_path": "Deep_Learning_Twitter_Sentiment_Analysis_Model",
|
| 3 |
"activation": "sigmoid",
|
| 4 |
"architectures": [
|
| 5 |
-
"
|
| 6 |
],
|
| 7 |
"dim": 128,
|
| 8 |
"label2id": {
|
|
|
|
| 2 |
"_name_or_path": "Deep_Learning_Twitter_Sentiment_Analysis_Model",
|
| 3 |
"activation": "sigmoid",
|
| 4 |
"architectures": [
|
| 5 |
+
"TFBertModel"
|
| 6 |
],
|
| 7 |
"dim": 128,
|
| 8 |
"label2id": {
|